Please take a look here:
http://www.themoosebook.org/book/externals/import-export/java/verveineJ
The magic invocation would be:
/PATH_TO_verveine.extractor.java/verveinej.sh -Xmx 2000m -- /PATH_TO_SRC
Please let us know if it does not work.
Cheers,
Doru
On 14 Sep 2011, at 18:30, Usman Bhatti wrote:
Hello,
I am running two different versions of VerveineJ and I have two different problems:
1. When running the following command from the freshly downloaded verveineJ
sh verveinej.sh -Xmx 2000m -
/Users/ubhatti/Desktop/moosedata/Openbravo-3.0MP2.1/src/org/openbravo/
I get:
Exception in thread "main" java.lang.IllegalStateException: invalid environment
settings
at org.eclipse.jdt.core.dom.ASTParser.getClasspath(ASTParser.java:248)
at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:970)
at fr.inria.verveine.extractor.java.VerveineJParser.parse(Unknown Source)
at fr.inria.verveine.extractor.java.VerveineJParser.main(Unknown Source)
2. When running this command on a copy of VJ downloaded in June and running this
command:
sh verveinej.sh -Xmx 4000m - /Users/ubhatti/Desktop/moosedata/Openbravo-3.0MP2.1/src/
I get:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ch.akuhn.fame.internal.MethodAccess.write(MethodAccess.java:98)
at ch.akuhn.fame.fm3.PropertyDescription.writeAll(PropertyDescription.java:334)
at ch.akuhn.fame.parser.Importer$Elem$Attr.maybeEnd(Importer.java:95)
at ch.akuhn.fame.parser.Importer$Elem$Attr.endAttribute(Importer.java:85)
at ch.akuhn.fame.parser.Importer$Elem.endAttribute(Importer.java:126)
at ch.akuhn.fame.parser.Importer.endAttribute(Importer.java:233)
at ch.akuhn.fame.parser.Parser.attributeNode(Parser.java:123)
at ch.akuhn.fame.parser.Parser.elementNode(Parser.java:166)
at ch.akuhn.fame.parser.Parser.accept(Parser.java:105)
at ch.akuhn.fame.parser.Importer.readFrom(Importer.java:269)
at ch.akuhn.fame.Repository.importMSE(Repository.java:195)
at ch.akuhn.fame.Repository.importMSEFile(Repository.java:200)
at fr.inria.verveine.core.VerveineParser.linkToExisting(Unknown Source)
at fr.inria.verveine.extractor.java.VerveineJParser.parse(Unknown Source)
at fr.inria.verveine.extractor.java.VerveineJParser.main(Unknown Source)
The second problem is about parameterizing the VM. I have tried various parameters but
its not working. I'm surely doing something wrong here but cant figure it out.
thanx in advance,
Usman
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"From an abstract enough point of view, any two things are similar."