/**
   * Adds a path to the classpath.
   *
   * @return classpath to use when decompiling the report
   */
  public Path createClasspath() {
    if (classpath == null) {
      classpath = new Path(getProject());
    }

    return classpath.createPath();
  }
  /**
   * Adds a path for decompilation source.
   *
   * @return source path
   */
  public Path createSrc() {
    if (src == null) {
      src = new Path(getProject());
    }

    return src.createPath();
  }
 /**
  * Support nested <code>classpath</code> elements
  *
  * @return
  */
 public Path createClasspath() {
   // return this.cpDelegate.createClasspath();
   if (classpath == null) {
     classpath = new Path(this.getProject());
   }
   return classpath.createPath();
 }
Beispiel #4
0
 /**
  * Adds a path to sourcepath.
  *
  * @return a sourcepath to be configured
  */
 public Path createSourcepath() {
   if (compileSourcepath == null) {
     compileSourcepath = new Path(getProject());
   }
   return compileSourcepath.createPath();
 }
Beispiel #5
0
 public Path createInstrumentationClasspath() {
   if (instrumentationClasspath == null) {
     instrumentationClasspath = new Path(getProject());
   }
   return instrumentationClasspath.createPath();
 }
 /**
  * Support nested <code>sourceroots</code> elements
  *
  * @return
  */
 public Path createSourceroots() {
   if (sourceroots == null) {
     sourceroots = new Path(this.getProject());
   }
   return sourceroots.createPath();
 }
 /**
  * Support nested <code>injars</code> elements
  *
  * @return
  */
 public Path createInjars() {
   if (injars == null) {
     injars = new Path(this.getProject());
   }
   return injars.createPath();
 }
 /**
  * Support nested <code>inpath</code> elements
  *
  * @return
  */
 public Path createInpath() {
   if (inpath == null) {
     inpath = new Path(this.getProject());
   }
   return inpath.createPath();
 }
Beispiel #9
0
 /**
  * Adds a classpath to be used for this dependency check.
  *
  * @return A path object to be configured by Ant
  */
 public Path createClasspath() {
   if (dependClasspath == null) {
     dependClasspath = new Path(project);
   }
   return dependClasspath.createPath();
 }
Beispiel #10
0
 /**
  * Maybe creates a nested extdirs element.
  *
  * @return path object to be configured with the extension directories
  */
 public synchronized Path createExtdirs() {
   if (extDirs == null) {
     extDirs = new Path(getProject());
   }
   return extDirs.createPath();
 }
Beispiel #11
0
 /**
  * Creates a nested classpath element.
  *
  * @return classpath
  */
 public synchronized Path createClasspath() {
   if (compileClasspath == null) {
     compileClasspath = new Path(getProject());
   }
   return compileClasspath.createPath();
 }