files generated with very long name

17 views
Skip to first unread message

Alexandre Ardhuin

unread,
Jun 23, 2011, 4:11:27 PM6/23/11
to google-web-toolkit
Hi all,

I'm on a encypted file system that does not support more than 256 characters for file names.
My gwt project does not compile because of this restriction. One of generated files is named :
CxxxxxxAxxxxxxxxxxRequest_NxxxxxxxxxxxCxxxxxxProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java

I can shorten my Proxy name but is there an other way to deal with this ?

Thanks for help,
Alexandre.

Thomas Broyer

unread,
Jun 23, 2011, 7:25:23 PM6/23/11
to google-we...@googlegroups.com
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6015 and http://code.google.com/p/google-web-toolkit/source/detail?r=10170
Will be in GWT 2.4.

Alternatively, you can just remove the "-gen" argument when you launch the GWT compiler, and it shouldn't write the files to disk.
This is unfortunately not possible with the gwt-maven-plugin; I haven't tried but maybe using a JAR as the output might allow such long file names: <gen>${project.build.directory}/gwt-generated.jar</gen>

Alexandre Ardhuin

unread,
Jun 24, 2011, 3:08:31 AM6/24/11
to google-we...@googlegroups.com
Thanks Thomas,

As you suggest, I tried to use <gen>${project.build.directory}/gwt-generated.jar</gen> but unfortunately it does not work ( "gwt-generated.jar" is just a folder in the build directory ).
I will wait 2.4 release to use longer names.

Alexandre.


2011/6/24 Thomas Broyer <t.br...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SROdGXbEX8YJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Reply all
Reply to author
Forward
0 new messages