Current build still not working for me

3 views
Skip to first unread message

Benjamin Renaud

unread,
Apr 26, 2009, 12:44:55 PM4/26/09
to codehaus-mojo-gwt-...@googlegroups.com
Hi Everyone,

First thanks to everyone who participates and makes this product
better - this is a very useful piece of software, and it's been great
using it!

Now, I've been using the build from April 18th because I keep seeing
failures in the newer stuff.

I just re-tested this morning, and sure enough, the same error (though
with more detailed info):

First, this is what got downloaded:

[INFO] snapshot org.codehaus.mojo:gwt-maven-plugin:1.1-SNAPSHOT:
checking for updates from atlassian-m1-repository
Downloading: http://snapshots.repository.codehaus.org//org/codehaus/mojo/gwt-maven-plugin/1.1-SNAPSHOT/gwt-maven-plugin-1.1-20090426.135050-40.pom
11K downloaded (gwt-maven-plugin-1.1-20090426.135050-40.pom)
Downloading: http://snapshots.repository.codehaus.org//org/codehaus/mojo/gwt-maven-plugin/1.1-SNAPSHOT/gwt-maven-plugin-1.1-20090426.135050-40.jar
110K downloaded (gwt-maven-plugin-1.1-20090426.135050-40.jar)

and dependencies

Downloading: http://oss.sonatype.org/content/repositories/plexus-snapshots//org/codehaus/plexus/plexus-utils/1.5.9-SNAPSHOT/plexus-utils-1.5.9-20090425.220225-1.pom
5K downloaded (plexus-utils-1.5.9-20090425.220225-1.pom)
Downloading: http://oss.sonatype.org/content/repositories/plexus-snapshots//org/codehaus/plexus/plexus-utils/1.5.9-SNAPSHOT/plexus-utils-1.5.9-20090425.220225-1.jar
261K downloaded (plexus-utils-1.5.9-20090425.220225-1.jar)

