/tmp/src> /Users/alexandrebergel/Dropbox/Document/verveinej/verveinej.sh -- src/
Exception in thread "main" java.lang.IllegalStateException: invalid environment settings
at org.eclipse.jdt.core.dom.ASTParser.getClasspath(ASTParser.java:256)
at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:988)
at eu.synectique.verveine.extractor.java.VerveineJParser.parse(Unknown Source)
at eu.synectique.verveine.extractor.java.VerveineJParser.main(Unknown Source)
/tmp/src>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> On Jun 23, 2015, at 2:31 PM, Nicolas Anquetil
nicolas.anquetil@inria.fr wrote:
>
>
> I have seen this problem a couple of time.
>
> It comes from the fact that verveinej.sh accept 2 kind of parameters
> - parameters for the jvm (for example to specify how much memory verveinej can use)
> - parameters for verveinej (for example to specify libraries that are part of the project to parse)
>
> both set of parameters are separated by a --
>
> I *beleive* that in the past verveinej.sh was considering by default that all parameters were for verveinej when no "--" appeared
>
> now it seems that by default everything is for the jvm unless it comes after a "--"
>
> so try it a gain like this:
> "verveinej.sh -- src/"
>
> this is on my todo list
>
> nicolas
>
>
> On 23/06/2015 19:20, Alexandre Bergel wrote:
>> Hi!
>>
>> I am getting an exception when running VerveineJ.
>>
>> /tmp/src> /Users/alexandrebergel/Dropbox/Document/verveinej/verveinej.sh src/
>> Exception in thread "main" java.lang.IllegalStateException: invalid environment settings
>>
>> at org.eclipse.jdt.core.dom.ASTParser.getClasspath(ASTParser.java:256)
>>
>> at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:988)
>>
>> at eu.synectique.verveine.extractor.java.VerveineJParser.parse(Unknown Source)
>>
>> at eu.synectique.verveine.extractor.java.VerveineJParser.main(Unknown Source)
>>
>> The src folder contains one unique file, Label.java, attached here.
>>
>>
>>
>> We run these example to check whether the .MSE file indicates that the class Label depends on AssociatedField.
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel
http://www.bergel.eu http://www.bergel.eu/
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev 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