Thanks a lot Matthias for looking into this

Apparently, The JDT  parser is not dealing correctly with path separator, because on unix, the separator between various paths is ":" (colon).
I assume you are running on Windows since you use ";" (semicolon) ?

Your solution is a good way to bypass this bug, but I will have to add a bit to it since I believe one must also be able to specify various -cp

Anyway, thank again for your contribution

nicolas


De: "Junker Matthias" <matthias.junker@dvbern.ch>
À: moose-dev@iam.unibe.ch
Envoyé: Mardi 31 Mai 2011 14:50:03
Objet: [Moose-dev] Classpath in VerveineJ

Hey,
I finally found out why parsing my project with VerveineJ suddenly stopped. The classpath command line argument parsing in VerveineJ seems to be broken. Instead of splitting the classpath arguments and passing them in an array as environment to the parser, it passed the entire classpath string to it. Attached to this email you can find a patch that fixes this. I assumed the classpath arguments after -cp are separated by semicolons. After fixing this I was finally able to parse the entire project with VerveineJ. Thanks a lot for your help.

Cheers
Matt



_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev