Do you add the extra vm args by adding the following configuration section within the pom.xml? extraTestArgs<http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/gwt-mojo.html#extraTestArgs>
<configuration> <extraJvmArgs>-Xmx512m -d32</extraJvmArgs> </configuration> On Tue, Apr 28, 2009 at 7:18 PM, Robert (kebernet) Cooper < [email protected]> wrote: > Yeah, you will want to add -d32 to your extra jvm args. The current 1.5 on > mac that I think post dates that FAQ is mixed mode and will default to 64 > bit if you don't pass the flag. > > --r(k)c > > On Apr 28, 2009, at 8:41 PM, John Kroubalkian <[email protected]> wrote: > > Thank you Robert. I just saw this post on GWT > FAQ<http://code.google.com/webtoolkit/doc/1.6/FAQ_Troubleshooting.html#Invalid_memory_access_of_location> > : > > <http://code.google.com/webtoolkit/doc/1.6/FAQ_Troubleshooting.html#Invalid_memory_access_of_location> > http://code.google.com/webtoolkit/doc/1.6/FAQ_Troubleshooting.html#Invalid_memory_access_of_location > > Again, thank you. This is a great plugin! (and GWT in Practice is a > useful book!) > > > On Tue, Apr 28, 2009 at 3:58 PM, Robert (kebernet) Cooper > <<[email protected]> > [email protected]> wrote: > >> >> Try using 1.5 and 32 bit. 1.6 still has issues with the swt stuff. >> >> --r(k)c >> >> >> On Apr 28, 2009, at 4:36 PM, javapda < <[email protected]> >> [email protected]> wrote: >> >> > >> > Ran the maven archetype goal to generate a project with the gwt-maven >> > plugin. >> > Modified the generated pom.xml to refer to 1.6.4 vs. default 1.5.3 >> > version of GWT. >> > >> > OS: Macosx >> > GWT: 1.6.4 >> > JDK: java version "1.6.0_07" >> > >> > >> > When running "mvn gwt-maven:gwt" a Segmentation fault occurs: >> > >> > >> > $ mvn gwt-maven:gwt >> > THIS IS MAVEN 2.0.10 >> > Using Java version: 1.6 >> > [INFO] Scanning for projects... >> > [INFO] Searching repository for plugin with prefix: 'gwt-maven'. >> > [INFO] >> > --- >> > --------------------------------------------------------------------- >> > [INFO] Building gwt-maven-archetype-project >> > [INFO] task-segment: [gwt-maven:gwt] >> > [INFO] >> > --- >> > --------------------------------------------------------------------- >> > [INFO] Preparing gwt-maven:gwt >> > [INFO] [resources:resources] >> > [WARNING] Using platform encoding (MacRoman actually) to copy filtered >> > resources, i.e. build is platform dependent! >> > [INFO] Copying 0 resource >> > [INFO] [compiler:compile] >> > [INFO] Nothing to compile - all classes are up to date >> > [INFO] [dependency:unpack {execution: unpack}] >> > [INFO] Configured Artifact: com.google.gwt:gwt-dev:mac-libs:1.6.4:zip >> > [INFO] gwt-dev-1.6.4-mac-libs.zip already unpacked. >> > [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.gs.experimental.gwt.Application >> > Invalid memory access of location 00000000 rip=01160767 >> > >> > /Users/jkroub/Workspaces/javapda/gwt_project_from_gwtmaven_archetype/ >> > target/compile.sh: line 5: 1744 Segmentation fault "/System/ >> > Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java" - >> > XstartOnFirstThread -Xmx512m -cp "$CP" com.google.gwt.dev.Compiler - >> > gen /Users/jkroub/Workspaces/javapda/ >> > gwt_project_from_gwtmaven_archetype/target/.generated -logLevel INFO - >> > style DETAILED -workDir /Users/jkroub/Workspaces/javapda/ >> > gwt_project_from_gwtmaven_archetype/target/gwtWork -extra /Users/ >> > jkroub/Workspaces/javapda/gwt_project_from_gwtmaven_archetype/target/ >> > gwtExtra -war "/Users/jkroub/Workspaces/javapda/ >> > gwt_project_from_gwtmaven_archetype/target/gwtmaven-project-from- >> > archetype-1.0-SNAPSHOT" -localWorkers 2 >> > com.gs.experimental.gwt.Application >> > [INFO] >> > --- >> > --------------------------------------------------------------------- >> > [ERROR] BUILD ERROR >> > [INFO] >> > --- >> > --------------------------------------------------------------------- >> > [INFO] Exception attempting to run script - compile.sh >> > >> > Embedded error: compile.sh script exited abnormally with code - 139 >> > [INFO] >> > --- >> > --------------------------------------------------------------------- >> > [INFO] For more information, run Maven with the -e switch >> > [INFO] >> > --- >> > --------------------------------------------------------------------- >> > [INFO] Total time: 13 seconds >> > [INFO] Finished at: Tue Apr 28 13:20:21 MST 2009 >> > [INFO] Final Memory: 29M/575M >> > [INFO] >> > --- >> > --------------------------------------------------------------------- >> > >> > >> > > >> >> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
