Skip to content

Commit 70f3757

Browse files
committed
Make it use the modified commons-cli which also changes the
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).
1 parent 8347b4c commit 70f3757

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

creole.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ along with this software. If not, see <http://www.gnu.org/licenses/>.
2020
-->
2121
<CREOLE-DIRECTORY
2222
ID="gate.LearningFramework"
23-
VERSION="3.5.3"
23+
VERSION="3.6"
2424
DESCRIPTION="Learning Framework"
2525
HELPURL="https://github.com/GateNLP/gateplugin-LearningFramework/wiki"
2626
>
2727
<JAR scan="true">gateplugin-LearningFramework.jar</JAR>
2828
<JAR>lib-static/snakeyaml-1.16.jar</JAR>
2929
<IVY>build/ivy.xml</IVY>
30-
<JAR>lib-static/commons-cli-1.4-modified.jar</JAR>
30+
<JAR>lib-static/commons-cli-patched-1.4-SNAPSHOT.jar</JAR>
3131
<JAR>lib-static/libsvm.jar</JAR>
3232
<JAR>lib-static/interaction-3.5.1.jar</JAR>
3333
</CREOLE-DIRECTORY>
-51.8 KB
Binary file not shown.
52.5 KB
Binary file not shown.

src/gate/plugin/learningframework/engines/Parms.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
import java.util.HashMap;
2727
import java.util.List;
2828
import java.util.Map;
29-
import org.apache.commons.cli.CommandLine;
30-
import org.apache.commons.cli.Options;
31-
import org.apache.commons.cli.DefaultParser;
32-
import org.apache.commons.cli.ParseException;
29+
import org.apache.commons.clipatched.CommandLine;
30+
import org.apache.commons.clipatched.Options;
31+
import org.apache.commons.clipatched.DefaultParser;
32+
import org.apache.commons.clipatched.ParseException;
3333
import org.apache.log4j.Logger;
3434

3535
/**

0 commit comments

Comments
 (0)