160 |
160 |
String ant = Module.make("build-area").getLibDir() + "/ant.jar";
|
161 |
161 |
RunClasspath rcp = new RunClasspath();
|
162 |
162 |
//CompileClasspath ccp = new CompileClasspath();
|
163 |
|
addToCommand("-classpath " + _ptolemyClassPath() + ":" + commonsLogging
|
164 |
|
+ ":" + ant);
|
|
163 |
addToCommand("-classpath " + _ptolemyClassPath() + File.pathSeparator + commonsLogging
|
|
164 |
+ File.pathSeparator + ant);
|
165 |
165 |
//addToCommand("-classpath " + rcp.toString());
|
166 |
166 |
|
167 |
167 |
// Needed for RatingTaglet
|
... | ... | |
177 |
177 |
}
|
178 |
178 |
|
179 |
179 |
specifyPackages("org", "com", "util", "ptolemy");
|
180 |
|
addToCommand("-link http://java.sun.com/j2se/1.5.0/docs/api/");
|
|
180 |
addToCommand("-link http://docs.oracle.com/javase/6/docs/api/");
|
181 |
181 |
command.add("-linksource");
|
182 |
182 |
command.add("-author");
|
183 |
183 |
command.add("-breakiterator");
|
... | ... | |
242 |
242 |
}
|
243 |
243 |
|
244 |
244 |
/**
|
245 |
|
* Add the soruce path from which the javadoc shoudl be produced for one
|
|
245 |
* Add the source path from which the javadoc should be produced for one
|
246 |
246 |
* module.
|
247 |
247 |
*
|
248 |
248 |
* @param srcDir The directory that contains Java code from which javadoc
|
... | ... | |
250 |
250 |
*/
|
251 |
251 |
protected void addSourcepath(File srcDir)
|
252 |
252 |
{
|
253 |
|
sourcepath += sourcepath.equals("") ? "" : ":";
|
|
253 |
sourcepath += sourcepath.equals("") ? "" : File.pathSeparator;
|
254 |
254 |
sourcepath += srcDir.getAbsolutePath();
|
255 |
255 |
}
|
256 |
256 |
|
... | ... | |
269 |
269 |
}
|
270 |
270 |
|
271 |
271 |
/**
|
272 |
|
* Return a colon separated list of Ptolemy jar file.
|
|
272 |
* Return a File.pathSeparator separated list of Ptolemy jar files.
|
273 |
273 |
*
|
274 |
|
* @return a colon separated list of Ptolemy jar file.
|
|
274 |
* @return a File.pathSeparator separated list of Ptolemy jar files.
|
275 |
275 |
*/
|
276 |
276 |
private String _ptolemyClassPath()
|
277 |
277 |
{
|
278 |
278 |
PtolemyPathGenerator ptolemyPathGenerator = PtolemyPathGenerator
|
279 |
279 |
.getInstance();
|
280 |
280 |
FileSet fileSet = ptolemyPathGenerator.getFileset();
|
281 |
|
return fileSet.toString().replace(";", ":");
|
|
281 |
return fileSet.toString().replace(";", File.pathSeparator);
|
282 |
282 |
}
|
283 |
283 |
|
284 |
284 |
/**
|