[INFO] [gwt:compile {execution: default}]
[INFO] using GWT jars from project dependencies : 1.5.3
[INFO] Unpack native libraries required to run GWT
[INFO] auto discovered modules
[com.generalspark.forum.voting.votecreator.VoteCreator,
com.generalspark.forum.voting.votermanager.VoterManager,
com.generalspark.forum.voting.voter.Voter,
com.generalspark.forum.voting.votelist.VoteList,
com.generalspark.forum.core.Core]
[INFO] establishing classpath list (scope = compile)
[ERROR] Exception in thread "main" java.lang.NoClassDefFoundError: com/
google/gwt/dev/GWTCompiler
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Command [[
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/
java -Xmx256m -Xms256m -classpath "/Users/br/dev/projects/plugin_forum/
src/main/java":"/Users/br/dev/projects/plugin_forum/src/main/
resources":"/Users/br/dev/projects/plugin_forum/target/classes":"/
Users/br/.m2/repository/com/google/gwt/gwt-user/1.5.3/gwt-
user-1.5.3.jar":"/Users/br/.m2/repository/junit/junit/4.4/
junit-4.4.jar":"/Users/br/.m2/repository/commons-logging/commons-
logging/1.0.4/commons-logging-1.0.4.jar":"/Users/br/.m2/repository/com/
extjs/gxt/1.2.3/gxt-1.2.3.jar":"/Users/br/.m2/repository/com/salesdock/
marlin/0.1/marlin-0.1.jar":"/Users/br/.m2/repository/com/atlassian/
confluence/confluence/2.10.1/confluence-2.10.1.jar":"/Users/br/.m2/
repository/com/atlassian/confluence/confluence-upgrade/2.10.1/
confluence-upgrade-2.10.1.jar":"/Users/br/.m2/repository/com/atlassian/
bucket/atlassian-bucket/1.3/atlassian-bucket-1.3.jar":"/Users/br/.m2/
repository/com/atlassian/cache/atlassian-cache-api/0.1/atlassian-cache-
api-0.1.jar":"/Users/br/.m2/repository/com/atlassian/config/atlassian-
config/0.12/atlassian-config-0.12.jar":"/Users/br/.m2/repository/com/
atlassian/core/atlassian-core/3.18/atlassian-core-3.18.jar":"/Users/
br/.m2/repository/com/atlassian/profiling/atlassian-profiling/1.8/
atlassian-profiling-1.8.jar":"/Users/br/.m2/repository/javax/servlet/
servlet-api/2.3/servlet-api-2.3.jar":"/Users/br/.m2/repository/commons-
collections/commons-collections/3.2/commons-collections-3.2.jar":"/
Users/br/.m2/repository/commons-io/commons-io/1.4/commons-
io-1.4.jar":"/Users/br/.m2/repository/commons-lang/commons-lang/2.4/
commons-lang-2.4.jar":"/Users/br/.m2/repository/osuser/osuser/atl.user/
osuser-atl.user.jar":"/Users/br/.m2/repository/opensymphony/sitemesh/
2.3-atlassian/sitemesh-2.3-atlassian.jar":"/Users/br/.m2/repository/
opensymphony/webwork/2.1.5-atlassian-2/webwork-2.1.5-
atlassian-2.jar":"/Users/br/.m2/repository/xerces/xercesImpl/2.8.1/
xercesImpl-2.8.1.jar":"/Users/br/.m2/repository/dom4j/dom4j/1.4-full/
dom4j-1.4-full.jar":"/Users/br/.m2/repository/velocity/velocity/1.5/
velocity-1.5.jar":"/Users/br/.m2/repository/opensymphony/oscore/2.2.7/
oscore-2.2.7.jar":"/Users/br/.m2/repository/log4j/log4j/1.2.15/
log4j-1.2.15.jar":"/Users/br/.m2/repository/javax/mail/mail/1.4.1/
mail-1.4.1.jar":"/Users/br/.m2/repository/javax/activation/activation/
1.0.2/activation-1.0.2.jar":"/Users/br/.m2/repository/mockobjects/alt-
jdk1.3/0.07/alt-jdk1.3-0.07.jar":"/Users/br/.m2/repository/oscache/
oscache/2.2/oscache-2.2.jar":"/Users/br/.m2/repository/com/atlassian/
spring/atlassian-spring/0.8/atlassian-spring-0.8.jar":"/Users/br/.m2/
repository/com/atlassian/event/atlassian-event/0.5/atlassian-
event-0.5.jar":"/Users/br/.m2/repository/org/springframework/spring-
core/2.0.8/spring-core-2.0.8.jar":"/Users/br/.m2/repository/org/
springframework/spring-context/2.0.8/spring-context-2.0.8.jar":"/Users/
br/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar":"/
Users/br/.m2/repository/org/springframework/spring-beans/2.0.8/spring-
beans-2.0.8.jar":"/Users/br/.m2/repository/backport-util-concurrent/
backport-util-concurrent/3.0/backport-util-concurrent-3.0.jar":"/Users/
br/.m2/repository/org/springframework/spring-web/2.0.8/spring-
web-2.0.8.jar":"/Users/br/.m2/repository/org/springframework/spring-
hibernate2/2.0.8/spring-hibernate2-2.0.8.jar":"/Users/br/.m2/
repository/hibernate/hibernate/2.1.8-atlassian-3/hibernate-2.1.8-
atlassian-3.jar":"/Users/br/.m2/repository/org/springframework/spring-
dao/2.0.8/spring-dao-2.0.8.jar":"/Users/br/.m2/repository/org/
springframework/spring-jdbc/2.0.8/spring-jdbc-2.0.8.jar":"/Users/
br/.m2/repository/com/atlassian/johnson/atlassian-johnson/0.10/
atlassian-johnson-0.10.jar":"/Users/br/.m2/repository/opensymphony/
propertyset/1.3-21Nov03/propertyset-1.3-21Nov03.jar":"/Users/br/.m2/
repository/oro/oro/2.0.8/oro-2.0.8.jar":"/Users/br/.m2/repository/com/
atlassian/user/atlassian-user/2.0.1/atlassian-user-2.0.1.jar":"/Users/
br/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar":"/
Users/br/.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar":"/
Users/br/.m2/repository/org/springframework/spring-aop/2.0.8/spring-
aop-2.0.8.jar":"/Users/br/.m2/repository/net/sf/ldaptemplate/
ldaptemplate/1.0.1/ldaptemplate-1.0.1.jar":"/Users/br/.m2/repository/
com/atlassian/bonnie/atlassian-bonnie/2.15/atlassian-
bonnie-2.15.jar":"/Users/br/.m2/repository/org/apache/lucene/lucene-
core/2.2.0/lucene-core-2.2.0.jar":"/Users/br/.m2/repository/org/apache/
lucene/lucene-analyzers/2.2.0/lucene-analyzers-2.2.0.jar":"/Users/
br/.m2/repository/tm-extractors/tm-extractors/0.4/tm-
extractors-0.4.jar":"/Users/br/.m2/repository/pdfbox/pdfbox/0.7.2/
pdfbox-0.7.2.jar":"/Users/br/.m2/repository/mockobjects/mockobjects-
j1.3-j2ee1.3/0.07/mockobjects-j1.3-j2ee1.3-0.07.jar":"/Users/br/.m2/
repository/commons-beanutils/commons-beanutils/1.6.1/commons-
beanutils-1.6.1.jar":"/Users/br/.m2/repository/cglib/cglib/2.1_3/
cglib-2.1_3.jar":"/Users/br/.m2/repository/asm/asm/1.5.3/
asm-1.5.3.jar":"/Users/br/.m2/repository/odmg/odmg/3.0/odmg-3.0.jar":"/
Users/br/.m2/repository/org/springframework/spring-support/2.0.8/
spring-support-2.0.8.jar":"/Users/br/.m2/repository/quartz/quartz/
1.5.2/quartz-1.5.2.jar":"/Users/br/.m2/repository/com/atlassian/seraph/
atlassian-seraph/0.38.2/atlassian-seraph-0.38.2.jar":"/Users/br/.m2/
repository/bouncycastle/bcprov-jdk14/136/bcprov-jdk14-136.jar":"/Users/
br/.m2/repository/com/atlassian/gzipfilter/atlassian-gzipfilter/1.6/
atlassian-gzipfilter-1.6.jar":"/Users/br/.m2/repository/net/java/dev/
urlrewrite/urlrewrite/2.6.0/urlrewrite-2.6.0.jar":"/Users/br/.m2/
repository/com/atlassian/mail/atlassian-mail/1.16/atlassian-
mail-1.16.jar":"/Users/br/.m2/repository/com/atlassian/velocity/
atlassian-velocity/0.7/atlassian-velocity-0.7.jar":"/Users/br/.m2/
repository/mockobjects/mockobjects-alt-jdk1.3-j2ee1.3/0.09/mockobjects-
alt-jdk1.3-j2ee1.3-0.09.jar":"/Users/br/.m2/repository/commons-
digester/commons-digester/1.5/commons-digester-1.5.jar":"/Users/br/.m2/
repository/com/atlassian/plugins/atlassian-plugins-core/2.1.4/
atlassian-plugins-core-2.1.4.jar":"/Users/br/.m2/repository/com/
atlassian/xwork/atlassian-xwork-10/1.5/atlassian-xwork-10-1.5.jar":"/
Users/br/.m2/repository/com/atlassian/xwork/atlassian-xwork-core/1.5/
atlassian-xwork-core-1.5.jar":"/Users/br/.m2/repository/opensymphony/
xwork/1.0.3.1/xwork-1.0.3.1.jar":"/Users/br/.m2/repository/commons-
fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar":"/
Users/br/.m2/repository/com/servlets/cos/09May2002/
cos-09May2002.jar":"/Users/br/.m2/repository/ognl/ognl/2.6.5/
ognl-2.6.5.jar":"/Users/br/.m2/repository/rome/rome/0.8/
rome-0.8.jar":"/Users/br/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar":"/
Users/br/.m2/repository/org/slf4j/slf4j-api/1.4.3/slf4j-
api-1.4.3.jar":"/Users/br/.m2/repository/com/atlassian/trackback/
atlassian-trackback/0.10/atlassian-trackback-0.10.jar":"/Users/br/.m2/
repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar":"/
Users/br/.m2/repository/commons-httpclient/commons-httpclient/3.0/
commons-httpclient-3.0.jar":"/Users/br/.m2/repository/com/atlassian/
extras/atlassian-extras/1.20.2/atlassian-extras-1.20.2.jar":"/Users/
br/.m2/repository/joda-time/joda-time/1.4/joda-time-1.4.jar":"/Users/
br/.m2/repository/com/atlassian/cache/servlet/atlassian-cache-servlet/
0.10/atlassian-cache-servlet-0.10.jar":"/Users/br/.m2/repository/com/
atlassian/plugins/atlassian-plugins-servlet/2.1.4/atlassian-plugins-
servlet-2.1.4.jar":"/Users/br/.m2/repository/com/atlassian/plugins/
atlassian-plugins-webfragment/2.1.4/atlassian-plugins-
webfragment-2.1.4.jar":"/Users/br/.m2/repository/com/atlassian/plugins/
atlassian-plugins-webresource/2.1.4/atlassian-plugins-
webresource-2.1.4.jar":"/Users/br/.m2/repository/com/atlassian/plugins/
atlassian-plugins-osgi/2.1.4/atlassian-plugins-osgi-2.1.4.jar":"/Users/
br/.m2/repository/biz/aQute/bndlib/0.0.255/bndlib-0.0.255.jar":"/Users/
br/.m2/repository/org/apache/felix/org.apache.felix.main/1.2.1-
atlassian-3/org.apache.felix.main-1.2.1-atlassian-3.jar":"/Users/
br/.m2/repository/org/apache/felix/org.apache.felix.framework/1.2.1-
atlassian-3/org.apache.felix.framework-1.2.1-atlassian-3.jar":"/Users/
br/.m2/repository/org/twdata/pkgscanner/package-scanner/0.7.2/package-
scanner-0.7.2.jar":"/Users/br/.m2/repository/com/atlassian/plugins/
atlassian-plugins-spring/2.1.4/atlassian-plugins-spring-2.1.4.jar":"/
Users/br/.m2/repository/com/atlassian/bandana/atlassian-bandana/0.4/
atlassian-bandana-0.4.jar":"/Users/br/.m2/repository/xpp3/
xpp3/1.1.3.4d_b4_min/xpp3-1.1.3.4d_b4_min.jar":"/Users/br/.m2/
repository/xstream/xstream/1.1.1/xstream-1.1.1.jar":"/Users/br/.m2/
repository/com/atlassian/renderer/atlassian-renderer/4.3/atlassian-
renderer-4.3.jar":"/Users/br/.m2/repository/net/sourceforge/nekohtml/
nekohtml/1.9.7/nekohtml-1.9.7.jar":"/Users/br/.m2/repository/radeox/
radeox/1.0b2-forked-22Apr2004/radeox-1.0b2-forked-22Apr2004.jar":"/
Users/br/.m2/repository/org/hibernate/jtidy/r8-20060801/jtidy-
r8-20060801.jar":"/Users/br/.m2/repository/org/apache/poi/poi/3.0.2-
FINAL/poi-3.0.2-FINAL.jar":"/Users/br/.m2/repository/org/apache/poi/
poi-scratchpad/3.0.2-FINAL/poi-scratchpad-3.0.2-FINAL.jar":"/Users/
br/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-
log4j12-1.4.3.jar":"/Users/br/.m2/repository/org/directwebremoting/dwr/
2.0.3/dwr-2.0.3.jar":"/Users/br/.m2/repository/c3p0/c3p0/0.9.1.2/
c3p0-0.9.1.2.jar":"/Users/br/.m2/repository/org/springframework/spring-
jmx/2.0.8/spring-jmx-2.0.8.jar":"/Users/br/.m2/repository/com/
atlassian/paddle/atlassian-paddle/5/atlassian-paddle-5.jar":"/Users/
br/.m2/repository/aspectj/aspectjweaver/1.5.3-atl/aspectjweaver-1.5.3-
atl.jar":"/Users/br/.m2/repository/velocity-tools/velocity-tools/
view-1.1/velocity-tools-view-1.1.jar":"/Users/br/.m2/repository/jython/
jython/2.1-forked/jython-2.1-forked.jar":"/Users/br/.m2/repository/org/
apache/lucene/lucene-misc/2.2.0/lucene-misc-2.2.0.jar":"/Users/br/.m2/
repository/org/apache/lucene/lucene-highlighter/2.3.2/lucene-
highlighter-2.3.2.jar":"/Users/br/.m2/repository/FontBox/FontBox/0.1.0-
dev/FontBox-0.1.0-dev.jar":"/Users/br/.m2/repository/fop/fop/
trunk-534713-atlassian/fop-trunk-534713-atlassian.jar":"/Users/br/.m2/
repository/xmlgraphics-commons/xmlgraphics-commons/1.2svn/xmlgraphics-
commons-1.2svn.jar":"/Users/br/.m2/repository/batik/batik-all/1.6/
batik-all-1.6.jar":"/Users/br/.m2/repository/avalon-framework/avalon-
framework/4.2.0/avalon-framework-4.2.0.jar":"/Users/br/.m2/repository/
com/sun/jai_core/1.1.3/jai_core-1.1.3.jar":"/Users/br/.m2/repository/
com/sun/jai_codec/1.1.3/jai_codec-1.1.3.jar":"/Users/br/.m2/repository/
net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5.jar":"/Users/
br/.m2/repository/org/w3c/css/sac/1.3/sac-1.3.jar":"/Users/br/.m2/
repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar":"/Users/br/.m2/
repository/alt/alt-0.07/j1.3-j2ee1.3/alt-0.07-j1.3-j2ee1.3.jar":"/
Users/br/.m2/repository/alt/alt/0.07-jdk1.3/alt-0.07-jdk1.3.jar":"/
Users/br/.m2/repository/exml/exml/7.1/exml-7.1.jar":"/Users/br/.m2/
repository/commons-jrcs/commons-jrcs/diff-0.1.7/commons-jrcs-
diff-0.1.7.jar":"/Users/br/.m2/repository/xmlrpc/xmlrpc/
2.0+xmlrpc61.1+sbfix/xmlrpc-2.0+xmlrpc61.1+sbfix.jar":"/Users/br/.m2/
repository/glue/glue/5.0b2/glue-5.0b2.jar":"/Users/br/.m2/repository/
axis/axis/1.2.1/axis-1.2.1.jar":"/Users/br/.m2/repository/wsdl4j/
wsdl4j/1.5.1/wsdl4j-1.5.1.jar":"/Users/br/.m2/repository/commons-
discovery/commons-discovery/0.2/commons-discovery-0.2.jar":"/Users/
br/.m2/repository/axis/axis-jaxrpc/1.2.1/axis-jaxrpc-1.2.1.jar":"/
Users/br/.m2/repository/axis/axis-saaj/1.2.1/axis-saaj-1.2.1.jar":"/
Users/br/.m2/repository/slide/slide/2.1/slide-2.1.jar":"/Users/br/.m2/
repository/bsf/bsf/2.3.0/bsf-2.3.0.jar":"/Users/br/.m2/repository/
jfree/jfreechart/1.0.0/jfreechart-1.0.0.jar":"/Users/br/.m2/repository/
jfree/jcommon/1.0.0/jcommon-1.0.0.jar":"/Users/br/.m2/repository/xalan/
xalan/2.7.0/xalan-2.7.0.jar":"/Users/br/.m2/repository/com/octo/
captcha/jcaptcha-all/1.0-RC6/jcaptcha-all-1.0-RC6.jar":"/Users/br/.m2/
repository/commons-pool/commons-pool/1.3/commons-pool-1.3.jar":"/Users/
br/.m2/repository/concurrent/concurrent/1.3.4/concurrent-1.3.4.jar":"/
Users/br/.m2/repository/tangosol-coherence/tangosol/3.3/
tangosol-3.3.jar":"/Users/br/.m2/repository/tangosol-coherence/
coherence/3.3/coherence-3.3.jar":"/Users/br/.m2/repository/stax/stax-
api/1.0.1/stax-api-1.0.1.jar":"/Users/br/.m2/repository/org/codehaus/
woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar":"/Users/br/.m2/repository/
org/codehaus/xfire/xfire-all/1.2.6/xfire-all-1.2.6.jar":"/Users/br/.m2/
repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar":"/
Users/br/.m2/repository/com/atlassian/cache/atlassian-cache-memory/0.1/
atlassian-cache-memory-0.1.jar":"/Users/br/.m2/repository/com/google/
gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-mac.jar"
com.google.gwt.dev.GWTCompiler -gen "/Users/br/dev/projects/
plugin_forum/target/.generated" -logLevel INFO -style DETAILED -out "/
Users/br/dev/projects/plugin_forum/target/classes/ui"
com.generalspark.forum.voting.votecreator.VoteCreator
]] failed with status 1

