The filename or extension is too long

2013-06-20 Thread Lexis Nexis
I used the built-in GWT compiler (2.5.0) in Eclipse 4.2.1. After a few 
hours compilation, I finally got the following error. Any suggestion will 
be greatly appreciated.

  Compiling 2 permutations
  [ERROR] Unable to start external process
java.io.IOException: Cannot run program C:\Program 
Files\Java\jdk1.6.0_38\jre\bin\java: CreateProcess error=206, The filename 
or extension is too long
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at 
com.google.gwt.dev.ExternalPermutationWorkerFactory.launchExternalWorker(ExternalPermutationWorkerFactory.java:278)
at 
com.google.gwt.dev.ExternalPermutationWorkerFactory.getWorkers(ExternalPermutationWorkerFactory.java:366)
at 
com.google.gwt.dev.PermutationWorkerFactory.createWorkers(PermutationWorkerFactory.java:366)
at 
com.google.gwt.dev.PermutationWorkerFactory.compilePermutations(PermutationWorkerFactory.java:267)
at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:207)
at com.google.gwt.dev.Compiler.run(Compiler.java:242)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Out of Memory during GWT compile

2013-06-12 Thread Lexis Nexis
Can a distributed compilation get rid of this issue? Does somebody use a 
distributed  compilation for development?


http://code.google.com/p/google-web-toolkit/wiki/DistributedBuilds
http://code.google.com/p/gwt-distcc/
https://github.com/markovuksanovic/gwt-distributed-compiler

David

On Wednesday, June 12, 2013 11:22:12 AM UTC-4, Ranjith Chungath wrote:

 Thanks for the reply..
  
 Is there any other option other than increasing -XX:MaxPermSize.?
  
 Is there a compiler option that can do the memory optimization?
  
 ~Ranjith
  

 On Tuesday, June 11, 2013 11:05:44 PM UTC+5:30, Ranjith Chungath wrote:

 While analyzing with Eclipse Memory Analyzer(MAT), it was found that 
 around 860MB of memory is taken by HashMap.Entry and HashMap.Entry[]. There 
 are 1.3 million instances of HashMap.Entry objects created. See image below.


 https://lh4.googleusercontent.com/-01hS32-3jco/UbdeLrLCNmI/ABo/O5V7ZTHj6-k/s1600/1.png








 These HashMap Entries typically have keys as 
 (com.google.gwt.dev.jjs.ast.JMethod, com.google.gwt.dev.jjs.ast.JField, 
 com.google.gwt.dev.jjs.ast.JParameter etc.) and the value is typically an 
 instance of java.lang.Object.


 https://lh4.googleusercontent.com/-AHAWKJmod2s/UbdeQ8YZ8gI/ABw/saqozlgWQm8/s1600/2.png
















 These maps are referenced from the PermutationWorker Thread.



 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png
 Why are so many instances on HashMap Entries created ? Is this a an 
 existing bug or do we need to specify any flag during the GWT compile to 
 get around this 
 problem?https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png
 Thanks,https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png
 Ranjithhttps://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png

 https://lh6.googleusercontent.com/-293uEuYJK70/UbdeZDyyiUI/AB4/o86kVs5XPC4/s1600/3.png



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-06-05 Thread Lexis Nexis
I got the following error Once I run mvn -V gwt:compile for 
gwteventbinder-master. What am I missing?


C:\gwt\gwteventbinder-masterc:\apache\maven\3.0.5\bin\mvn -V gwt:compile
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 
08:51:28-0500)
Maven home: c:\Apache\maven\3.0.5\bin\..
Java version: 1.6.0_35, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_35\jre
Default locale: en_US, platform encoding: Cp1252
OS name: windows 7, version: 6.1, arch: amd64, family: windows
[INFO] Scanning for projects...
[INFO] 

[INFO] Reactor Build Order:
[INFO]
[INFO] EventBinder (Parent)
[INFO] EventBinder
[INFO] EventBinder Sample Application
[INFO]
[INFO] 

