Browse Source

Added modulepathref attribute to Java.

master
Tomas Zezula 9 years ago
parent
commit
1e501f27ec
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/main/org/apache/tools/ant/taskdefs/Java.java

+ 10
- 0
src/main/org/apache/tools/ant/taskdefs/Java.java View File

@@ -314,6 +314,16 @@ public class Java extends Task {
return getCommandLine().createModulepath(getProject()).createPath();
}

/**
* Set the modulepath to use by reference.
*
* @param r a reference to an existing modulepath.
* @since 1.9.7
*/
public void setModulepathRef(Reference r) {
createModulepath().setRefid(r);
}

/**
* Add a path to the upgrademodulepath.
*


Loading…
Cancel
Save