Maybe there's a misconception.
Running UIMA from the command line will not run the Java compile against your
changed Collection Reader source code - this is how it is designed to work.
You have to have some other method (Eclipse, or running a command to compile the
Java source changes using a Java compiler of your choice), and have the
resulting class file available to UIMA in the runtime classpath.
Sorry if I've misunderstood the issue.
-Marshall
On 2/1/2011 7:48 AM, Arun Tewatia wrote:
> Hi all,
>
> I am trying to run UIMA-AS from command line.
>
> When I make any changes to source file of Collection Reader in eclipse and try
> to run it.
> The new changed source file is compiled and new .class file is generated.
>
> But when i try to run the same using UIMA-AS from command line.
> It gives above said error.
> If I compile the source file from eclipse and place the .class file at
> appropriate classpath.
> It works fine. Now if I want to make changes to source file of collection
> reader.
> Then i have to again compile it using eclipse or else changes wont reflect.
> I use following commands.....
>
> Start Broker
> /home/apache-uima/bin/startBroker.sh
>
> Deploy service
> /home/apache-uima/bin/deployAsyncService.sh examples/deploy/as/Deploy_UIMA.xml
> -brokerURL tcp://ws28-arun-lin:61616
>
> Run client
> /home/apache-uima/bin/runRemoteAsyncAE.sh tcp://ws28-arun-lin:61616 UIMAQueue
> -c /home/apache-uima/collection_reader/DBCollectionReader.xml
>
>
> -Arun Tewatia
>
>
>
>
>
>
>
>
|