Ahh, forget about it.
The original mail from Matt got into spam :). I have the answer now.
Cheers, Doru
On 31 May 2011, at 21:38, Tudor Girba wrote:
Hi,
Great that it got solved. So, do I understand correctly that the problem was only in the sh script?
Cheers, Doru
On 31 May 2011, at 15:38, Junker Matthias wrote:
Hey,
Yeah I tried on windows. But you're right, it should handle both. I checked java -help on Linux and indeed it says to use colons there.
No problem. Thanks for the help as well. I'm now enjoying browsing my model with generics. Yay!
Cheers, Matt
Von: moose-dev-bounces@iam.unibe.ch [moose-dev-bounces@iam.unibe.ch]" im Auftrag von "Nicolas Anquetil [nicolas.anquetil@inria.fr] Gesendet: Dienstag, 31. Mai 2011 15:29 Bis: Moose-related development Betreff: [Moose-dev] Re: Classpath in VerveineJ
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
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"No matter how many recipes we know, we still value a chef."
-- www.tudorgirba.com
"To lead is not to demand things, it is to make them happen."