587
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
package com.nokia.helium.sbs.ant.taskdefs;
|
|
19 |
|
628
|
20 |
import java.io.File;
|
|
21 |
import java.util.ArrayList;
|
|
22 |
import java.util.Collection;
|
|
23 |
import java.util.Hashtable;
|
587
|
24 |
import java.util.List;
|
628
|
25 |
|
|
26 |
import org.apache.log4j.Logger;
|
587
|
27 |
import org.apache.tools.ant.BuildException;
|
|
28 |
import org.apache.tools.ant.Project;
|
|
29 |
import org.apache.tools.ant.Task;
|
628
|
30 |
import org.apache.tools.ant.types.PatternSet;
|
588
|
31 |
|
|
32 |
import com.nokia.helium.core.ant.MappedVariable;
|
587
|
33 |
import com.nokia.helium.core.ant.types.VariableSet;
|
628
|
34 |
import com.nokia.helium.core.plexus.AntStreamConsumer;
|
587
|
35 |
import com.nokia.helium.sbs.SAXSysdefParser;
|
|
36 |
import com.nokia.helium.sbs.SBSCommandBase;
|
|
37 |
import com.nokia.helium.sbs.SBSException;
|
628
|
38 |
import com.nokia.helium.sbs.ant.types.SBSInput;
|
|
39 |
import com.nokia.helium.sbs.ant.types.SBSMakeOptions;
|
587
|
40 |
import com.nokia.helium.sbs.plexus.SBSErrorStreamConsumer;
|
|
41 |
|
|
42 |
/**
|
628
|
43 |
* This task is to execute the actual sbs commands with the list of sbs parameters using sbsinput
|
|
44 |
* type. Based on the raptor input list of additional log file path used needs to be set, so that
|
|
45 |
* the scanlog, additional log files are generated properly.
|
587
|
46 |
*
|
|
47 |
* <pre>
|
|
48 |
* Example 1:
|
|
49 |
*
|
|
50 |
* <sbstask sbsinput="sbs.input" sysdefFile="system.def.file"
|
|
51 |
* layerPatternSetRef="sbs.patternset" errorOutput="sbs.log.file.error.log"
|
|
52 |
* workingDir="build.drive" failOnError="false" outputLog="sbs.log.file"
|
|
53 |
* cleanLog="sbs.log.file.clean.log" statsLog="sbs.log.file.info.xml" />
|
|
54 |
* </pre>
|
|
55 |
*
|
|
56 |
* @ant.task name="sbstask" category="SBS"
|
|
57 |
*/
|
|
58 |
public class SBSTask extends Task {
|
|
59 |
|
|
60 |
private Logger log = Logger.getLogger(SBSTask.class);
|
|
61 |
private String sbsInputName;
|
|
62 |
private String layerPatternSetRef;
|
|
63 |
private File sysDefFile;
|
|
64 |
private File workingDir;
|
|
65 |
private File errorFile;
|
|
66 |
private String logSuffix;
|
|
67 |
private File outputLogName;
|
|
68 |
private boolean executeCmd = true;
|
|
69 |
private boolean failOnError = true;
|
|
70 |
private boolean addMakeOptions = true;
|
|
71 |
private SBSCommandBase sbsCmd = new SBSCommandBase();;
|
|
72 |
private String errorPattern;
|
628
|
73 |
|
|
74 |
public SBSCommandBase getSbsCmd() {
|
|
75 |
return sbsCmd;
|
|
76 |
}
|
587
|
77 |
|
|
78 |
/**
|
628
|
79 |
* Helper function to set the clean log file. The cleanlog file captures the clean output from
|
|
80 |
* raptor and stores into a separate log. This is being used to backtrace the error information
|
|
81 |
* to associate the components. The clean log contains the list of files has to be cleaned by
|
|
82 |
* the raptor command for a specific components. An environment varialbe is set which is used by
|
|
83 |
* filterMetadata plugin to store the clean log file in python.
|
|
84 |
*
|
587
|
85 |
* @param logPath, path of the clean log file.
|
|
86 |
* @deprecated
|
|
87 |
*/
|
|
88 |
@Deprecated
|
|
89 |
public void setCleanLog(String logPath) {
|
628
|
90 |
// cleanLog = logPath;
|
587
|
91 |
log("The usage of the cleanLog attribute is deprecated.");
|
|
92 |
}
|
|
93 |
|
|
94 |
/**
|
628
|
95 |
* Helper function to set the what log file. The what log file captures the what output from
|
|
96 |
* raptor and stores into a separate log. This is being used to backtrace the error information
|
|
97 |
* to associate the components. The clean log contains the list of files has to be cleaned by
|
|
98 |
* the raptor command for a specific components. An environment varialbe is set which is used by
|
|
99 |
* filterMetadata plugin to store the clean log file in python.
|
|
100 |
*
|
587
|
101 |
* @param logPath, path of the clean log file.
|
|
102 |
* @deprecated
|
|
103 |
*/
|
|
104 |
@Deprecated
|
|
105 |
public void setWhatLog(String logPath) {
|
628
|
106 |
// whatLog = logPath;
|
587
|
107 |
log("The usage of the whatLog attribute is deprecated.");
|
|
108 |
}
|
|
109 |
|
|
110 |
/**
|
628
|
111 |
* Helper function to set the output log file name. Path of the output log where the raptor
|
|
112 |
* command output to be stored. This would be obtained from sbsinput, if the raptor argument
|
|
113 |
* --logfile set.
|
|
114 |
*
|
587
|
115 |
* @param logName, name of the logfile to store the raptor output.
|
|
116 |
*/
|
|
117 |
public void setOutputLog(File logName) {
|
|
118 |
outputLogName = logName;
|
|
119 |
}
|
628
|
120 |
|
587
|
121 |
/**
|
|
122 |
* To get the output log.
|
628
|
123 |
*
|
587
|
124 |
* @return
|
|
125 |
*/
|
|
126 |
public File getOutputLog() {
|
628
|
127 |
return outputLogName;
|
587
|
128 |
}
|
|
129 |
|
|
130 |
/**
|
628
|
131 |
* Helper function to set the statistics info of the raptor command. The stats file contains how
|
|
132 |
* long the build being executed, the log file for which the stats is obtained. Used during
|
|
133 |
* scanlog generation from template file. Once ORM is working an additional table could be
|
|
134 |
* created which stores the statistics information, in which case, there won't be the need for
|
|
135 |
* the statistics file.
|
|
136 |
*
|
587
|
137 |
* @param log name of the logfile to store the raptor command statistics information.
|
|
138 |
* @deprecated
|
|
139 |
*/
|
|
140 |
@Deprecated
|
|
141 |
public void setStatsLog(File log) {
|
628
|
142 |
// statsLog = log;
|
587
|
143 |
}
|
|
144 |
|
|
145 |
/**
|
628
|
146 |
* Helper function to set the sbsinput name for which the sbs to be executed. The sbsinput
|
|
147 |
* contains the raptor parameter both the sbs options and sbs make options.
|
|
148 |
*
|
587
|
149 |
* @param inputName name of the sbs input which contains the list of sbs parameters.
|
|
150 |
*/
|
|
151 |
public void setSBSInput(String inputName) {
|
|
152 |
sbsInputName = inputName;
|
|
153 |
}
|
628
|
154 |
|
587
|
155 |
/**
|
|
156 |
* To get the sbs name.
|
628
|
157 |
*
|
587
|
158 |
* @return
|
|
159 |
*/
|
|
160 |
public String getSBSInput() {
|
628
|
161 |
return sbsInputName;
|
587
|
162 |
}
|
|
163 |
|
|
164 |
/**
|
628
|
165 |
* Helper function to set the sbs error log file path. The error log file contains the errors
|
|
166 |
* captured from the raptor error stream and processed separately.
|
|
167 |
*
|
587
|
168 |
* @param file path of the error output to be stored for the raptor command execution.
|
|
169 |
*/
|
|
170 |
public void setErrorOutput(File file) {
|
|
171 |
errorFile = file;
|
|
172 |
}
|
628
|
173 |
|
587
|
174 |
/**
|
|
175 |
* To get the error output file.
|
628
|
176 |
*
|
587
|
177 |
* @return
|
|
178 |
*/
|
|
179 |
public File getErrorOutput() {
|
628
|
180 |
return errorFile;
|
587
|
181 |
}
|
|
182 |
|
|
183 |
/**
|
628
|
184 |
* Helper function to set the sysdef file path. System definition file contains the full list of
|
|
185 |
* components to be build with the sbs input. For 1.4.0 schema the sysdef file should be already
|
|
186 |
* filtered for the corresponding abld configuration and the sysdef file associated here
|
|
187 |
* contains only layers for which the sbs command needs to be executed with sbsinput arguments.
|
|
188 |
*
|
587
|
189 |
* @param file sysdef file path.
|
|
190 |
*/
|
|
191 |
public void setSysDefFile(File file) {
|
|
192 |
sysDefFile = file;
|
|
193 |
}
|
628
|
194 |
|
587
|
195 |
/**
|
|
196 |
* To get the sysdef file.
|
628
|
197 |
*
|
587
|
198 |
* @return
|
|
199 |
*/
|
|
200 |
public File getSysDefFile() {
|
628
|
201 |
return sysDefFile;
|
587
|
202 |
}
|
|
203 |
|
|
204 |
/**
|
628
|
205 |
* Helper function to set the log suffix.
|
|
206 |
*
|
|
207 |
* @param suffix logfile suffix.
|
587
|
208 |
*/
|
|
209 |
public void setLogSuffix(String suffix) {
|
|
210 |
logSuffix = suffix;
|
|
211 |
}
|
628
|
212 |
|
587
|
213 |
/**
|
|
214 |
* To get the logsuffix.
|
628
|
215 |
*
|
587
|
216 |
* @return
|
|
217 |
*/
|
|
218 |
public String getLogSuffix() {
|
628
|
219 |
return logSuffix;
|
587
|
220 |
}
|
|
221 |
|
|
222 |
/**
|
628
|
223 |
* Patternset is used to filter the layers from the sysdef file for which the sbs commands need
|
|
224 |
* to be executed instead of all the layers in the system definition files. This is useful for
|
|
225 |
* example in order to execute only the test layer, a patter set could contain test*, then all
|
|
226 |
* the layers begining with test are matched and passed as raptor input.
|
|
227 |
*
|
|
228 |
* @param id patternset id, for which the patterns to be filtered.
|
587
|
229 |
*/
|
|
230 |
public void setLayerPatternSetRef(String id) {
|
|
231 |
layerPatternSetRef = id;
|
|
232 |
}
|
628
|
233 |
|
587
|
234 |
/**
|
|
235 |
*
|
628
|
236 |
* To get the layer pattern set.
|
|
237 |
*
|
587
|
238 |
* @return
|
|
239 |
*/
|
|
240 |
public String getLayerPatternSetRef() {
|
628
|
241 |
return layerPatternSetRef;
|
587
|
242 |
}
|
|
243 |
|
|
244 |
/**
|
628
|
245 |
* Helper function to set the current working directory. This would be mostly the root of the
|
|
246 |
* build area.
|
|
247 |
*
|
|
248 |
* @param dir root of the build area location from which to execute the raptor commands.
|
587
|
249 |
*/
|
|
250 |
public void setWorkingDir(File dir) {
|
|
251 |
workingDir = dir;
|
|
252 |
}
|
628
|
253 |
|
587
|
254 |
/**
|
|
255 |
* To get the working dir.
|
628
|
256 |
*
|
587
|
257 |
* @return
|
|
258 |
*/
|
|
259 |
public File getWorkingDir() {
|
628
|
260 |
return workingDir;
|
587
|
261 |
}
|
|
262 |
|
|
263 |
/**
|
628
|
264 |
* Helper function to execute the actual commands or just print the commands and not execute the
|
|
265 |
* actual commands.
|
|
266 |
*
|
|
267 |
* @param execute true / false if true print and execute the commands, otherwise just print the
|
|
268 |
* commands.
|
587
|
269 |
*/
|
|
270 |
public void setExecute(boolean execute) {
|
|
271 |
executeCmd = execute;
|
|
272 |
}
|
628
|
273 |
|
587
|
274 |
/**
|
|
275 |
* To get execute value.
|
628
|
276 |
*
|
587
|
277 |
* @return
|
|
278 |
*/
|
|
279 |
public boolean getExecute() {
|
628
|
280 |
return executeCmd;
|
587
|
281 |
}
|
|
282 |
|
|
283 |
/**
|
628
|
284 |
* Helper function to set whether to fail the build or not.
|
|
285 |
*
|
587
|
286 |
* @param failBuild true / false - true to fail the build otherwise false.
|
|
287 |
*/
|
|
288 |
public void setFailOnError(boolean failBuild) {
|
|
289 |
failOnError = failBuild;
|
|
290 |
}
|
628
|
291 |
|
587
|
292 |
/**
|
|
293 |
* To get the failonError value.
|
628
|
294 |
*
|
587
|
295 |
* @return
|
|
296 |
*/
|
|
297 |
public boolean getFailOnError() {
|
628
|
298 |
return failOnError;
|
587
|
299 |
}
|
|
300 |
|
|
301 |
/**
|
|
302 |
* @param addMakeOptions the addMakeOptions to set
|
|
303 |
*/
|
|
304 |
protected void setAddMakeOptions(boolean addMakeOptions) {
|
|
305 |
this.addMakeOptions = addMakeOptions;
|
|
306 |
}
|
628
|
307 |
|
587
|
308 |
/**
|
|
309 |
* To get the error Pattern.
|
628
|
310 |
*
|
587
|
311 |
* @return
|
|
312 |
*/
|
|
313 |
protected String getErrorStreamPattern() {
|
|
314 |
return this.errorPattern;
|
|
315 |
}
|
|
316 |
|
|
317 |
/**
|
628
|
318 |
* Execute the sbs commands from sbsinput.
|
|
319 |
*
|
587
|
320 |
* @throws BuildException
|
|
321 |
*/
|
|
322 |
public void execute() {
|
|
323 |
SBSErrorStreamConsumer sbsErrorConsumer = null;
|
|
324 |
validateParameter();
|
|
325 |
sbsCmd.setWorkingDir(workingDir);
|
|
326 |
try {
|
|
327 |
log.debug("error stream file : " + errorFile);
|
|
328 |
sbsCmd.addOutputLineHandler(new AntStreamConsumer(this));
|
|
329 |
if (errorFile == null) {
|
|
330 |
log.debug("redirecting error to Antstream");
|
|
331 |
sbsCmd.addErrorLineHandler(new AntStreamConsumer(this));
|
628
|
332 |
}
|
|
333 |
else {
|
587
|
334 |
sbsErrorConsumer = new SBSErrorStreamConsumer(errorFile, getErrorStreamPattern());
|
|
335 |
log.debug("redirecting error to file stream");
|
|
336 |
sbsCmd.addErrorLineHandler(sbsErrorConsumer);
|
|
337 |
}
|
|
338 |
}
|
628
|
339 |
catch (java.io.FileNotFoundException ex) {
|
|
340 |
log("file path: " + errorFile + "Not valid");
|
|
341 |
}
|
|
342 |
|
587
|
343 |
try {
|
588
|
344 |
String cmdLine = getSBSCmdLine();
|
|
345 |
if (cmdLine == null) {
|
628
|
346 |
// this happens in case there is nothing to be built, let's just run
|
588
|
347 |
// sbs anyway so the output log is generated
|
|
348 |
cmdLine = " --logfile " + getOutputLog().getAbsolutePath();
|
|
349 |
}
|
|
350 |
log(getSbsCmd().getExecutable() + " commands: " + cmdLine);
|
587
|
351 |
if (executeCmd) {
|
588
|
352 |
sbsCmd.execute(cmdLine);
|
587
|
353 |
}
|
628
|
354 |
}
|
|
355 |
catch (SBSException sex) {
|
587
|
356 |
log.debug("SBS exception occured during sbs execution", sex);
|
|
357 |
if (failOnError) {
|
|
358 |
throw new BuildException("exception during SBS execution", sex);
|
|
359 |
}
|
628
|
360 |
}
|
|
361 |
finally {
|
|
362 |
// Called to update the error stream, better would be the commandbase
|
|
363 |
// handling the closing of streams in case of exceptions.
|
587
|
364 |
if (sbsErrorConsumer != null) {
|
|
365 |
sbsErrorConsumer.close();
|
|
366 |
}
|
|
367 |
}
|
|
368 |
}
|
|
369 |
|
|
370 |
/**
|
628
|
371 |
* Internal function to get the filtered layers by processing the system definition file with
|
|
372 |
* list of matched layers.
|
587
|
373 |
*
|
628
|
374 |
* @return list of filtered layers from the sysdef file for which the raptor commands to be
|
|
375 |
* executed.
|
587
|
376 |
*/
|
|
377 |
private List<String> getFilteredLayers() {
|
|
378 |
List<String> filteredLayers = null;
|
|
379 |
if (layerPatternSetRef != null) {
|
|
380 |
Hashtable references = getProject().getReferences();
|
628
|
381 |
Object layerPatternSetObject = references.get(layerPatternSetRef);
|
|
382 |
if (layerPatternSetObject != null && !(layerPatternSetObject instanceof PatternSet)) {
|
587
|
383 |
throw new BuildException("Layer Pattern set is not of type PatternSet");
|
|
384 |
}
|
|
385 |
if (layerPatternSetObject != null) {
|
|
386 |
PatternSet layerPatternSet = (PatternSet) layerPatternSetObject;
|
|
387 |
SAXSysdefParser sysDefParser = new SAXSysdefParser(sysDefFile);
|
628
|
388 |
List<String> fullLayerList = sysDefParser.getLayers();
|
587
|
389 |
filteredLayers = new ArrayList<String>();
|
|
390 |
String[] includes = layerPatternSet.getIncludePatterns(getProject());
|
|
391 |
String[] excludes = layerPatternSet.getExcludePatterns(getProject());
|
|
392 |
if (includes == null && excludes == null) {
|
|
393 |
throw new BuildException("No patterns specified");
|
|
394 |
}
|
|
395 |
for (String layer : fullLayerList) {
|
|
396 |
if (isIncluded(layer, includes)) {
|
|
397 |
if (!isExcluded(layer, excludes)) {
|
|
398 |
filteredLayers.add(layer);
|
|
399 |
}
|
|
400 |
continue;
|
|
401 |
}
|
|
402 |
}
|
|
403 |
}
|
|
404 |
}
|
|
405 |
return filteredLayers;
|
|
406 |
}
|
|
407 |
|
|
408 |
/**
|
628
|
409 |
* Internal function to find the included layer patterns.
|
|
410 |
*
|
587
|
411 |
* @param text - layer name to be compared with
|
|
412 |
* @param includes - compare the layer name with the includes list.
|
|
413 |
* @return true if the text containing layer name to be included.
|
|
414 |
*/
|
|
415 |
private boolean isIncluded(String text, String[] includes) {
|
|
416 |
if (includes == null) {
|
|
417 |
return true;
|
628
|
418 |
}
|
|
419 |
else {
|
587
|
420 |
for (String pattern : includes) {
|
|
421 |
if (text.matches(pattern)) {
|
|
422 |
return true;
|
|
423 |
}
|
|
424 |
}
|
|
425 |
return false;
|
|
426 |
}
|
|
427 |
}
|
|
428 |
|
|
429 |
/**
|
628
|
430 |
* Internal function to find the excluded layer patterns.
|
|
431 |
*
|
587
|
432 |
* @param text - layer name to be compared with
|
|
433 |
* @param excludes - compare the layer name with the excludes list.
|
|
434 |
* @return true if the text containing layer name to be excluded.
|
|
435 |
*/
|
|
436 |
private boolean isExcluded(String text, String[] excludes) {
|
|
437 |
if (excludes != null) {
|
|
438 |
for (String pattern : excludes) {
|
|
439 |
if (text.matches(pattern)) {
|
|
440 |
return true;
|
|
441 |
}
|
|
442 |
}
|
|
443 |
}
|
|
444 |
return false;
|
|
445 |
}
|
628
|
446 |
|
587
|
447 |
/**
|
|
448 |
* To Validate the parameters passed.
|
|
449 |
*/
|
|
450 |
protected void validateParameter() {
|
628
|
451 |
|
587
|
452 |
if (getSBSInput() == null) {
|
|
453 |
throw new BuildException("'sbsInputName' is not defined");
|
|
454 |
}
|
|
455 |
if (getSysDefFile() == null) {
|
|
456 |
throw new BuildException("'System Definition' file is missing");
|
|
457 |
}
|
|
458 |
if (getWorkingDir() == null) {
|
|
459 |
throw new BuildException("'workingDir' must be set");
|
|
460 |
}
|
|
461 |
if (getOutputLog() == null) {
|
|
462 |
throw new BuildException("'OutputLog' must be set");
|
|
463 |
}
|
628
|
464 |
|
587
|
465 |
}
|
628
|
466 |
|
587
|
467 |
/**
|
|
468 |
* To get the SBS command line parameters.
|
628
|
469 |
*
|
587
|
470 |
* @return
|
|
471 |
*/
|
|
472 |
protected String getSBSCmdLine() {
|
628
|
473 |
|
|
474 |
List<String> filteredLayers = getFilteredLayers();
|
|
475 |
|
587
|
476 |
Object refObject = getProject().getReferences().get(sbsInputName);
|
|
477 |
if (refObject == null) {
|
|
478 |
throw new BuildException("invalid sbs input reference: " + sbsInputName);
|
|
479 |
}
|
628
|
480 |
if (refObject != null && !(refObject instanceof SBSInput)) {
|
587
|
481 |
throw new BuildException("sbs input name " + sbsInputName + "is not valid");
|
|
482 |
}
|
628
|
483 |
SBSInput sbsInput = (SBSInput) refObject;
|
587
|
484 |
StringBuffer cmdOptions = new StringBuffer();
|
|
485 |
VariableSet sbsOptions = sbsInput.getFullSBSOptions();
|
|
486 |
cmdOptions.append(" -s " + sysDefFile);
|
628
|
487 |
Collection<MappedVariable> variableList = sbsOptions.getVariables();
|
|
488 |
if (sbsOptions != null) {
|
|
489 |
if (variableList.isEmpty()) {
|
|
490 |
throw new BuildException("sbsoptions cannot be empty for input: " + sbsInputName);
|
|
491 |
}
|
587
|
492 |
}
|
|
493 |
cmdOptions.append(" --logfile " + getOutputLog().getAbsolutePath());
|
588
|
494 |
for (MappedVariable variable : variableList) {
|
587
|
495 |
if (variable.getParameter().startsWith("--logfile")) {
|
628
|
496 |
this.log("The following command line argument will be ignored: "
|
|
497 |
+ variable.getParameter(), Project.MSG_WARN);
|
|
498 |
}
|
|
499 |
else {
|
587
|
500 |
cmdOptions.append(" " + variable.getParameter());
|
|
501 |
}
|
|
502 |
}
|
|
503 |
SBSMakeOptions sbsMakeOptions = sbsInput.getFullSBSMakeOptions();
|
|
504 |
variableList = null;
|
|
505 |
if (sbsMakeOptions != null && addMakeOptions) {
|
|
506 |
cmdOptions.append(" -e " + sbsMakeOptions.getEngine());
|
|
507 |
String ppThreads = sbsMakeOptions.getPPThreads();
|
|
508 |
if (ppThreads != null) {
|
|
509 |
cmdOptions.append(" -j " + ppThreads);
|
|
510 |
}
|
628
|
511 |
variableList = sbsMakeOptions.getVariables();
|
588
|
512 |
for (MappedVariable variable : variableList) {
|
587
|
513 |
cmdOptions.append(" --mo=");
|
|
514 |
cmdOptions.append(variable.getParameter());
|
|
515 |
}
|
|
516 |
}
|
|
517 |
if (filteredLayers != null) {
|
|
518 |
if (filteredLayers.isEmpty()) {
|
|
519 |
log("Warning: No matching layers to build from system definition file, skipped");
|
|
520 |
return null;
|
628
|
521 |
}
|
|
522 |
else {
|
587
|
523 |
for (String layer : filteredLayers) {
|
|
524 |
cmdOptions.append(" -l " + layer);
|
|
525 |
}
|
|
526 |
}
|
|
527 |
}
|
|
528 |
return cmdOptions.toString();
|
628
|
529 |
|
587
|
530 |
}
|
628
|
531 |
|
587
|
532 |
} |