Strange, it works fine with me.
you could put as first line of verveinej.sh :
#!/bin/bash-xv
so that we can see exactly how the verveinej binary is called
attached is the mse file produced.
To answer your other question : no it does not detect the dependency to
AssociatedField.
The later is not even created.
The problem is that Set is an unknown type (i.e. not even a FAMIXClass)
so its "parameter" is not treated
nicolas
On 23/06/2015 21:43, Alexandre Bergel wrote:
I still have the problem:
/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>
Any idea what happens?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Jun 23, 2015, at 2:31 PM, Nicolas Anquetil
<nicolas.anquetil(a)inria.fr <mailto: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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev