[mercury-users] Re: java / threads / UIMA

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Aug 18 01:26:08 AEST 2011

On Wed, 17 Aug 2011, Tomas By wrote:

> On Wed, August 17, 2011 16:57, Julien Fischer wrote:
>> The generated code for lexlookup and its export wrapper is:
> Yes. One thing that puzzles me right now is that is tried setting
> MERCURY_DEBUG_CLASS_INIT=true, but the init message is not printed.
> Is there a (simple) way to just recompile the auto-generated java code
> without the mercury->java step?

Yes, just touch or edit the generated Java source file(s) (in the 
directory Mercury/javas/jmercury) and rerun mmc --make.  It should
then just rebuild the .class files.

Alternatively, if you wish to avoid mmc altogether then you can invoke
it with the --verbose-commands option and that will tell you how it
is invoking javac -- reproducing that by hand is likely to involve
a bit more typing though.

mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list