[INFO] Building EventBinder (Parent) 1.0.1-SNAPSHOT
[INFO] 

[INFO]
[INFO] --- gwt-maven-plugin:1.0-alpha-2:compile (default-cli) @ 
eventbinder-parent ---
[INFO] 

[INFO] Reactor Summary:
[INFO]
[INFO] EventBinder (Parent) .. FAILURE [0.213s]
[INFO] EventBinder ... SKIPPED
[INFO] EventBinder Sample Application  SKIPPED
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 2.130s
[INFO] Finished at: Wed Jun 05 12:30:33 EDT 2013
[INFO] Final Memory: 8M/151M
[INFO] 

[ERROR] Failed to execute goal 
net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-2:compile (default-cli) on 
project eventbinder-parent: The parameters 'mo
duleName' for goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-2:compile 
are missing or invalid - [Help 1]

--

On Wednesday, June 5, 2013 5:36:32 AM UTC-4, Thomas Broyer wrote:



 On Tuesday, June 4, 2013 8:24:53 PM UTC+2, Lexis Nexis wrote:

 I have the following two questions:
 1. Can we have more sub source folders under src/main such as 
 src/main/java, src/main/gwt for GWT, src/main/birt,for BIRT, 
 src/main/config for Spring Java configuration.


 gwt-lib and gwt-app packagings are for GWT code only (gwt-app will only 
 package the generated JS/HTML); you shouldn't mix client and server code in 
 the same Maven module (you can make a shared module, but then I think you 
 shouldn't bundle your gwt.xml, sources and super-sources within that JAR; 
 YMMV). Have a look at the e2e integration test for an example, and see 
 http://blog.ltgt.net/announcing-gwt-maven-archetypes-project/ for the 
 rationale (well, I think I explained it in this blog post).
 Otherwise, well, they'll use all source roots and resources so you can 
 have as many as you want (e.g. some plugin that generates Java sources and 
 adds the folder as a source root; or using the build-helper-maven-plugin to 
 add a folder from src/main as a source root; it doesn't matter where the 
 source root comes from).
  

 2. I have a huge project ( 1000 database tables). I like to generate 
 many gwtar files for my internal team in order to reduce gwt compilation 
 time. How do I do it? Should I use CompileModule from prompt? I like to get 
 one script how to generate a gwtar file?


 I'd call CompileModule using the exec-maven-plugin then. At the 
 process-classes or prepare-package phases, everything (compiled classes and 
 their sources, and resources) should be in the 
 ${project.build.outputDirectory} so you shouldn't have to deal with the 
 classpath and can just use ${project.build.outputDirectory} as the -out 
 folder for CompileModule.

 I'm curious now: did you measure the gains? I've been told Google actually 
 doesn't use gwtar for their internal libs and given how their build system 
 works they can't take advantage of the PersistentUnitCache from previous 
 runs; admittedly they have huge build resources but we also know that speed 
 matters for them, so if they could save some time in downstream 
 compilations I'd think they'd use the existing tool (CompileModule) for 
 that?



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-06-04 Thread Lexis Nexis
They are very useful. Thanks.

How do I generate a gwtar file if I use this plugin?

David

On Monday, June 3, 2013 2:55:13 PM UTC-4, Thomas Broyer wrote:

 On Mon, Jun 3, 2013 at 8:29 PM, Jens jens.ne...@gmail.com javascript: 
 wrote: 
  
  Would you provide me with some examples about gwt-lib or gwt-app? I do 
  need some tutorials about how to use this new library. 
  
  
  You can look at the integration test examples at 
  https://github.com/tbroyer/gwt-maven-plugin/tree/master/src/it 
  
  Most likely gwt-app, gwt-lib and, for a bit more complex scenario, e2e. 

 You can also find real uses of gwt-lib in the wild (so you can omit 
 the inherits/ in your gwt-app!): 
 https://github.com/google/gwtmockito/ and 
 https://github.com/google/gwteventbinder 


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-06-04 Thread Lexis Nexis
I have the following two questions:
1. Can we have more sub source folders under src/main such as 
src/main/java, src/main/gwt for GWT, src/main/birt,for BIRT, 
src/main/config for Spring Java configuration.
2. I have a huge project ( 1000 database tables). I like to generate many 
gwtar files for my internal team in order to reduce gwt compilation time. 
How do I do it? Should I use CompileModule from prompt? I like to get one 
script how to generate a gwtar file?