If I copy and paste that exact function on the command line, it works
fine.

My pom looks like this:

<properties>
<gwt.version>1.5.3</gwt.version>
</properties>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
<!-- <version>1.1-20090418.082909-35</version> -->
<configuration>
<port>7777</port>
<output>${project.build.directory}/classes/ui</
output>
<logLevel>INFO</logLevel>

<runTarget>com.generalspark.forum.voting.votecreator.VoteCreator/
VoteCreator.html</runTarget>
<style>DETAILED</style>
<extraJvmArgs>-Xmx256m -Xms256m</extraJvmArgs>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>

<dependencies>
<!-- GWT deps (from central repo) -->
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gwt.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwt.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
</dependency>
<!-- This prevents logging from getting incorporated into the
plugin,
which causes two versions of Log to be available, and havoc -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.extjs</groupId>
<artifactId>gxt</artifactId>
<version>1.2.3</version>
</dependency>
</dependencies>

<!-- profiles (with activation per platform) -->
<profiles>
<profile>
<id>gwt-dev-windows</id>
<properties>
<platform>windows</platform>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
<os>
<family>windows</family>
</os>
</activation>
</profile>
<profile>
<id>gwt-dev-mac</id>
<properties>
<platform>mac</platform>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
<os>
<family>mac</family>
</os>
</activation>
</profile>
<profile>
<id>gwt-dev-linux</id>
<properties>
<platform>linux</platform>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
<os>
<name>linux</name>
</os>
</activation>
</profile>
</profiles>


