Skip to content

Commit

Permalink
Make it use the modified commons-cli which also changes the
Browse files Browse the repository at this point in the history
package name so that we avoid problems when we are in a JVM
where the standard commons cli library already has been loaded
on the boot classpath (e.g. Groovy).
  • Loading branch information
johann-petrak committed Feb 1, 2017
1 parent 8347b4c commit 70f3757
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions creole.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ along with this software. If not, see <http://www.gnu.org/licenses/>.
-->
<CREOLE-DIRECTORY
ID="gate.LearningFramework"
VERSION="3.5.3"
VERSION="3.6"
DESCRIPTION="Learning Framework"
HELPURL="https://github.com/GateNLP/gateplugin-LearningFramework/wiki"
>
<JAR scan="true">gateplugin-LearningFramework.jar</JAR>
<JAR>lib-static/snakeyaml-1.16.jar</JAR>
<IVY>build/ivy.xml</IVY>
<JAR>lib-static/commons-cli-1.4-modified.jar</JAR>
<JAR>lib-static/commons-cli-patched-1.4-SNAPSHOT.jar</JAR>
<JAR>lib-static/libsvm.jar</JAR>
<JAR>lib-static/interaction-3.5.1.jar</JAR>
</CREOLE-DIRECTORY>
Binary file removed lib-static/commons-cli-1.4-modified.jar
Binary file not shown.
Binary file added lib-static/commons-cli-patched-1.4-SNAPSHOT.jar
Binary file not shown.
8 changes: 4 additions & 4 deletions src/gate/plugin/learningframework/engines/Parms.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.ParseException;
import org.apache.commons.clipatched.CommandLine;
import org.apache.commons.clipatched.Options;
import org.apache.commons.clipatched.DefaultParser;
import org.apache.commons.clipatched.ParseException;
import org.apache.log4j.Logger;

/**
Expand Down

0 comments on commit 70f3757

Please sign in to comment.