Thanks,

On Monday, March 25, 2013 5:22:37 AM UTC-4, Thomas Broyer wrote:

 Hi everyone,

 Last night (UTC+1), I released 1.0-alpha-1 of my *
 net.ltgt.gwt.maven:gwt-maven-plugin*.

 Preliminary documentation is available at 
 https://github.com/tbroyer/gwt-maven-plugin

 Note that this is an early alpha:
  • As an experiment, the GWT compiler runs inline rather than in a forked 
 process (which also means it only uses threads for now and won't fork 
 worker processes); forking will likely become an option behind a flag 
 (similar to the maven-compiler-plugin).
  • There's no way to launch the DevMode or SuperDevMode. I want something 
 that works in multi-module builds, contrary to the *
 org.codehaus.mojo:gwt-maven-plugin.*

 Unless someone opposes to it, this plugin will likely become *
 com.google.gwt.maven:gwt-maven-plugin* in the near future (with the 
 stated goal of replacing the Codehaus Mojo plugin in the long run).

 Note: this forum is about GWT proper, so please keep feedback on this 
 specific thread, the G+ announcement (see link below), the other 
 announcements in the GWT and gwt-maven-plugin forums, or possibly on 
 Twitter (@tbroyer).

 “Illustrated announcement” at: 
 https://plus.google.com/113945685385052458154/posts/RDrK7ukVFqJ


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Thanks to all your help: german census results online

2013-06-03 Thread Lexis Nexis
Which libraries are being used for chart, pdf and excel?

On Monday, June 3, 2013 3:42:43 AM UTC-4, tanteanni wrote:

 Hi there,

 https://ergebnisse.zensus2011.de/?locale=en shows not only germany's 
 census results but it is also a gwt in life example. For me it was my first 
 big public web project. The best of all choices i did was to take gwt. It 
 was a steep learning curve but you all helped much especially with all new 
 patterns for us like: mvp, activities  places, di (with guice/gin)




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-06-03 Thread Lexis Nexis
Would you provide me with some examples about gwt-lib or gwt-app? I do need 
some tutorials about how to use this new library.

Many thanks,

David.

On Monday, March 25, 2013 5:22:37 AM UTC-4, Thomas Broyer wrote:

 Hi everyone,

 Last night (UTC+1), I released 1.0-alpha-1 of my *
 net.ltgt.gwt.maven:gwt-maven-plugin*.

 Preliminary documentation is available at 
 https://github.com/tbroyer/gwt-maven-plugin

 Note that this is an early alpha:
  • As an experiment, the GWT compiler runs inline rather than in a forked 
 process (which also means it only uses threads for now and won't fork 
 worker processes); forking will likely become an option behind a flag 
 (similar to the maven-compiler-plugin).
  • There's no way to launch the DevMode or SuperDevMode. I want something 
 that works in multi-module builds, contrary to the *
 org.codehaus.mojo:gwt-maven-plugin.*

 Unless someone opposes to it, this plugin will likely become *
 com.google.gwt.maven:gwt-maven-plugin* in the near future (with the 
 stated goal of replacing the Codehaus Mojo plugin in the long run).

 Note: this forum is about GWT proper, so please keep feedback on this 
 specific thread, the G+ announcement (see link below), the other 
 announcements in the GWT and gwt-maven-plugin forums, or possibly on 
 Twitter (@tbroyer).

 “Illustrated announcement” at: 
 https://plus.google.com/113945685385052458154/posts/RDrK7ukVFqJ


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.