Hi,
I'm currently changing from ant to maven, so quite a newbee with
maven.
Samples (based from doc) works well.
But as GWT 1.5.1 (aka A.5.0(RC2)) is now available from repo1, im
trying to make my poms completelly independent from local installation
and thus, to not require GWT previously installed on developper's
environement.
Which means :
No "google.webtoolkit.home" property.
No GWT_HOME env variable.
=> gwt libsare standard maven dependencies.
I'm curently using maven-googlewebtoolkit2-plugin-2.0-beta19 and i got
an error (NullPointerException) while trying to achieve goal gwt:debug
(in fact any other goal implying the plugin).
Here is a part of the stack :
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at
com.totsp.mavenplugin.gwt.AbstractGWTMojo.buildClasspathList(AbstractGWTMojo.java:
325)
at
com.totsp.mavenplugin.gwt.ScriptWriterWindows.writeCompileScript(ScriptWriterWindows.java:
90)
at com.totsp.mavenplugin.gwt.CompileMojo.execute(CompileMojo.java:52)
As i looked in svn/trunk, it seems code is supposed to manage the case
i want to setup :
//Because Maven loses our properties for some odd reason, we
need to double check
File gwtHome = getGwtHome();
if (gwtHome == null && GWT_PATH != null) {
gwtHome = new File(GWT_PATH);
}
if (gwtHome != null) {
items.add(gwtHome);
items.add(new File(gwtHome, "gwt-user.jar"));
items.add(new File(gwtHome, GWTSetup.guessDevJarName()));
}
// else we assume all required gwt jars have been added as
regular maven dependencies
I'm not sure what version of this AbstractGWTMojo.java file is in
2.0beta19 but i doubt its this one as :
324 if (gwtHome == null && GWT_PATH != null) {
325 gwtHome = new File(GWT_PATH);
}
325 cannot throw this exception (GWT_PATH tested line before).
Can you check this issue?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---