Hi Fabrizio,
Is your project big? I used VerveineJ to parse Eclipse 3.1 which has
about 4500 java classes and interfaces.
For this what I did is a copy of the verveinej.sh shell script
specially tailored to eclipse: I put like you said 'java -Xmx2500m'
and the specific classpath required to parse successfully eclipse.
If I can have access to your java project, I could try to understand
what is happening....
Another thing that you can do is trying to import your project in
Eclipse. Since VerveineJ is based on JDT parser, if Eclipse accepts
it, then VerveineJ should accept it too ...
nicolas
On Thu, Nov 18, 2010 at 3:47 PM, Fabrizio Perin <perin(a)iam.unibe.ch> wrote:
Hi,
i just try to use VerveineJ to import Java code in moose and i'm not able to make it
work: first i tried by command line to use VerveineJ to create the mse of LANModel and it
worked. Than i tried to use it with one of my case study and i got:
java.lang.OutOfMemoryError: Java heap space.
I tried to modify the script verveinej.sh adding the -Xmx2048m option (
JOPT="-Xmx2048m" ) and it still doesn't work.
Than i tried to use the Moose Wizard and again for the LANModel no problem, but when i
tried to import one of my case study i get an error: a message box appear saying that the
output.mse file doesn't exist and it ask me to point to an existing file. Apparently
verveinej just does not create the file because not able to parse the project and the
importer try to go ahead but it does not have any output file from verveinej.
Someone has a similar problem? Am i doing something wrong?
Cheers,
Fabrizio
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Nicolas Anquetil Univ. Lille1 / INRIA-equipe RMod