mcollovati
(Marco Collovati)
October 4, 2017, 10:58am
1
Hi Tiziano,
I think you are confusing com.vaadin.server.widgetsetutils.ClassPathExplorer (on vaadin-server jar) and com.vaadin.integration.maven.wscdn.ClassPathExplorer (in maven plugin).
For the maven plugin class debug is forced to true so you should see all info when runnig maven goal
HTH
Marco
Tiziano7
(Tiziano Maini)
October 4, 2017, 10:23am
2
In class com/vaadin/server/widgetsetutils/ClassPathExplorer.java (which is called when I run mvn vaadin:update-widgetset)
i found this code
private static boolean debug = false;
static {
String debugProperty = System.getProperty(“debug”);
if (debugProperty != null && !debugProperty.equals(“”)) {
debug = true;
}
}
For what I understand, if I can set a system property called debug, I can get extra info.
I try with adding this to pom.xml
com.vaadin
vaadin-maven-plugin
...
-Ddebug=true
...
but i cannot success.
Any idea?
Tiziano7
(Tiziano Maini)
October 4, 2017, 12:55pm
3
Yes, I’m sorry, I’m confusing the two classes.
But I can’t debug the class becouse in terminal i cannot see any of the log in terminal…
for example i cannot see
…debug("getClassPathLocations took " + (end - start) + “ms”);
…debug("Classpath: " + classpath);
…debug(url.toString());
mcollovati
(Marco Collovati)
October 4, 2017, 1:08pm
4
Hi Tiziano,
I think you can’t see those lines because it seems that the private methods that uses debug are never invoked