Any help much appreciated!

Benjamin

BR

unread,
Apr 26, 2009, 1:46:26 PM4/26/09
to Codehaus Mojo gwt-maven-plugin Users
So I have figured out the issue. When I look at the command, the
quoting seemed like it might cause an issue - something the shell
might take care of but that the Java exec process might choke on.

Long story short, AbstractGwtShellMojo.java, which is ultimately
responsible for running the compile command, iterates through
Classpath items and quotes every one of them separately.

Line 527 of SVN 9609:
path.add( quote( file.getAbsolutePath
() ) );

Simply removing the quote call ( path.add( file.getAbsolutePath() ); )
fixes the issue.

Cheers!
Ben

On Apr 26, 9:44 am, Benjamin Renaud <benjamin.ren...@gmail.com> wrote:
> Hi Everyone,
>
> First thanks to everyone who participates and makes this product  
> better - this is a very useful piece of software, and it's been great  
> using it!
>
> Now, I've been using the build from April 18th because I keep seeing  
> failures in the newer stuff.
>
> I just re-tested this morning, and sure enough, the same error (though  
> with more detailed info):
>
> First, this is what got downloaded:
>
> [INFO] snapshot org.codehaus.mojo:gwt-maven-plugin:1.1-SNAPSHOT:  
> checking for updates from atlassian-m1-repository
> Downloading:http://snapshots.repository.codehaus.org//org/codehaus/mojo/gwt-maven...
> 11K downloaded  (gwt-maven-plugin-1.1-20090426.135050-40.pom)
> Downloading:http://snapshots.repository.codehaus.org//org/codehaus/mojo/gwt-maven...
> 110K downloaded  (gwt-maven-plugin-1.1-20090426.135050-40.jar)
>
> and dependencies
>
> Downloading:http://oss.sonatype.org/content/repositories/plexus-snapshots//org/co...
> 5K downloaded  (plexus-utils-1.5.9-20090425.220225-1.pom)
> Downloading:http://oss.sonatype.org/content/repositories/plexus-snapshots//org/co...

