My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

Last 30 days

  • Dec 01, 2009
    issue 212 (gwt-maven-plugin throws java.lang.ClassNotFoundException whe...) Status changed by charlie.collins   -   This isn't a gwt-maven issue, it's a GWT issue, see the issue log there.
    Status: Invalid
    This isn't a gwt-maven issue, it's a GWT issue, see the issue log there.
    Status: Invalid
  • Dec 01, 2009
    issue 214 (GWT 1.7 support (-localWorkers is ignored)) Status changed by charlie.collins   -   This project was deprecated before 1.7 was released.
    Status: Invalid
    This project was deprecated before 1.7 was released.
    Status: Invalid
  • Dec 01, 2009
    issue 215 (Doesn't build against gwt 1.7) Status changed by charlie.collins   -   repo, not this project
    Status: Invalid
    repo, not this project
    Status: Invalid

Earlier this year

  • Sep 09, 2009
    issue 212 (gwt-maven-plugin throws java.lang.ClassNotFoundException whe...) commented on by murray.waters   -   If you do a search for "_j2se_j9" it seems that it is almost always one of the user arguments that is output during a core dump, eg this which I've copied and pasted from one of the first results that came up: 2CIUSERARG -Djava.home=C:\Programme\IBM\Lotus\Notes\framework\rcp\eclipse\plugins\com.ibm.rcp.j2se.win32.x86_1.6.0.20081029a-200811140851\jre 2CIUSERARG -Djava.ext.dirs=C:\Programme\IBM\Lotus\Notes\framework\rcp\eclipse\plugins\com.ibm.rcp.j2se.win32.x86_1.6.0.20081029a-200811140851\jre\lib\ext 2CIUSERARG -Duser.dir=C:\Programme\IBM\Lotus\Notes 2CIUSERARG _j2se_j9=71168 0x7FB97168 2CIUSERARG -Xdump 2CIUSERARG -Dosgi.framework.extensions=com.ibm.rcp.core.logger.frameworkhook,com.ibm.rds,com.ibm.cds 2CIUSERARG -Xscmx64m 2CIUSERARG -Xshareclasses:name=xpdplat_.jvm,controlDir=C:/Programme/IBM/Lotus/Notes/Data/workspace/.config/org.eclipse.osgi,groupAccess,keep,singleJVM,nonfatal 2CIUSERARG -Xgcpolicy:gencon 2CIUSERARG -Xjit:noResumableTrapHandler So, why does it think that "_j2se_j9=71168" is a name of a class that it needs to find, it doesn't even sound nor look like a class name? And it seems to be a user argument? On Jun 18, 2:47 am, Vasily Vasilkov <chand0s....@gmail.com> wrote: > Hi > > I have the IBM JDK 6 and GWT 1.6.4 project. I can't compile my project > with IBM JDK due to exception: > > Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 > at java.net.URLClassLoader.findClass(URLClassLoader.java:419) > at java.lang.ClassLoader.loadClass(ClassLoader.java:643) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:320) > at java.lang.ClassLoader.loadClass(ClassLoader.java:609) > > I completely have no idea what this exception means. I also have tried > to compile on Sun JDK and JRockit - compilation completes > successfully. > > My env: > > # uname -or > 2.6.27.7-smp GNU/Linux > > # java -version > java version "1.6.0" > Java(TM) SE Runtime Environment (build pxi3260sr3-20081106_07(SR3)) > IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 > jvmxi3260-20081105_25433 (JIT enabled, AOT enabled) > J9VM - 20081105_025433_lHdSMr > JIT - r9_20081031_1330 > GC - 20081027_AB) > JCL - 20081106_01
    If you do a search for "_j2se_j9" it seems that it is almost always one of the user arguments that is output during a core dump, eg this which I've copied and pasted from one of the first results that came up: 2CIUSERARG -Djava.home=C:\Programme\IBM\Lotus\Notes\framework\rcp\eclipse\plugins\com.ibm.rcp.j2se.win32.x86_1.6.0.20081029a-200811140851\jre 2CIUSERARG -Djava.ext.dirs=C:\Programme\IBM\Lotus\Notes\framework\rcp\eclipse\plugins\com.ibm.rcp.j2se.win32.x86_1.6.0.20081029a-200811140851\jre\lib\ext 2CIUSERARG -Duser.dir=C:\Programme\IBM\Lotus\Notes 2CIUSERARG _j2se_j9=71168 0x7FB97168 2CIUSERARG -Xdump 2CIUSERARG -Dosgi.framework.extensions=com.ibm.rcp.core.logger.frameworkhook,com.ibm.rds,com.ibm.cds 2CIUSERARG -Xscmx64m 2CIUSERARG -Xshareclasses:name=xpdplat_.jvm,controlDir=C:/Programme/IBM/Lotus/Notes/Data/workspace/.config/org.eclipse.osgi,groupAccess,keep,singleJVM,nonfatal 2CIUSERARG -Xgcpolicy:gencon 2CIUSERARG -Xjit:noResumableTrapHandler So, why does it think that "_j2se_j9=71168" is a name of a class that it needs to find, it doesn't even sound nor look like a class name? And it seems to be a user argument? On Jun 18, 2:47 am, Vasily Vasilkov <chand0s....@gmail.com> wrote: > Hi > > I have the IBM JDK 6 and GWT 1.6.4 project. I can't compile my project > with IBM JDK due to exception: > > Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 > at java.net.URLClassLoader.findClass(URLClassLoader.java:419) > at java.lang.ClassLoader.loadClass(ClassLoader.java:643) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:320) > at java.lang.ClassLoader.loadClass(ClassLoader.java:609) > > I completely have no idea what this exception means. I also have tried > to compile on Sun JDK and JRockit - compilation completes > successfully. > > My env: > > # uname -or > 2.6.27.7-smp GNU/Linux > > # java -version > java version "1.6.0" > Java(TM) SE Runtime Environment (build pxi3260sr3-20081106_07(SR3)) > IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 > jvmxi3260-20081105_25433 (JIT enabled, AOT enabled) > J9VM - 20081105_025433_lHdSMr > JIT - r9_20081031_1330 > GC - 20081027_AB) > JCL - 20081106_01
  • Sep 09, 2009
    issue 212 (gwt-maven-plugin throws java.lang.ClassNotFoundException whe...) commented on by murray.waters   -   Even though it says "BUILD SUCCESSFUL", It doesn't actually compile the GWT code. Ie when you deploy the war/ear and try to open your page, you will get an error saying you need to recompile from the hosted mode browser. Is there any way we could isolate this enough to raise a PMR with IBM? Anyone have any suggestions regarding this? My code gets deployed to WebSphere so it is preferable to have it compiled using the IBM jdk.
    Even though it says "BUILD SUCCESSFUL", It doesn't actually compile the GWT code. Ie when you deploy the war/ear and try to open your page, you will get an error saying you need to recompile from the hosted mode browser. Is there any way we could isolate this enough to raise a PMR with IBM? Anyone have any suggestions regarding this? My code gets deployed to WebSphere so it is preferable to have it compiled using the IBM jdk.
  • Aug 28, 2009
    issue 215 (Doesn't build against gwt 1.7) reported by hanasaki   -   Missing: ---------- 1) com.google.gwt:gwt-user:jar:1.7 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-user -Dversion=1.7 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.google.gwt -DartifactId=gwt-user -Dversion=1.7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.totsp.gwt:maven-googlewebtoolkit2-sample-rpc:jar:1.0-SNAPSHOT 2) com.google.gwt:gwt-user:jar:1.7
    Missing: ---------- 1) com.google.gwt:gwt-user:jar:1.7 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-user -Dversion=1.7 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.google.gwt -DartifactId=gwt-user -Dversion=1.7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.totsp.gwt:maven-googlewebtoolkit2-sample-rpc:jar:1.0-SNAPSHOT 2) com.google.gwt:gwt-user:jar:1.7
  • Aug 23, 2009
    issue 214 (GWT 1.7 support (-localWorkers is ignored)) reported by skarzhevskyy   -   Apparently ScriptWriterFactory looks for GWT 1.6 and does consider 1.7 as older version pre 1.6. This way new features of GWT like localWorkers are ignored in the build. Also looking at the code ScriptWriterWindows16 is never used so we can't take advantage of localWorkers on Windows even with multiple CPUs.
    Apparently ScriptWriterFactory looks for GWT 1.6 and does consider 1.7 as older version pre 1.6. This way new features of GWT like localWorkers are ignored in the build. Also looking at the code ScriptWriterWindows16 is never used so we can't take advantage of localWorkers on Windows even with multiple CPUs.
  • Aug 19, 2009
    r1024 (Added OOPHM support) committed by kebernet   -   Added OOPHM support
    Added OOPHM support
  • Aug 10, 2009
    issue 212 (gwt-maven-plugin throws java.lang.ClassNotFoundException whe...) commented on by murray.waters   -   I'm getting this same error as well, using RAD 7.5.2. I still get "BUILD SUCCESSFUL" though...
    I'm getting this same error as well, using RAD 7.5.2. I still get "BUILD SUCCESSFUL" though...
  • Aug 07, 2009
    r1023 (fixed multi compile) committed by kebernet   -   fixed multi compile
    fixed multi compile
  • Aug 07, 2009
    r1022 (Fixed noserver flag) committed by kebernet   -   Fixed noserver flag
    Fixed noserver flag
  • Aug 05, 2009
    issue 84 (The input line is too long issue in windows) commented on by yonas.jongkind   -   Actually my previous posted fix only gets a small distance. Eventually the classpath becomes so long that the set fails.
    Actually my previous posted fix only gets a small distance. Eventually the classpath becomes so long that the set fails.
  • Aug 05, 2009
    issue 84 (The input line is too long issue in windows) commented on by yonas.jongkind   -   I have attached a diff for a fix to this issue. The problem with the current fix in SVN is that it breaks the long classpath happily. However when classpath is expaned in the command line java %CLASSPATH% .... the command line is still too long. If one removes the quotes from the classpath, we can allow java to use the CLASSPATH variable directly, which get's around the issue. I also updated the code to work with GWT 1.7. Please apply the attached patch. Thanks.
    I have attached a diff for a fix to this issue. The problem with the current fix in SVN is that it breaks the long classpath happily. However when classpath is expaned in the command line java %CLASSPATH% .... the command line is still too long. If one removes the quotes from the classpath, we can allow java to use the CLASSPATH variable directly, which get's around the issue. I also updated the code to work with GWT 1.7. Please apply the attached patch. Thanks.
  • Aug 04, 2009
    issue 84 (The input line is too long issue in windows) commented on by yonas.jongkind   -   We are having this issue as well. And hoping someone will post some information about how to extend the comspec for Vista.
    We are having this issue as well. And hoping someone will post some information about how to extend the comspec for Vista.
  • Aug 04, 2009
    issue 207 (Plugin try to test files in .svn directory) commented on by yonas.jongkind   -   I also worked around it by having Maven copy the sources to another folder, stripping the svn folders before it ran the gwt tests. <build> ... <testSourceDirectory>${basedir}/target/test-src</testSourceDirectory> ... <plugins> <plugin> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-resources</id> <phase>validate</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${basedir}/target/test-src</outputDirectory> <resources> <resource> <directory>test</directory> <excludes><exclude>**/.svn/**</exclude></excludes> </resource> </resources> </configuration> </execution> </executions> </plugin>
    I also worked around it by having Maven copy the sources to another folder, stripping the svn folders before it ran the gwt tests. <build> ... <testSourceDirectory>${basedir}/target/test-src</testSourceDirectory> ... <plugins> <plugin> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-resources</id> <phase>validate</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${basedir}/target/test-src</outputDirectory> <resources> <resource> <directory>test</directory> <excludes><exclude>**/.svn/**</exclude></excludes> </resource> </resources> </configuration> </execution> </executions> </plugin>
  • Aug 01, 2009
    issue 213 (Cannot run autogenerated compile script) reported by bazzoni.marco   -   Is this Maven 1 or Maven 2? Maven 2 What steps will reproduce the problem? 1. Use template pom attached 2. execute mvn clean install 3. What is the expected output? What do you see instead? Instead of Successful compilation I get Build error: "[INFO] Exception attempting to run script - compile.sh Embedded error: Cannot run program "/media/data/thebaz/projects/[...]/target/compile.sh": java.io.IOException: error=13, Permission denied" What version of the product are you using? On what operating system? Product version: 2.0-beta26 OS Kernel: Linux ... 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux OS Distibution: UBUNTU 9.04 Please provide any additional information below. if I run the generated script (target/compile.sh) via command line I get same error, if I run the generated script (sh target/compile.sh) it works
    Is this Maven 1 or Maven 2? Maven 2 What steps will reproduce the problem? 1. Use template pom attached 2. execute mvn clean install 3. What is the expected output? What do you see instead? Instead of Successful compilation I get Build error: "[INFO] Exception attempting to run script - compile.sh Embedded error: Cannot run program "/media/data/thebaz/projects/[...]/target/compile.sh": java.io.IOException: error=13, Permission denied" What version of the product are you using? On what operating system? Product version: 2.0-beta26 OS Kernel: Linux ... 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux OS Distibution: UBUNTU 9.04 Please provide any additional information below. if I run the generated script (target/compile.sh) via command line I get same error, if I run the generated script (sh target/compile.sh) it works
  • Jul 08, 2009
    issue 212 (gwt-maven-plugin throws java.lang.ClassNotFoundException whe...) reported by gaber.terseglav   -   Is this Maven 1 or Maven 2? $ mvn -version Maven version: 2.0.10 Java version: 1.6.0_11 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" What steps will reproduce the problem? 1. Install IBM Rational Application Developer 7.5.3 to location C:\Program Files\IBM\SDP75 1. set JAVA_HOME to C:\Program Files\IBM\SDP75\jdk\ 2. add C:\Program Files\IBM\SDP75\jdk\bin to system path 3. create pom.xml, that executes gwt-maven-plugin (see attachment) 4. execute mvn clean install 5. GWT Compiler throws exception java.lang.ClassNotFoundException: _j2se_j9=71168 Workaround: 1. Change JAVA_HOME to sun jdk path: d:\java\jdk\jdk_1.6.0_11 2. Change path in system path to path of sun jdk bin directory: d:\java\jdk\jdk_1.6.0_11\bin 3. execute mvn clean install 4. application compiles without exception What is the expected output? What do you see instead? I expect sucessful compile of simple gwt app. Instead I get exception: [INFO] Unpack native libraries required to run GWT [INFO] auto discovered modules [si.kis.GWTPilot] [INFO] establishing classpath list (scope = compile) [INFO] Compiling module si.kis.GWTPilot [INFO] Compiling 15 permutations [INFO] Process output [INFO] [ERROR] xxx "main"java.lang.NoClassDefFoundError: _j2se_j9=71168 [INFO] [ERROR] Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 [INFO] [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java :419) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:643) [INFO] [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.j ava:345) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:609) [INFO] [ERROR] Could not find the main class: _j2se_j9=71168. Program wil l exit. [INFO] Process output [INFO] [ERROR] xxx "main"java.lang.NoClassDefFoundError: _j2se_j9=71168 [INFO] [ERROR] Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 [INFO] [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java :419) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:643) [INFO] [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.j ava:345) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:609) [INFO] [ERROR] Could not find the main class: _j2se_j9=71168. Program wil l exit. [INFO] Process output [INFO] [ERROR] xxx "main"java.lang.NoClassDefFoundError: _j2se_j9=71168 [INFO] [ERROR] Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 [INFO] [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java :419) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:643) [INFO] [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.j ava:345) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:609) [INFO] [ERROR] Could not find the main class: _j2se_j9=71168. Program wil l exit. What version of the product are you using? On what operating system? groupId: org.codehaus.mojo artifactId: gwt-maven-plugin version: 1.1 Please provide any additional information below. When I tried to check if problem is really in jdk provider, I changed only system path to sun jdk, but JAVA_HOME pointed to IBM SDK directory. Such configuration also reproduces bug. Only when I change both JAVA_HOME and system path so that they point to sun jdk version application compiles without problems. Problem was already identified on the internet without solution: - http://osdir.com/ml/GoogleWebToolkit/2009-06/msg01274.html - http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg19633.html I guess it is reproducible for every gwt application, but I didn't check it. If it will not be reproducible on developers environment I can include stripped version of our app.
    Is this Maven 1 or Maven 2? $ mvn -version Maven version: 2.0.10 Java version: 1.6.0_11 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" What steps will reproduce the problem? 1. Install IBM Rational Application Developer 7.5.3 to location C:\Program Files\IBM\SDP75 1. set JAVA_HOME to C:\Program Files\IBM\SDP75\jdk\ 2. add C:\Program Files\IBM\SDP75\jdk\bin to system path 3. create pom.xml, that executes gwt-maven-plugin (see attachment) 4. execute mvn clean install 5. GWT Compiler throws exception java.lang.ClassNotFoundException: _j2se_j9=71168 Workaround: 1. Change JAVA_HOME to sun jdk path: d:\java\jdk\jdk_1.6.0_11 2. Change path in system path to path of sun jdk bin directory: d:\java\jdk\jdk_1.6.0_11\bin 3. execute mvn clean install 4. application compiles without exception What is the expected output? What do you see instead? I expect sucessful compile of simple gwt app. Instead I get exception: [INFO] Unpack native libraries required to run GWT [INFO] auto discovered modules [si.kis.GWTPilot] [INFO] establishing classpath list (scope = compile) [INFO] Compiling module si.kis.GWTPilot [INFO] Compiling 15 permutations [INFO] Process output [INFO] [ERROR] xxx "main"java.lang.NoClassDefFoundError: _j2se_j9=71168 [INFO] [ERROR] Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 [INFO] [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java :419) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:643) [INFO] [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.j ava:345) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:609) [INFO] [ERROR] Could not find the main class: _j2se_j9=71168. Program wil l exit. [INFO] Process output [INFO] [ERROR] xxx "main"java.lang.NoClassDefFoundError: _j2se_j9=71168 [INFO] [ERROR] Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 [INFO] [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java :419) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:643) [INFO] [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.j ava:345) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:609) [INFO] [ERROR] Could not find the main class: _j2se_j9=71168. Program wil l exit. [INFO] Process output [INFO] [ERROR] xxx "main"java.lang.NoClassDefFoundError: _j2se_j9=71168 [INFO] [ERROR] Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168 [INFO] [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java :419) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:643) [INFO] [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.j ava:345) [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:609) [INFO] [ERROR] Could not find the main class: _j2se_j9=71168. Program wil l exit. What version of the product are you using? On what operating system? groupId: org.codehaus.mojo artifactId: gwt-maven-plugin version: 1.1 Please provide any additional information below. When I tried to check if problem is really in jdk provider, I changed only system path to sun jdk, but JAVA_HOME pointed to IBM SDK directory. Such configuration also reproduces bug. Only when I change both JAVA_HOME and system path so that they point to sun jdk version application compiles without problems. Problem was already identified on the internet without solution: - http://osdir.com/ml/GoogleWebToolkit/2009-06/msg01274.html - http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg19633.html I guess it is reproducible for every gwt application, but I didn't check it. If it will not be reproducible on developers environment I can include stripped version of our app.
  • Jul 03, 2009
    issue 211 (Multiple modules don't compile on Solaris or Linux) commented on by knightweb   -   I've located the bug and fixed locally, can someone in GWT confirm and patch "com\totsp\gwt\maven-googlewebtoolkit2-plugin\2.0-RC1" Offending file is http://code.google.com/p/gwt-maven/source/browse/trunk/maven-googlewebtoolkit2- plugin/src/main/java/com/totsp/mavenplugin/gwt/scripting/ScriptWriterUnix16.java line number 191 code should be for (String target : mojo.getCompileTarget()) { writer.print(target + " "); }
    I've located the bug and fixed locally, can someone in GWT confirm and patch "com\totsp\gwt\maven-googlewebtoolkit2-plugin\2.0-RC1" Offending file is http://code.google.com/p/gwt-maven/source/browse/trunk/maven-googlewebtoolkit2- plugin/src/main/java/com/totsp/mavenplugin/gwt/scripting/ScriptWriterUnix16.java line number 191 code should be for (String target : mojo.getCompileTarget()) { writer.print(target + " "); }
  • Jul 03, 2009
    issue 211 (Multiple modules don't compile on Solaris or Linux) reported by knightweb   -   Is this Maven 1 or Maven 2? Maven 2 What steps will reproduce the problem? 1. Create a multiple module project, specify the modules in the pom <compileTargets> <value>com.mymodules.ModuleA</value> <value>com.mymodules.ModuleB</value> </compileTargets> 2. Do a "mvn package" on Solaris - fails 3. Do a "mvn package" on Windows - passes What is the expected output? Compiling module com.mymodules.ModuleA Compiling 5 permutations Compilation succeeded Compiling module com.mymodules.ModuleB Compiling 5 permutations Compilation succeeded What do you see instead? Loading module 'com.mymodules.ModuleAcom.mymodules.ModuleB' [ERROR] Unable to find 'com/mymodules/ModuleAcom/mymodules/ModuleB.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? What version of the product are you using? On what operating system? Solaris + Linux, 2.0-RC1, GWT 1.6.4, Please provide any additional information below. Looks like a compiler problem on linux, it appears to be mashing the two modules into one. The reason I am "packaging" on Solaris is this is where my CruiseControl is located.
    Is this Maven 1 or Maven 2? Maven 2 What steps will reproduce the problem? 1. Create a multiple module project, specify the modules in the pom <compileTargets> <value>com.mymodules.ModuleA</value> <value>com.mymodules.ModuleB</value> </compileTargets> 2. Do a "mvn package" on Solaris - fails 3. Do a "mvn package" on Windows - passes What is the expected output? Compiling module com.mymodules.ModuleA Compiling 5 permutations Compilation succeeded Compiling module com.mymodules.ModuleB Compiling 5 permutations Compilation succeeded What do you see instead? Loading module 'com.mymodules.ModuleAcom.mymodules.ModuleB' [ERROR] Unable to find 'com/mymodules/ModuleAcom/mymodules/ModuleB.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? What version of the product are you using? On what operating system? Solaris + Linux, 2.0-RC1, GWT 1.6.4, Please provide any additional information below. Looks like a compiler problem on linux, it appears to be mashing the two modules into one. The reason I am "packaging" on Solaris is this is where my CruiseControl is located.
  • Jun 15, 2009
    issue 208 (maven-2: debug goal launches the gwt compilation also in ver...) Status changed by charlie.collins   -   There have been several discussions about this in the group, the change in RC1 was intentional, but will be changed back (actually that will be changed back and new goals that use the other phases will be created, again, intentionally).
    Status: Invalid
    There have been several discussions about this in the group, the change in RC1 was intentional, but will be changed back (actually that will be changed back and new goals that use the other phases will be created, again, intentionally).
    Status: Invalid
  • Jun 11, 2009
    issue 210 (ScriptWriterUnix16.java method writeCompilerInvocationScript...) reported by ken.hyx   -   Is this Maven 1 or Maven 2? Maven 2 What steps will reproduce the problem? 1. run maven-googlewebtoolkit2-plugin in linux 2. with more than one compile target value 3. generated compile.sh throw error What is the expected output? What do you see instead? able to compile multiple compile target in linux with gwt 1.6 What version of the product are you using? On what operating system? linux, 2.0-RC1 Please provide any additional information below. Please check ScriptWriterUnix16.java method writeCompilerInvocationScript(): http://code.google.com/p/gwt-maven/source/browse/trunk/maven-googlewebtoolkit2-plugin/src/main/java/com/totsp/mavenplugin/gwt/scripting/ScriptWriterUnix16.java
    Is this Maven 1 or Maven 2? Maven 2 What steps will reproduce the problem? 1. run maven-googlewebtoolkit2-plugin in linux 2. with more than one compile target value 3. generated compile.sh throw error What is the expected output? What do you see instead? able to compile multiple compile target in linux with gwt 1.6 What version of the product are you using? On what operating system? linux, 2.0-RC1 Please provide any additional information below. Please check ScriptWriterUnix16.java method writeCompilerInvocationScript(): http://code.google.com/p/gwt-maven/source/browse/trunk/maven-googlewebtoolkit2-plugin/src/main/java/com/totsp/mavenplugin/gwt/scripting/ScriptWriterUnix16.java
  • Jun 11, 2009
    issue 88 (classpath too long (cut)) commented on by nettynet   -   I'm newbie in gwt and maven. I use windows xp. once i compile my project with maven- googlewebtoolkit2-plugin 2.0-beta26, i get the long input line error. I tried to modify my pom.xml according to #26...but still not work. This error's come to me since I added dependency Axis2 into my pom.xml Is there other ways to solve this problem?
    I'm newbie in gwt and maven. I use windows xp. once i compile my project with maven- googlewebtoolkit2-plugin 2.0-beta26, i get the long input line error. I tried to modify my pom.xml according to #26...but still not work. This error's come to me since I added dependency Axis2 into my pom.xml Is there other ways to solve this problem?
  • Jun 10, 2009
    issue 84 (The input line is too long issue in windows) commented on by slava.lovkiy   -   So, how one can 'extend the comspec on windows' to support more than 8K commands ?
    So, how one can 'extend the comspec on windows' to support more than 8K commands ?
  • Jun 08, 2009
    issue 209 (mergewebxml - only first compileTarget services merged) reported by bodabela   -   Maven 2 What steps will reproduce the problem? 1. Create two GWT modules in the same maven projekt 2. ... <compileTargets> <value>foo.Foo1</value> <value>foo.Foo2</value> </compileTargets> ... 3. What is the expected output? What do you see instead? I expect to merge both gwt modules sevices into the web.xml, but I get that only the first in the value list is merged and others are ignored. What version of the product are you using? On what operating system? I used 2.0-RC1-beta23 than I upgraded to 2.0-RC1. Both versions contains the issue. I see only the first module in the maven console merging into the web.xml.
    Maven 2 What steps will reproduce the problem? 1. Create two GWT modules in the same maven projekt 2. ... <compileTargets> <value>foo.Foo1</value> <value>foo.Foo2</value> </compileTargets> ... 3. What is the expected output? What do you see instead? I expect to merge both gwt modules sevices into the web.xml, but I get that only the first in the value list is merged and others are ignored. What version of the product are you using? On what operating system? I used 2.0-RC1-beta23 than I upgraded to 2.0-RC1. Both versions contains the issue. I see only the first module in the maven console merging into the web.xml.
  • Jun 08, 2009
    issue 208 (maven-2: debug goal launches the gwt compilation also in ver...) commented on by gabriel.forro   -   Possible workaround: Use a separate pom.xml file or a Maven profile, where the gwt-maven:compile goal is not bind (not mentioned in the executions section of the plugin config), when you to launch gwt-maven:debug
    Possible workaround: Use a separate pom.xml file or a Maven profile, where the gwt-maven:compile goal is not bind (not mentioned in the executions section of the plugin config), when you to launch gwt-maven:debug
  • Jun 08, 2009
    issue 208 (maven-2: debug goal launches the gwt compilation also in ver...) reported by gabriel.forro   -   Environment: I am using the com.totsp.gwt:maven-googlewebtoolkit2-plugin plugin to manage my gwt project in Maven 2 build. I am using Maven 2.0.9 in Windows XP under Java 5. Problem described from the user point of view: When I launch the gwt-mave:debug goal, the gwt compilation process is launched again, which is quite annoying, as it is a time consuming process. The reason of the problem: The gwt-maven:debug goal executes the install lifecycle phase. This phase execution has been introduced in the latest version (2.0-RC1). In the older versions (up to 2.0-beta26) the gwt:debug goal was tied to the compile lifecycle phase, which was a better case, as the gwt:compile is executed just in the process-classes lifecycle phase. Required fix: Please use the compile "executePhase" instead of the current install phase for the gwt-maven:debug goal.
    Environment: I am using the com.totsp.gwt:maven-googlewebtoolkit2-plugin plugin to manage my gwt project in Maven 2 build. I am using Maven 2.0.9 in Windows XP under Java 5. Problem described from the user point of view: When I launch the gwt-mave:debug goal, the gwt compilation process is launched again, which is quite annoying, as it is a time consuming process. The reason of the problem: The gwt-maven:debug goal executes the install lifecycle phase. This phase execution has been introduced in the latest version (2.0-RC1). In the older versions (up to 2.0-beta26) the gwt:debug goal was tied to the compile lifecycle phase, which was a better case, as the gwt:compile is executed just in the process-classes lifecycle phase. Required fix: Please use the compile "executePhase" instead of the current install phase for the gwt-maven:debug goal.
  • Jun 05, 2009
    issue 114 (Silent failure when GWT runs out of memory) commented on by robert_l...@verizon.net   -   which file did you add the piece of xml below? <extraJvmArgs>-Xmx256m -Xms256m</extraJvmArgs> thanks - Bob
    which file did you add the piece of xml below? <extraJvmArgs>-Xmx256m -Xms256m</extraJvmArgs> thanks - Bob
  • Jun 03, 2009
    r1021 (final for windows. ) committed by kebernet   -   final for windows.
    final for windows.
  • Jun 02, 2009
    issue 207 (Plugin try to test files in .svn directory) commented on by charlie.collins   -   Thanks for the report. We will try to fix this for 2.0 final.
    Thanks for the report. We will try to fix this for 2.0 final.
  • May 25, 2009
    issue 207 (Plugin try to test files in .svn directory) commented on by bjkuczynski   -   Additional info I just test this bug(?) on Ubuntu 9.04 PL and I probably know why this script fail. On linux script use ls command that ignore hidden files/directories like .svn. On Windows dot prefix is not a hidden. Script doesn't ignore .svn because on windows this directory is not hidden. So now I have workaround: - I add skipTest to gwt-maven configuration in windows profile. - If I need to run tests I do it from IDE (Eclipse) because it not fail in this way. - On Linux I work as normal human ;)
    Additional info I just test this bug(?) on Ubuntu 9.04 PL and I probably know why this script fail. On linux script use ls command that ignore hidden files/directories like .svn. On Windows dot prefix is not a hidden. Script doesn't ignore .svn because on windows this directory is not hidden. So now I have workaround: - I add skipTest to gwt-maven configuration in windows profile. - If I need to run tests I do it from IDE (Eclipse) because it not fail in this way. - On Linux I work as normal human ;)
  • May 25, 2009
    issue 207 (Plugin try to test files in .svn directory) reported by bjkuczynski   -   Maven 2 on cygwin and cmd on winxp. What steps will reproduce the problem? 1. Create new project. 2. Import it to svn. 3. Checkout it. 4. call: mvn clean gwt-maven:compile site-deploy When plugin start tests then fail with output: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running pl.koziolweb.wfm.AStandardNonGwtTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [gwt-maven:test {execution: default}] [INFO] source web.xml present - z:\elixir\web-file-manager\wfm\src\main\webapp\WEB-INF\web.xml - using it with embedded Tomcat [INFO] establishing classpath list (buildClaspathList - scope = TEST) [INFO] google.webtoolkit.home (gwtHome) set, using it for GWT dependencies - C:\ gwt [INFO] establishing classpath list (buildClaspathList - scope = TEST) [INFO] google.webtoolkit.home (gwtHome) set, using it for GWT dependencies - C:\ gwt [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] error attempting to run test - gwtTest-pl.koziolweb.wfm..svn.text-base.AS tandardNonGwtTest.java.cmd - error attempting to run test - gwtTest-pl.koziolweb .wfm..svn.text-base.AStandardNonGwtTest.java.cmd - Class not found "pl/koziolweb /wfm//svn/text-base/AStandardNonGwtTest/java" I use last version of plugin.
    Maven 2 on cygwin and cmd on winxp. What steps will reproduce the problem? 1. Create new project. 2. Import it to svn. 3. Checkout it. 4. call: mvn clean gwt-maven:compile site-deploy When plugin start tests then fail with output: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running pl.koziolweb.wfm.AStandardNonGwtTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [gwt-maven:test {execution: default}] [INFO] source web.xml present - z:\elixir\web-file-manager\wfm\src\main\webapp\WEB-INF\web.xml - using it with embedded Tomcat [INFO] establishing classpath list (buildClaspathList - scope = TEST) [INFO] google.webtoolkit.home (gwtHome) set, using it for GWT dependencies - C:\ gwt [INFO] establishing classpath list (buildClaspathList - scope = TEST) [INFO] google.webtoolkit.home (gwtHome) set, using it for GWT dependencies - C:\ gwt [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] error attempting to run test - gwtTest-pl.koziolweb.wfm..svn.text-base.AS tandardNonGwtTest.java.cmd - error attempting to run test - gwtTest-pl.koziolweb .wfm..svn.text-base.AStandardNonGwtTest.java.cmd - Class not found "pl/koziolweb /wfm//svn/text-base/AStandardNonGwtTest/java" I use last version of plugin.
  • May 06, 2009
    issue 201 (simplesample fails with "web.xml does not exist") commented on by max.at.xam.de   -   Helpful!
    Helpful!
  • May 04, 2009
    issue 205 (Plugin tries to link non-Mac libraries during Mac build on S...) Status changed by charlie.collins   -   Ok, glad to hear it's not a stopper. I have an old 32 bit Intel Mac as my main traveling dev machine (so I use it once in a while, but not all the time, regular dev machine is Linux desktop), and on that I was fortunate enough to have gotten Java 1.6 beta from Apple, and have just never "upgraded" every time it tells me to through the installer (it wants to install an official Java 1.5 update). Apple DID HAVE an official Java 1.6 there for a few months, then they pulled it. In my case I haven't tried Soy Latte, because I still have Apple 1.6 and it works fine for me, but Java support on the 32 bit Intel macs sure is annoying. Venting now ;). Closing this issue too, not a priority for user, and trying to freeze this project.
    Status: WontFix
    Ok, glad to hear it's not a stopper. I have an old 32 bit Intel Mac as my main traveling dev machine (so I use it once in a while, but not all the time, regular dev machine is Linux desktop), and on that I was fortunate enough to have gotten Java 1.6 beta from Apple, and have just never "upgraded" every time it tells me to through the installer (it wants to install an official Java 1.5 update). Apple DID HAVE an official Java 1.6 there for a few months, then they pulled it. In my case I haven't tried Soy Latte, because I still have Apple 1.6 and it works fine for me, but Java support on the 32 bit Intel macs sure is annoying. Venting now ;). Closing this issue too, not a priority for user, and trying to freeze this project.
    Status: WontFix
  • May 02, 2009
    issue 205 (Plugin tries to link non-Mac libraries during Mac build on S...) commented on by andrew.clegg   -   Actually we've gone back to using JDK 5 on that project as it's pretty self-contained anyway. Sorry, I should have closed the issue but I completely forgot about it. We only have one Mac-based developer and hopefully we'll get him upgraded to Leopard (or Snow Leopard) soon and the problem will disappear. Still vaguely curious why it tried to link GTK and/or Windows libs though, but it's not important really :-) Thanks for your time and hard work!
    Actually we've gone back to using JDK 5 on that project as it's pretty self-contained anyway. Sorry, I should have closed the issue but I completely forgot about it. We only have one Mac-based developer and hopefully we'll get him upgraded to Leopard (or Snow Leopard) soon and the problem will disappear. Still vaguely curious why it tried to link GTK and/or Windows libs though, but it's not important really :-) Thanks for your time and hard work!
  • May 01, 2009
    issue 205 (Plugin tries to link non-Mac libraries during Mac build on S...) commented on by charlie.collins   -   http://gavintech.blogspot.com/2008/02/mac-gwt-soylatte-java-16-unhappiness.html I am not sure that's up to date, but everything I can find shows issues with SoyLatte and GWT. If it works OUTSIDE of Maven, please let us know. (But it seems like it would not be related to Maven at all.)
    http://gavintech.blogspot.com/2008/02/mac-gwt-soylatte-java-16-unhappiness.html I am not sure that's up to date, but everything I can find shows issues with SoyLatte and GWT. If it works OUTSIDE of Maven, please let us know. (But it seems like it would not be related to Maven at all.)
  • May 01, 2009
    issue 196 (Support of GWT 1.6) commented on by charlie.collins   -   I am trying to strongly DISCOURAGE it. Move to the Codehaus plugin for new features. http://mojo.codehaus.org/gwt-maven-plugin/1.0/ I am not sure the state of support for 1.6 there either, but that is where we all need to start migrating and working on 1.6 support (they may already have it, I don't know).
    I am trying to strongly DISCOURAGE it. Move to the Codehaus plugin for new features. http://mojo.codehaus.org/gwt-maven-plugin/1.0/ I am not sure the state of support for 1.6 there either, but that is where we all need to start migrating and working on 1.6 support (they may already have it, I don't know).
  • May 01, 2009
    issue 206 (gwt goal does not support runtime dependencies) Status changed by charlie.collins   -   This is intentional in 2.0-beta26 and there was a lot of discussion (we went back and forth on this). http://groups.google.com/group/gwt-maven/browse_thread/thread/11ec1f405cdb5883/f2427351faee0df1?lnk=gst&q=2.0-beta24#f2427351faee0df1 Use provided and it should work (which is what a JDBC driver really is, not compile). As for future fix to add ALL provided/compile/runtime to the shell, we aren't making any more changes to this plugin. See the Codehaus plugin and try it, if it doesn't work please report an issue there. http://mojo.codehaus.org/gwt-maven-plugin/1.0/
    Status: WontFix
    This is intentional in 2.0-beta26 and there was a lot of discussion (we went back and forth on this). http://groups.google.com/group/gwt-maven/browse_thread/thread/11ec1f405cdb5883/f2427351faee0df1?lnk=gst&q=2.0-beta24#f2427351faee0df1 Use provided and it should work (which is what a JDBC driver really is, not compile). As for future fix to add ALL provided/compile/runtime to the shell, we aren't making any more changes to this plugin. See the Codehaus plugin and try it, if it doesn't work please report an issue there. http://mojo.codehaus.org/gwt-maven-plugin/1.0/
    Status: WontFix
  • May 01, 2009
    issue 205 (Plugin tries to link non-Mac libraries during Mac build on S...) commented on by charlie.collins   -   Forgive me if this is an ignorant question, but does GWT run outside of Maven using Soy Latte? I haven't tried it, just asking.
    Forgive me if this is an ignorant question, but does GWT run outside of Maven using Soy Latte? I haven't tried it, just asking.
  • Apr 30, 2009
    issue 206 (gwt goal does not support runtime dependencies) reported by rlink77de   -   Is this Maven 1 or Maven 2? Maven2 What steps will reproduce the problem? 1. Add a dependency to your project that is only needed at runtime. (e.g. com.mysql.jdbc.Driver) 2. mvn googlewebtoolkit2:gwt 3. started server can not connect to database now. Of course because the GWTMojo has compile dependency resolution defined. This should be changed to runtime. Index: src/main/java/com/totsp/mavenplugin/gwt/GWTMojo.java =================================================================== --- src/main/java/com/totsp/mavenplugin/gwt/GWTMojo.java (revision 1020) +++ src/main/java/com/totsp/mavenplugin/gwt/GWTMojo.java (working copy) @@ -32,13 +32,13 @@ /** * Runs the the project in the GWTShell for development. * - * Note that this goal is intended to be explicitly run from the command line - * (execute phase=), whereas other GWT-Maven goals are not (others happen as + * Note that this goal is intended to be explicitly run from the command line + * (execute phase=), whereas other GWT-Maven goals are not (others happen as * part of the standard Maven life-cycle phases: "compile" "test" "install"). * * @goal gwt * @execute phase=install - * @requiresDependencyResolution compile + * @requiresDependencyResolution runtime * @description Runs the the project in the GWTShell for development. * * @author ccollins What version of the product are you using? On what operating system? com.totsp.gwt:maven-googlewebtoolkit2-plugin:2.0-beta26
    Is this Maven 1 or Maven 2? Maven2 What steps will reproduce the problem? 1. Add a dependency to your project that is only needed at runtime. (e.g. com.mysql.jdbc.Driver) 2. mvn googlewebtoolkit2:gwt 3. started server can not connect to database now. Of course because the GWTMojo has compile dependency resolution defined. This should be changed to runtime. Index: src/main/java/com/totsp/mavenplugin/gwt/GWTMojo.java =================================================================== --- src/main/java/com/totsp/mavenplugin/gwt/GWTMojo.java (revision 1020) +++ src/main/java/com/totsp/mavenplugin/gwt/GWTMojo.java (working copy) @@ -32,13 +32,13 @@ /** * Runs the the project in the GWTShell for development. * - * Note that this goal is intended to be explicitly run from the command line - * (execute phase=), whereas other GWT-Maven goals are not (others happen as + * Note that this goal is intended to be explicitly run from the command line + * (execute phase=), whereas other GWT-Maven goals are not (others happen as * part of the standard Maven life-cycle phases: "compile" "test" "install"). * * @goal gwt * @execute phase=install - * @requiresDependencyResolution compile + * @requiresDependencyResolution runtime * @description Runs the the project in the GWTShell for development. * * @author ccollins What version of the product are you using? On what operating system? com.totsp.gwt:maven-googlewebtoolkit2-plugin:2.0-beta26
  • Apr 28, 2009
    issue 196 (Support of GWT 1.6) commented on by javapda   -   What is the state of 1.6 support?
    What is the state of 1.6 support?
  • Apr 10, 2009
    issue 88 (classpath too long (cut)) commented on by martin.trummer.76   -   be careful with the comspec /e switch! I just ran into a problem that was caused by adding the /e swtich to my comspec. after that several batch scripts didn't work any longer - in fact using the pipe (|) didn't work any longer on the command line (WinXP SP3): http://support.microsoft.com/?scid=kb%3Ben-us%3B164545&x=10&y=11
    be careful with the comspec /e switch! I just ran into a problem that was caused by adding the /e swtich to my comspec. after that several batch scripts didn't work any longer - in fact using the pipe (|) didn't work any longer on the command line (WinXP SP3): http://support.microsoft.com/?scid=kb%3Ben-us%3B164545&x=10&y=11
  • Apr 06, 2009
    issue 205 (Plugin tries to link non-Mac libraries during Mac build on S...) reported by andrew.clegg   -   Is this Maven 1 or Maven 2? 2 What steps will reproduce the problem? 1. Checkout the source code from trunk 2. Remove all the 'GwtTest*' files and the src/test/java directory from the simplesample project, and change its POM so the Mac profile is active by default and the Windows and Linux profiles aren't (see attached pom.xml.1) 3. Build it with the command: mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt What is the expected output? What do you see instead? Even though the Mac artifacts are configured okay, it tries to link a gtk library: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building maven-gwt-sample [INFO] task-segment: [clean, com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target [INFO] Preparing gwt-maven:gwt [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [gwt-maven:mergewebxml {execution: default}] [INFO] copy source web.xml - /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/webapp/WEB-INF/web.xml to build dir (source web.xml required if mergewebxml execution is enabled) [INFO] establishing classpath list (buildClaspathList - scope = COMPILE) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies [INFO] Module file: /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/java/com/totsp/sample/Application.gwt.xml [INFO] [gwt-maven:i18n {execution: default}] [INFO] establishing classpath list (buildClaspathList - scope = COMPILE) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies [INFO] [compiler:compile] [INFO] Compiling 6 source files to /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/classes [INFO] [dependency:unpack {execution: unpack}] [INFO] Configured Artifact: com.google.gwt:gwt-dev:mac-libs:1.5.3:zip [INFO] Unpacking /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-mac-libs.zipto /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3 with Includes null and excludes:null [INFO] [gwt-maven:compile {execution: default}] [INFO] establishing classpath list (buildClaspathList - scope = COMPILE) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies Compiling module com.totsp.sample.Application Compilation succeeded Linking compilation into /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/maven-gwt-sample-1.0-SNAPSHOT/com.totsp.sample.Application [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] No tests to run. [INFO] [gwt-maven:test {execution: default}] [INFO] source web.xml present - /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/webapp/WEB-INF/web.xml - using it with embedded Tomcat [INFO] running GWTTestCase tests (using test name filter - GwtTest*) [INFO] all tests completed - ran 0 tests - see results in target/gwtTest [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[maven-gwt-sample] in [/private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/maven-gwt-sample-1.0-SNAPSHOT] [INFO] Processing war project [INFO] Webapp assembled in[103 msecs] [INFO] Building war: /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/maven-gwt-sample-1.0-SNAPSHOT.war [INFO] [install:install] [INFO] Installing /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/maven-gwt-sample-1.0-SNAPSHOT.war to /Users/andrew/.m2/repository/com/totsp/gwt/maven-gwt-sample/1.0-SNAPSHOT/maven-gwt-sample-1.0-SNAPSHOT.war [INFO] [gwt-maven:gwt] [INFO] source web.xml present - /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/webapp/WEB-INF/web.xml - using it with embedded Tomcat [INFO] establishing classpath list (buildClaspathList - scope = RUNTIME) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3/libswt-pi-gtk-3235.dylib at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1651) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1005) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132) at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126) at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:301) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Exception attempting to run script - run.sh Embedded error: run.sh script exited abnormally with code - 1 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 40 seconds [INFO] Finished at: Mon Apr 06 17:18:00 BST 2009 [INFO] Final Memory: 19M/1012M [INFO] ------------------------------------------------------------------------ If you copy pom.xml.2 over pom.xml and try it again, you get win32 libraries instead: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building maven-gwt-sample [INFO] task-segment: [clean, com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target [INFO] Preparing gwt:gwt [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 6 source files to /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/classes [INFO] [dependency:unpack {execution: unpack}] [INFO] Configured Artifact: com.google.gwt:gwt-dev:mac-libs:1.5.3:zip [INFO] Unpacking /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-mac-libs.zipto /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3 with Includes null and excludes:null [INFO] [gwt:gwt] [INFO] source web.xml present - /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/webapp/WEB-INF/web.xml - using it with embedded Tomcat [INFO] establishing classpath list (buildClaspathList - scope = RUNTIME) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3/libswt-win32-3235.dylib at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1651) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1005) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132) at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125) at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:301) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Exception attempting to run script - run.sh Embedded error: run.sh script exited abnormally with code - 1 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7 seconds [INFO] Finished at: Mon Apr 06 17:19:53 BST 2009 [INFO] Final Memory: 15M/1012M [INFO] ------------------------------------------------------------------------ What version of the product are you using? On what operating system? Source checked out from trunk r1020, Mac OS X 10.4, SoyLatte 1.0.3 (i.e. port of BSD JDK 6) soylatte16-i386-1.0.3, Maven 2.0.9 Please provide any additional information below. I tried activating the Mac profile manually using mvn's -P option, no difference.
    Is this Maven 1 or Maven 2? 2 What steps will reproduce the problem? 1. Checkout the source code from trunk 2. Remove all the 'GwtTest*' files and the src/test/java directory from the simplesample project, and change its POM so the Mac profile is active by default and the Windows and Linux profiles aren't (see attached pom.xml.1) 3. Build it with the command: mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt What is the expected output? What do you see instead? Even though the Mac artifacts are configured okay, it tries to link a gtk library: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building maven-gwt-sample [INFO] task-segment: [clean, com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target [INFO] Preparing gwt-maven:gwt [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [gwt-maven:mergewebxml {execution: default}] [INFO] copy source web.xml - /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/webapp/WEB-INF/web.xml to build dir (source web.xml required if mergewebxml execution is enabled) [INFO] establishing classpath list (buildClaspathList - scope = COMPILE) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies [INFO] Module file: /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/java/com/totsp/sample/Application.gwt.xml [INFO] [gwt-maven:i18n {execution: default}] [INFO] establishing classpath list (buildClaspathList - scope = COMPILE) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies [INFO] [compiler:compile] [INFO] Compiling 6 source files to /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/classes [INFO] [dependency:unpack {execution: unpack}] [INFO] Configured Artifact: com.google.gwt:gwt-dev:mac-libs:1.5.3:zip [INFO] Unpacking /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-mac-libs.zipto /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3 with Includes null and excludes:null [INFO] [gwt-maven:compile {execution: default}] [INFO] establishing classpath list (buildClaspathList - scope = COMPILE) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies Compiling module com.totsp.sample.Application Compilation succeeded Linking compilation into /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/maven-gwt-sample-1.0-SNAPSHOT/com.totsp.sample.Application [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] No tests to run. [INFO] [gwt-maven:test {execution: default}] [INFO] source web.xml present - /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/webapp/WEB-INF/web.xml - using it with embedded Tomcat [INFO] running GWTTestCase tests (using test name filter - GwtTest*) [INFO] all tests completed - ran 0 tests - see results in target/gwtTest [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[maven-gwt-sample] in [/private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/maven-gwt-sample-1.0-SNAPSHOT] [INFO] Processing war project [INFO] Webapp assembled in[103 msecs] [INFO] Building war: /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/maven-gwt-sample-1.0-SNAPSHOT.war [INFO] [install:install] [INFO] Installing /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/maven-gwt-sample-1.0-SNAPSHOT.war to /Users/andrew/.m2/repository/com/totsp/gwt/maven-gwt-sample/1.0-SNAPSHOT/maven-gwt-sample-1.0-SNAPSHOT.war [INFO] [gwt-maven:gwt] [INFO] source web.xml present - /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/webapp/WEB-INF/web.xml - using it with embedded Tomcat [INFO] establishing classpath list (buildClaspathList - scope = RUNTIME) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3/libswt-pi-gtk-3235.dylib at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1651) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1005) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132) at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126) at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:301) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Exception attempting to run script - run.sh Embedded error: run.sh script exited abnormally with code - 1 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 40 seconds [INFO] Finished at: Mon Apr 06 17:18:00 BST 2009 [INFO] Final Memory: 19M/1012M [INFO] ------------------------------------------------------------------------ If you copy pom.xml.2 over pom.xml and try it again, you get win32 libraries instead: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building maven-gwt-sample [INFO] task-segment: [clean, com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target [INFO] Preparing gwt:gwt [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 6 source files to /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/target/classes [INFO] [dependency:unpack {execution: unpack}] [INFO] Configured Artifact: com.google.gwt:gwt-dev:mac-libs:1.5.3:zip [INFO] Unpacking /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-mac-libs.zipto /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3 with Includes null and excludes:null [INFO] [gwt:gwt] [INFO] source web.xml present - /private/tmp/gwt-maven-read-only/maven-googlewebtoolkit2-plugin/simplesample/src/main/webapp/WEB-INF/web.xml - using it with embedded Tomcat [INFO] establishing classpath list (buildClaspathList - scope = RUNTIME) [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /Users/andrew/.m2/repository/com/google/gwt/gwt-dev/1.5.3/libswt-win32-3235.dylib at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1651) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1005) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132) at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125) at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:301) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Exception attempting to run script - run.sh Embedded error: run.sh script exited abnormally with code - 1 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7 seconds [INFO] Finished at: Mon Apr 06 17:19:53 BST 2009 [INFO] Final Memory: 15M/1012M [INFO] ------------------------------------------------------------------------ What version of the product are you using? On what operating system? Source checked out from trunk r1020, Mac OS X 10.4, SoyLatte 1.0.3 (i.e. port of BSD JDK 6) soylatte16-i386-1.0.3, Maven 2.0.9 Please provide any additional information below. I tried activating the Mac profile manually using mvn's -P option, no difference.
  • Apr 03, 2009
    issue 199 (Add support for ConstantsWithLookup) commented on by nikolas.lotz   -   Thanks a lot - works as expected.
    Thanks a lot - works as expected.
  • Apr 03, 2009
    issue 181 (Customize i18n calls) commented on by nikolas.lotz   -   Thanks a lot - works as expected.
    Thanks a lot - works as expected.
  • Apr 02, 2009
    27 issues changed by charlie.collins   -   Issues 44, 82, 88, 94, 107, 148, 149, 161, 165, 177, 181, 182, 184, 185, 188, 189, 191, 194, 195, 197, 198, 199, 200, 201, 202, 203, 204
    Issues 44, 82, 88, 94, 107, 148, 149, 161, 165, 177, 181, 182, 184, 185, 188, 189, 191, 194, 195, 197, 198, 199, 200, 201, 202, 203, 204
  • Apr 02, 2009
    r1020 ([No log message]) committed by charlie.collins   -   [No log message]
    [No log message]
  • Apr 02, 2009
    r1019 ([No log message]) committed by charlie.collins   -   [No log message]
    [No log message]
  • Apr 02, 2009
    r1018 ([No log message]) committed by charlie.collins   -   [No log message]
    [No log message]
  • Apr 02, 2009
    r1017 ([No log message]) committed by charlie.collins   -   [No log message]
    [No log message]
 
Hosted by Google Code