Skip navigation.
Home
Semantic Software Lab
Concordia University
Montréal, Canada

Could not load MultiPaX in GATE

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

Hi,

I tried to copy the folder MultiPaX which i downloaded and put it into the GATE plugin folder.

Then when i tried to add a CREOLE respository and chose MultiPaX, it could not recognize it.

In GATE message box, the following appears:

Problem while parsing plugin file:/C:/Program%20Files/GATE-5.1/plugins/MultiPaX/!
java.io.FileNotFoundException: C:\Program Files\GATE-5.1\plugins\MultiPaX\MultiPaX.jar (The system cannot find the file specified)
Plugin not available!

Please help me.

Yogan

Error in compiling MultiPAX by Ant

Hi,
I'm trying to compile Multipax by ant but it causes below error
Any ideas ?
Thanks

Buildfile: E:\gate_components\MultiPaX-1.3\MultiPaX-1.3\build.xml

prepare:

compile:
[echoproperties] #Ant properties
[echoproperties] #Mon Aug 04 00:37:23 GMT-08:00 2014
[echoproperties] gate.home=C\:/Program Files/GATE_Developer_8.0
[echoproperties] gate.jar=C\:\\Program Files\\GATE_Developer_8.0\\bin\\gate.jar
[echoproperties] gate.lib=C\:\\Program Files\\GATE_Developer_8.0\\lib
[javac] E:\gate_components\MultiPaX-1.3\MultiPaX-1.3\build.xml:91: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 5 source files to E:\gate_components\MultiPaX-1.3\MultiPaX-1.3\classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] E:\gate_components\MultiPaX-1.3\MultiPaX-1.3\src\info\semanticsoftware\multiPaX\MultiPaX.java:145: error: no suitable method found for getListeners()
[javac] myListener = (StatusListener) MainFrame.getListeners().get( "gate.event.StatusListener" );
[javac] ^
[javac] method Window.getListeners(Class) is not applicable
[javac] (cannot instantiate from arguments because actual and formal argument lists differ in length)
[javac] where T is a type-variable:
[javac] T extends EventListener declared in method getListeners(Class)
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 1 warning

Update for GATE v8

Hi,

Yes, there has been an API change in GATE since version 8. We'll release a new MultiPaX version, but in the meantime you can fix this by simply changing the line with the error message to:

myListener = (StatusListener) Gate.getListeners().get( "gate.event.StatusListener" );

Additionally, you'll have to add the import
import gate.Gate;

to the top of the MultiPaX.java file.

Hope that helps,

René

MultiPaX problem with Ant

Hi René
Thanks a looooooooooooooot. It works.

Gate plugin not working/ not supporting Multipax

Hey i have encountered the similar situation where i too faced problem in loading multipax in gate, then a friend of mine advised me to re-install Gate.then i tried and its working for me now.
Thank You
Contact Me

MuNPaX problem

I download the GATE PAX component from http://www.semanticsoftware.info/pax and used ant to make a .jar file of it. After adding MultiPaX.jar to GATE plugins I can see MultiPaX-1.3 in its installed plugins but there is no PR of it in GATE Processing Resources. what is the problem? what should I do to fix it? Is there anything wrong with the .jar file I have made? can I download MultiPaX.jar from another place?
could you please help me?
thanks
Zafari

rene's picture

You need to create a PR

Hello Zafari,

It seems you only added the creole repository, but did not create a PR instance. Essentially, there are three steps when working with GATE Plugins:

  1. Add the creole repository;
  2. Load the plugin (either "once" or "always");
  3. Create an instance of the PR, e.g., by right-clicking on the "Processing Resources" tree root in GATE Developer.

If you are not familiar working with GATE Developer or GATE Plugins, it is best if you first consult the GATE User's guide and training material.

Best, René

Problem with using MultiPax in GATE

Hello René,
Thanks for your response, but my problem has not been solved yet.
I have done installation (and using) steps for both MuNPEx (NP detector) and MultiPax (predicate-argument extractor) same as each other.Now I can see MuNPEx in PR list but there isn't any PR for MultiPax. Instead I just see some new PR that seems belong to MultiPax like “subclass PR” or “this is a test”. It’s worth mention that MultiPax-1.3 is now in list of installed plunging and checkbox of both “load now” and “load always” is checked and when I click on MultiPax in “Installed Plugins” tab of “CREOLE Plugin Manager” window, a lot of resources is shown in “Resources in Plugin” pane,(like Hash Gazateer, GATE CoNLL document format, GATE Corpus,..., ANNIE POS tagger, pipeline, ... subclass PR,..., relation viewer, etc.) none of them is MultiPax. I am confused about this problem and any help will be appreciated.
Thanks,
Zafari

rene's picture

Installation details?