Farrukh Najmi

unread,
Apr 26, 2009, 4:15:25 PM4/26/09
to codehaus-mojo-gwt-...@googlegroups.com

Hurray for Ben! Thanks for getting us all out of this awful and subtle issue. Hopefully Nicolas can review your fix and roll it into the next SNAPSHOT.
Nicolas, please let us know when that SNAPSHOT is available. The weird thing is that I thought I did try older SNAPSHOTs of the gwt-maven-plugin and still say the issue.
I suppose I must have been mistaken.

Thanks again Ben for being a savior!
--
Regards,
Farrukh

nicolas de loof

unread,
Apr 26, 2009, 4:24:32 PM4/26/09
to codehaus-mojo-gwt-...@googlegroups.com
I also went into this explanation. The shell is responsible to escape quotes. For a strange reason, this is not required on Windows - I tested only on XP - and can be used to bypath the command line leght restriction.

Maybe windows 9x / 2000 / Vista / Seven users could repport plugin working well ?

I just changed the code to use a no-shell commandline and the "standard" plexus-cli Shell (bournShell) on unixes (linus & mac)
tested it and deployed a new SNAPSHOT 1.1-20090426.202207-41

Please test !

Hope this is the last time I introduce such blocking regression :-(
My apologies for troubles on your projects and time lost.

Nicolas

2009/4/26 Farrukh Najmi <farruk...@gmail.com>

nicolas de loof

unread,
Apr 27, 2009, 1:05:22 AM4/27/09
to codehaus-mojo-gwt-...@googlegroups.com
Fixed on linux

maybe not yet on Mac :

but the error is strange and maybe not relevant :

[DEBUG] Execute command :
/bin/sh -c /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -Xmx512m -classpath "/Users/hudson/.hudson/workspace/Mojo-Trunk/jdk/1.5/label/osx/mojo-trunk/gwt-maven-plugin/target/it/gwt1.6-compile/src/main/java":... com.google.gwt.dev.Compiler ...
[INFO] Compiling module org.codehaus.mojo.gwt.test.Hello
[INFO]    [ERROR] Errors in 'jar:file:/Users/hudson/.hudson/workspace/Mojo-Trunk/jdk/1.5/label/osx/mojo-trunk/gwt-maven-plugin/target/local-repo/com/google/gwt/gwt-user/1.6.4/gwt-user-1.6.4.jar!/com/google/gwt/user/client/ui/DisclosurePanel.java'
[INFO]       [ERROR]  Internal compiler error
[INFO] java.lang.InternalError: Can't connect to window server - not enough permissions.
[INFO] 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
[INFO] 	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
[INFO] 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723)
[INFO] 	at java.lang.Runtime.loadLibrary0(Runtime.java:822)


