[
http://jira.codehaus.org/browse/MGWT-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174217#action_174217
]
Max Matveev commented on MGWT-49:
---------------------------------
Copy-pasted command works correctly.
The command is:
[DEBUG] Execute command :
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
-Xmx512m -classpath
"/Users/cthulhu/Documents/Development/diary/application/src/main/java:/Users/cthulhu/Documents/Development/diary/model/src/main/java:/Users/cthulhu/Documents/Development/diary/security/src/main/java:/Users/cthulhu/Documents/Development/diary/gwt-spring-support/src/main/java:/Users/cthulhu/Documents/Development/diary/application/src/main/resources:/Users/cthulhu/Documents/Development/diary/model/src/main/resources:/Users/cthulhu/Documents/Development/diary/security/src/main/resources:/Users/cthulhu/Documents/Development/diary/gwt-spring-support/src/main/resources:/Users/cthulhu/Documents/Development/diary/application/target/classes:/Users/cthulhu/Documents/Development/diary/model/target/classes:/Users/cthulhu/.m2/repository/ru/maxmatveev/dyndao/0.36/dyndao-0.36.jar:/Users/cthulhu/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar:/Users/cthulhu/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar:/Users/cthulhu/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/cthulhu/.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar:/Users/cthulhu/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar:/Users/cthulhu/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar:/Users/cthulhu/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/cthulhu/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar:/Users/cthulhu/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar:/Users/cthulhu/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar:/Users/cthulhu/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar:/Users/cthulhu/.m2/repository/javassist/javassist/3.8.0.GA/javassist-3.8.0.GA.jar:/Users/cthulhu/.m2/repository/org/springframework/spring-web/2.5.6/spring-web-2.5.6.jar:/Users/cthulhu/.m2/repository/org/springframework/spring-beans/2.5.6/spring-beans-2.5.6.jar:/Users/cthulhu/.m2/repository/org/springframework/spring-core/2.5.6/spring-core-2.5.6.jar:/Users/cthulhu/.m2/repository/org/springframework/spring-context/2.5.6/spring-context-2.5.6.jar:/Users/cthulhu/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/cthulhu/.m2/repository/org/springframework/spring/2.5.6/spring-2.5.6.jar:/Users/cthulhu/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar:/Users/cthulhu/.m2/repository/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar:/Users/cthulhu/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar:/Users/cthulhu/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar:/Users/cthulhu/Documents/Development/diary/security/target/classes:/Users/cthulhu/.m2/repository/org/springframework/spring-hibernate3/2.0.8/spring-hibernate3-2.0.8.jar:/Users/cthulhu/.m2/repository/org/springframework/spring-dao/2.0.8/spring-dao-2.0.8.jar:/Users/cthulhu/.m2/repository/org/springframework/spring-jdbc/2.0.8/spring-jdbc-2.0.8.jar:/Users/cthulhu/.m2/repository/org/springframework/security/spring-security-core/2.0.4/spring-security-core-2.0.4.jar:/Users/cthulhu/.m2/repository/org/springframework/spring-aop/2.0.8/spring-aop-2.0.8.jar:/Users/cthulhu/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/Users/cthulhu/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/Users/cthulhu/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar:/Users/cthulhu/.m2/repository/org/slf4j/slf4j-log4j12/1.5.6/slf4j-log4j12-1.5.6.jar:/Users/cthulhu/.m2/repository/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.jar:/Users/cthulhu/Documents/Development/diary/gwt-spring-support/target/classes:/Users/cthulhu/.m2/repository/com/google/gwt/gwt-user/1.6.4/gwt-user-1.6.4.jar:/Users/cthulhu/.m2/repository/com/google/gwt/gwt-dev/1.6.4/gwt-dev-1.6.4-mac.jar"
com.google.gwt.dev.Compiler -gen
"/Users/cthulhu/Documents/Development/diary/application/target/.generated"
-logLevel ERROR -style OBF -war
"/Users/cthulhu/Documents/Development/diary/application/src/main/webapp"
-localWorkers 2 ru.digitaldiary.application.Application
[ERROR] Exception in thread "main" java.lang.NoClassDefFoundError:
com/google/gwt/dev/Compiler
> Build fails on Mac with exception: [ERROR] Exception in thread "main"
> java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: MGWT-49
> URL: http://jira.codehaus.org/browse/MGWT-49
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Mac OS 10.5.6, Maven 2.0.9, GWT 1.5.3 and 1.6.4
> Reporter: Max Matveev
> Priority: Blocker
>
> With current version of plugin GWT compilation fails with error
> [ERROR] Exception in thread "main" java.lang.NoClassDefFoundError:
> com/google/gwt/dev/Compiler
> It does not depend on project (tried to create new) and GWT version (tried
> 1.5.3 and 1.6.4)
> Worked well with version gwt-maven-plugin-1.1-20090312.110417-34
> Please let me know how i can provide more details.
> sample POM fragment:
> ...
> <dependencies>
> <dependency>
> <groupId>com.google.gwt</groupId>
> <artifactId>gwt-servlet</artifactId>
> <version>${gwtVersion}</version>
> <scope>runtime</scope>
> </dependency>
> <dependency>
> <groupId>com.google.gwt</groupId>
> <artifactId>gwt-user</artifactId>
> <version>${gwtVersion}</version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <properties>
> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> <gwtVersion>1.6.4</gwtVersion>
> <javaVersion>1.5</javaVersion>
> </properties>
> <build>
> <defaultGoal>install</defaultGoal>
> <pluginManagement>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>gwt-maven-plugin</artifactId>
> <version>1.1-SNAPSHOT</version>
> <configuration>
> <logLevel>ERROR</logLevel>
> <style>OBF</style>
> <extraJvmArgs>-Xmx512m</extraJvmArgs>
> </configuration>
> <executions>
> <execution>
> <goals>
> <goal>compile</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> ...
> Plugin repositories are set up to Codehaus snapshots repo.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email