Hello Zafari,

Could you please provide us with some more details on your installation (GATE version, Java version, Operating System).

Also, note that the installation process for MuNPEx and MultiPaX are very different: MuNPEx can be installed directly from our only repository, whereas MultiPaX currently needs to be compiled manually and added from a local CREOLE repository.

Best, René

Installation details

Hello René,
I’m using window 7 (64 bit) and GATE version 8.0 build 4852, Generic installer for any platform (it’s downloaded file name is “gate-8.0-build4825-installer.jar” and version of Java is 7 update 5 (build 1.7.0_05-b05).
According to your explanation it seems that I don’t exactly know how to install MultiPaX on GATE. In User Guide of GATE section “3.5 Using CREOLE Plugins” I couldn't found useful material for my problem. By the way I write the way I did it, hoping be useful to help me:
1. I download the PAX component from http://www.semanticsoftware.info/pax (MultiPaX-1.3.tgz)
2. I download the “ant” from http://ant.apache.org/bindownload.cgi (apache-ant-1.9.4-bin.zip)
3. Create MultiPaX.jar using ant (size of created .jar file is now 5,862KB)
4. I tried to add it to GATE CREOLE plugin library in following way, which was not successful:
a. File-> Manage CREOLE plugin
b. Configuration tab
c. In “Using plugin Directory” section pressed “book like” button and navigate to location where MultiPaX.jar is created
d. In spite that the file is there it couldn’t be seen
5. Another way:
a. File-> Manage CREOLE plugin
b. Installed plugins tab
c. Press “+” button and navigate and navigate to location where MultiPaX.jar is created there
d. In spite that the file is there, it couldn’t be seen

Regards, Zafari

rene's picture

Plugin Manager Use

Zafari,

It seems you are mixing up the "User Plugin Directory" with the "CREOLE Plugin Directory". The "User Plugin Directory" ("Configuration" Tab in the Plugin Manager) is where downloaded plugins are stored locally on your system.

For adding local plugins, like MultiPAX, you have to go to "Installed Plugins" and click on the "+" icon on the top, next to "CREOLE Plugin Directories". Then add the directory that contains MultiPaX.jar. Once the directory is added, MultiPAX should appear in the list of plugins available for loading.

If this still doesn't work, some of your experiments might have caused inconsistencies in the system configuration. Try deleting your gate.xml and gate.session files and re-starting GATE.

Best, René

You need to compile the source code

Hi,

as described in the README file, you need to compile the java files first. The easiest way to do this is with "ant" by using "ant jar" on the command line in the extracted MultiPax folder.

Best,
Ralf

Thanks Ralf. Did as you said.

Thanks Ralf. Did as you said. Can load it now.

yogan

i had the same problem as

i had the same problem as Yogan, but when trying the command ant jar, i got this message "Buildfile: build.xml does not exist!", and actually in my folder there's no build file.
did i miss to do something?

Tania

Hi, you have to execute the

Hi,

you have to execute the ant command within the MultiPaX folder. The http://www.semanticsoftware.info/system/files/MultiPaX-1.3.tgz archive contains the build.xml file and also a readme file explaining the installation process.

Ralf

Hi, I got the same problem

Hi,

I got the same problem when load the MultiPaX into Gate. I have tried to run "ant jar" and it worked because there exist build.xml file inside the MultiPaX folder. But I didn't get any generated .jar file after the process. And also, I got these messages :

Buildfile: /home/arlisa/MultiPaX-1.3/build.xml

prepare:
[mkdir] Created dir: /home/arlisa/MultiPaX-1.3/classes

compile:
[javac] /home/arlisa/MultiPaX-1.3/build.xml:90: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 8 source files to /home/arlisa/MultiPaX-1.3/classes

BUILD FAILED
/home/arlisa/MultiPaX-1.3/build.xml:90: /usr/local/durmtools/GATE_SVN/gate/lib does not exist.

Could you help me identify theank problem? Thank you..

Arlisa

I'm having the same issue

Hi,

I'm getting the same build error as Arlisa:

90: /usr/local/durmtools/GATE_SVN/gate/lib does not exist.

I'm new to GATE, so it's probably a simple fix. Any help is much appreciated. I'm on a Mac, running GATE 7.1 build 4485.

Thanks,
Emily

rene's picture

Update build.properties

Hi,

Check the file build.properties and update the paths to the directory where you installed GATE, then it should compile.

Cheers, René

compilation error

Hi,
I did as you said and I am getting compilation error. Here is what I got:-

[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\NpParserPaX.java:32: cannot find symbol
[javac] symbol : class Document
[javac] location: class info.semanticsoftware.multiPaX.NpParserPaX
[javac] public NpParserPaX( Document doc, AnnotationSet inputAS, Annotat
ionSet outputAS,
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\NpParserPaX.java:32: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.NpParserPaX
[javac] public NpParserPaX( Document doc, AnnotationSet inputAS, Annotat
ionSet outputAS,
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\NpParserPaX.java:32: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.NpParserPaX
[javac] public NpParserPaX( Document doc, AnnotationSet inputAS, Annotat
ionSet outputAS,
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\NpParserPaX.java:33: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.NpParserPaX
[javac] AnnotationSet parserAS, boolean debug ){
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:24: package gate does not exist
[javac] import gate.Annotation;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:25: package gate does not exist
[javac] import gate.AnnotationSet;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:26: package gate does not exist
[javac] import gate.Document;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:27: package gate does not exist
[javac] import gate.FeatureMap;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:28: package gate.util does not exist
[javac] import gate.util.InvalidOffsetException;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:47: cannot find symbol
[javac] symbol : class Document
[javac] location: class info.semanticsoftware.multiPaX.RaspParserPaX
[javac] public RaspParserPaX( Document doc, AnnotationSet inputAS, Annot
ationSet outputAS,
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:47: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.RaspParserPaX
[javac] public RaspParserPaX( Document doc, AnnotationSet inputAS, Annot
ationSet outputAS,
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:47: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.RaspParserPaX
[javac] public RaspParserPaX( Document doc, AnnotationSet inputAS, Annot
ationSet outputAS,
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\RaspParserPaX.java:48: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.RaspParserPaX
[javac] AnnotationSet parserAS, boolean debug, URL raspS
cript ){
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\StanfordParserPaX.java:24: package gate does not exist
[javac] import gate.Annotation;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\StanfordParserPaX.java:25: package gate does not exist
[javac] import gate.AnnotationSet;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\StanfordParserPaX.java:26: package gate does not exist
[javac] import gate.Document;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\StanfordParserPaX.java:28: package gate.util does not exist
[javac] import gate.util.InvalidOffsetException;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\StanfordParserPaX.java:40: cannot find symbol
[javac] symbol : class Document
[javac] location: class info.semanticsoftware.multiPaX.StanfordParserPaX
[javac] public StanfordParserPaX( Document doc, AnnotationSet inputAS, A
nnotationSet outputAS,
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\StanfordParserPaX.java:40: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.StanfordParserPaX
[javac] public StanfordParserPaX( Document doc, AnnotationSet inputAS, A
nnotationSet outputAS,
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\StanfordParserPaX.java:40: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.StanfordParserPaX
[javac] public StanfordParserPaX( Document doc, AnnotationSet inputAS, A
nnotationSet outputAS,
[javac] ^

[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\StanfordParserPaX.java:41: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.StanfordParserPaX
[javac] AnnotationSet parserAS, boolean debug ){
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:24: cannot find symbol
[javac] symbol : class Annotation
[javac] location: package gate
[javac] import gate.Annotation;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:25: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: package gate
[javac] import gate.AnnotationSet;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:26: cannot find symbol
[javac] symbol : class Document
[javac] location: package gate
[javac] import gate.Document;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:27: cannot find symbol
[javac] symbol : class Factory
[javac] location: package gate
[javac] import gate.Factory;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:28: cannot find symbol
[javac] symbol : class FeatureMap
[javac] location: package gate
[javac] import gate.FeatureMap;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:40: cannot find symbol
[javac] symbol : class Document
[javac] location: class info.semanticsoftware.multiPaX.SuppleParserPaX
[javac] public SuppleParserPaX( Document doc, AnnotationSet inputAS, Ann
otationSet outputAS, AnnotationSet parserAS, boolean debug ){
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:40: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.SuppleParserPaX
[javac] public SuppleParserPaX( Document doc, AnnotationSet inputAS, Ann
otationSet outputAS, AnnotationSet parserAS, boolean debug ){
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:40: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.SuppleParserPaX
[javac] public SuppleParserPaX( Document doc, AnnotationSet inputAS, Ann
otationSet outputAS, AnnotationSet parserAS, boolean debug ){
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\SuppleParserPaX.java:40: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.SuppleParserPaX
[javac] public SuppleParserPaX( Document doc, AnnotationSet inputAS, Ann
otationSet outputAS, AnnotationSet parserAS, boolean debug ){
[javac]
^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\ParserPaX.java:53: cannot find symbol
[javac] symbol : class FeatureMap
[javac] location: class info.semanticsoftware.multiPaX.ParserPaX
[javac] FeatureMap fm = Factory.newFeatureMap();
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\ParserPaX.java:53: cannot find symbol
[javac] symbol : variable Factory
[javac] location: class info.semanticsoftware.multiPaX.ParserPaX
[javac] FeatureMap fm = Factory.newFeatureMap();
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\ParserPaX.java:54: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.ParserPaX
[javac] Annotation oldAnno = inputAS.get( repAnnoId );
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\ParserPaX.java:66: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.ParserPaX
[javac] Annotation sentAnno = outputAS.get( sentAnnoId
);
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\ParserPaX.java:82: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.ParserPaX
[javac] Annotation anno = inputAS.get(id);
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\HandParserPaX.java:41: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.HandParserPaX
[javac] Annotation sent;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\HandParserPaX.java:42: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.HandParserPaX
[javac] AnnotationSet handSet;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\HandParserPaX.java:43: cannot find symbol
[javac] symbol : class FeatureMap
[javac] location: class info.semanticsoftware.multiPaX.HandParserPaX
[javac] FeatureMap ofm;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\HandParserPaX.java:46: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.HandParserPaX
[javac] AnnotationSet sents = inputAS.get("Sentence");
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\HandParserPaX.java:48: package gate.util does not exist
[javac] Collections.sort( sentsList, new gate.util.OffsetCompara
tor() );
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\HandParserPaX.java:52: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.HandParserPaX
[javac] sent = (Annotation)sentIter.next();
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\HandParserPaX.java:58: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.HandParserPaX
[javac] ofm = ((Annotation)handSet.iterator().ne
xt()).getFeatures();
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\HandParserPaX.java:67: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.HandParserPaX
[javac] Annotation repSpeechAnno = outputAS.get( repAnnoId
);
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\MiniparParserPaX.java:45: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.MiniparParserPaX
[javac] Annotation sAnno, cAnno, vgAnno, oAnno, pAnno, nAnno, mA
nno;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\MiniparParserPaX.java:51: cannot find symbol
[javac] symbol : class Annotation
[javac] location: class info.semanticsoftware.multiPaX.MiniparParserPaX
[javac] Annotation sent, object1Anno, object2Anno, object3Anno,
object4Anno;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\MiniparParserPaX.java:52: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.MiniparParserPaX
[javac] AnnotationSet sentParserAS;
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\MiniparParserPaX.java:57: cannot find symbol
[javac] symbol : class AnnotationSet
[javac] location: class info.semanticsoftware.multiPaX.MiniparParserPaX
[javac] AnnotationSet sents = inputAS.get("Sentence");
[javac] ^
[javac] E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\src\info\semanticsoftware
\multiPaX\MiniparParserPaX.java:59: package gate.util does not exist
[javac] Collections.sort( sentsList, new gate.util.OffsetCompara
tor() );
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors

BUILD FAILED
E:\GATE_Developer_7.1\plugins\MultiPaX-1.3\build.xml:92: Compile failed; see the
compiler error output for details.

Total time: 1 second

E:\GATE_Developer_7.1\plugins\MultiPaX-1.3>

rene's picture

Paths to GATE wrong

As you can see from the error messages:

package gate does not exist

it still does not find your local GATE installation.

Please check the paths again; to debug you can add the line <echoproperties prefix="gate."/> to your ant compile task in build.xml:

  1.   <!-- compile the source -->
  2.   <target name="compile" depends="prepare">
  3.     <echoproperties prefix="gate."/>
  4.     <javac classpathref="compile.classpath"
  5.   ...

The path wasn't correct. It

The path wasn't correct. It works now.

Thanks Rene

new error

C:\Program Files (x86)\GATE_Developer_8.0\plugins\MultiPaX>ant
Buildfile: C:\Program Files (x86)\GATE_Developer_8.0\plugins\MultiPaX\build.xml

prepare:

BUILD FAILED
C:\Program Files (x86)\GATE_Developer_8.0\plugins\MultiPaX\build.xml:80: Directo
ry C:\Program Files (x86)\GATE_Developer_8.0\plugins\MultiPaX\classes creation w
as not successful for an unknown reason

Total time: 0 seconds

C:\Program Files (x86)\GATE_Developer_8.0\plugins\MultiPaX>

My buid.properties file has the following paths

# $Id: build.properties 11755 2009-10-23 18:18:15Z johann_p $
#
# build.properties for MultiPaX
#
# NOTE: plugins included in the GATE default plugin directory should
# work without this file being modified. This file should not be
# checked into the subversion repository in order to allow different
# settings for different people.

# gate.home - the location of your top-level GATE directory
# If your plugin is not located in the default plugins directory
# of gate (GATEHOME/plugins/) the full path of the GATE home direcoty
# should be specified here.
#
gate.home=C:\Program Files(x86)\GATE_Developer_8.0

# The name of this plugin.
# If you want to overwrite the name as specified in the build.xml file,
# you can do it here.
plugin.name=MultiPaX

# All other settings in the build.xml file can be overwritten here ...