2009/4/26 nicolas de loof <nicolas...@gmail.com>

Farrukh Najmi

unread,
Apr 27, 2009, 7:24:14 AM4/27/09
to codehaus-mojo-gwt-...@googlegroups.com

This is to confirm fix on Linux. Thanks very much Nicholas and Ben!
--
Regards,
Farrukh

BR

unread,
Apr 27, 2009, 10:49:07 AM4/27/09
to Codehaus Mojo gwt-maven-plugin Users
Hi Nicolas,

I have just tested the fix for compiling under 1.5.3 and 1.6.4 and
both work great, thanks!

I have found a couple of problems with gwt:run that likely show up
under MacOS only. The code that takes care of adding "-
XstartOnFirstThread" appears to have a couple of issues. Line 384 in
Abstract down:

if ( PlatformUtil.OS_NAME.startsWith( "mac" ) &&
(extraJvmArgs.contains( "-XstartOnFirstThread" ) ) )
{
extra.add( " -XstartOnFirstThread " );
}

The first line should read .... && (! extraJvmArgs.contains( "-
XstartOnFirstThread" )) (i.e. if it's *not* in there, put it in)

and the next line should be extra.add( "-XstartOnFirstThread" ),
*without* the spaces on each side. If there are spaces, the shell will
add single quotes (like so: ' -XstartOnFirstThread ') and cause the
shell command to fail.

I am also experiencing a strange issue with defining my servlets in
web.xml, but I have not yet fully investigated that.

Cheers!
Ben





On Apr 27, 4:24 am, Farrukh Najmi <farrukh.n...@gmail.com> wrote:
> This is to confirm fix on Linux. Thanks very much Nicholas and Ben!
>
> On Mon, Apr 27, 2009 at 1:05 AM, nicolas de loof
> <nicolas.del...@gmail.com>wrote:
>
> > Fixed on linux
> >https://grid.sonatype.org/ci/job/Mojo-Trunk/jdk=1.5,label=ubuntu/261/
>
> > maybe not yet on Mac :
> >https://grid.sonatype.org/ci/job/Mojo-Trunk/jdk=1.5,label=osx/261
>
> > but the error is strange and maybe not relevant :
>
> > [DEBUG] Execute command :
> > /bin/sh -c /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -Xmx512m -classpath "/Users/hudson/.hudson/workspace/Mojo-Trunk/jdk/1.5/label/osx/mojo-trunk/gw t-maven-plugin/target/it/gwt1.6-compile/src/main/java":... com.google.gwt.dev.Compiler ...
> > [INFO] Compiling module org.codehaus.mojo.gwt.test.Hello
> > [INFO]    [ERROR] Errors in 'jar:file:/Users/hudson/.hudson/workspace/Mojo-Trunk/jdk/1.5/label/osx/mojo -trunk/gwt-maven-plugin/target/local-repo/com/google/gwt/gwt-user/1.6.4/gwt -user-1.6.4.jar!/com/google/gwt/user/client/ui/DisclosurePanel.java'
> > [INFO]       [ERROR]  Internal compiler error
> > [INFO] java.lang.InternalError: Can't connect to window server - not enough permissions.
> > [INFO]     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> > [INFO]     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
> > [INFO]     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723)
> > [INFO]     at java.lang.Runtime.loadLibrary0(Runtime.java:822)
>
> > 2009/4/26 nicolas de loof <nicolas.del...@gmail.com>
>
> > I also went into this explanation. The shell is responsible to escape
> >> quotes. For a strange reason, this is not required on Windows - I tested
> >> only on XP - and can be used to bypath the command line leght restriction.
> >> Maybe windows 9x / 2000 / Vista / Seven users could repport plugin working
> >> well ?
>
> >> I just changed the code to use a no-shell commandline and the "standard"
> >> plexus-cli Shell (bournShell) on unixes (linus & mac)
> >> tested it and deployed a new SNAPSHOT 1.1-20090426.202207-41
>
> >> Please test !
>
> >> Hope this is the last time I introduce such blocking regression :-(
> >> My apologies for troubles on your projects and time lost.
>
> >> Nicolas
>
> >> 2009/4/26 Farrukh Najmi <farrukh.n...@gmail.com>
>
> >>> Hurray for Ben! Thanks for getting us all out of this awful and subtle
> >>> issue. Hopefully Nicolas can review your fix and roll it into the next
> >>> SNAPSHOT.
> >>> Nicolas, please let us know when that SNAPSHOT is available. The weird
> >>> thing is that I thought I did try older SNAPSHOTs of the gwt-maven-plugin
> >>> and still say the issue.
> >>> I suppose I must have been mistaken.
>
> >>> Thanks again Ben for being a savior!
>
> ...
>
> read more »

nicolas de loof

unread,
Apr 27, 2009, 10:52:34 AM4/27/09
to codehaus-mojo-gwt-...@googlegroups.com
Fixed in SVN, I also can't get my servelt to get deployed using gwt;run (with IT test project gwt1.6-compile). Have to investigate more ...

2009/4/27 BR <benjami...@gmail.com>
Reply all
Reply to author
Forward
0 new messages