I ran into the same problem (compile fails only on linux) with GWT version
2.2.0
With hacking some log statements into the GWT compiler I finally found the
reason:
java.io.FileNotFoundException: /XXXXXXX/calendar.year.gif (Too many open
files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at
com.google.gwt.dev.util.Util.readURLConnectionAsBytes(Util.java:865)
at com.google.gwt.dev.util.Util.readURLAsBytes(Util.java:810)
at
com.google.gwt.resources.rebind.context.AbstractResourceContext.deploy(AbstractResourceContext.java:72)
at
com.google.gwt.resources.rg.DataResourceGenerator.createAssignment(DataResourceGenerator.java:59)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java:394)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java:439)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generate(AbstractClientBundleGenerator.java:287)
So the solution was for me to increase the open file limit in
/etc/security/limits.conf from 1024 to 2048 by editing this line:
* soft nofile 2048
regards
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/google-web-toolkit?hl=en.