* @param aspectpath The aspectpath to set.
*/
public void setAspectpath(String aspectpath) {
- this.aspectpath = aspectpath.replace(',',File.pathSeparatorChar);
+ this.aspectpath = aspectpath.replace('/', File.separatorChar).replace(',', File.pathSeparatorChar);
}
/**
* @return Returns the classpath.
* @param classpath The classpath to set.
*/
public void setClasspath(String classpath) {
- this.classpath = classpath.replace(',',File.pathSeparatorChar);
+ this.classpath = classpath.replace('/', File.separatorChar).replace(',', File.pathSeparatorChar);
}
public String getModulepath() {
}
public void setModulepath(String modulepath) {
- this.modulepath = modulepath.replace(',', File.pathSeparatorChar);
+ this.modulepath = modulepath.replace('/', File.separatorChar).replace(',', File.pathSeparatorChar);
}
/**
* @return Returns the files.
}
public String getClasspath() {
- if (cpath == null)
- return null;
- return this.cpath.replace('/', File.separatorChar).replace(',', File.pathSeparatorChar);
+ return cpath;
}
public String getModulepath() {
- if (mpath == null)
- return null;
- return this.mpath.replace('/', File.separatorChar).replace(',', File.pathSeparatorChar);
+ return mpath;
}
public void setModulepath(String mpath) {
- this.mpath = mpath;
+ this.mpath = mpath.replace('/', File.separatorChar).replace(',', File.pathSeparatorChar);
}
public void setClasspath(String cpath) {
- this.cpath = cpath;
+ this.cpath = cpath.replace('/', File.separatorChar).replace(',', File.pathSeparatorChar);
}
public void addStdErrSpec(OutputSpec spec) {