PDA

View Full Version : [CLOSED] Beta 1,2,3,4: DateField file name too long



einundswanzig
4 Mar 2012, 11:13 PM
I'm getting errors while using a DateField control. Once I click to display the DatePicker the control sends some debug messages. I'm using GXT 3-beta-4, but it's the same with all the betas from 1 to 4. Any suggestions?



00:00:45.766 [DEBUG] Rebinding com.sencha.gxt.theme.base.client.button.ButtonCellBaseAppearance.ButtonCellTemplates
00:00:45.773 [DEBUG] Invoking generator com.sencha.gxt.core.rebind.XTemplatesGenerator
00:00:45.775 [DEBUG] Creating XTemplate method iconWithStyles
00:00:45.775 [DEBUG] Building SafeHtmlTemplates
00:00:45.775 [DEBUG] Running class com.sencha.gxt.core.rebind.SafeHtmlTemplatesCreator
00:00:45.775 [WARN] Error writing out generated unit at '/home/user/projects/java/project/target/.generated/com/sencha/gxt/theme/base/client/button/ButtonCellBaseAppearance_ButtonCellTemplates_iconWithStyles_SafeHtml__String_iconWrapClass__SafeStyles_imageStyles__SafeHtml_imageHtml___SafeHtmlTemplates.java': java.io.FileNotFoundException: /home/user/projects/java/project/target/.generated/com/sencha/gxt/theme/base/client/button/ButtonCellBaseAppearance_ButtonCellTemplates_iconWithStyles_SafeHtml__String_iconWrapClass__SafeStyles_imageStyles__SafeHtml_imageHtml___SafeHtmlTemplates.java (File name too long)
00:00:45.779 [DEBUG] Creating XTemplate method textWithStyles
00:00:45.779 [DEBUG] Building SafeHtmlTemplates
00:00:45.779 [DEBUG] Running class com.sencha.gxt.core.rebind.SafeHtmlTemplatesCreator
00:00:45.779 [WARN] Error writing out generated unit at '/home/user/projects/java/project/target/.generated/com/sencha/gxt/theme/base/client/button/ButtonCellBaseAppearance_ButtonCellTemplates_textWithStyles_SafeHtml__String_textClass__SafeStyles_textStyles__String_text___SafeHtmlTemplates.java': java.io.FileNotFoundException: /home/user/projects/java/project/target/.generated/com/sencha/gxt/theme/base/client/button/ButtonCellBaseAppearance_ButtonCellTemplates_textWithStyles_SafeHtml__String_textClass__SafeStyles_textStyles__String_text___SafeHtmlTemplates.java (File name too long)

einundswanzig
5 Mar 2012, 7:39 AM
I'm getting an error using the DateField control, once I click to display the DatePicker I get a list of debug messages and a low responsiveness of the whole application:



00:00:45.766 [DEBUG] Rebinding com.sencha.gxt.theme.base.client.button.ButtonCellBaseAppearance.ButtonCellTemplates
00:00:45.773 [DEBUG] Invoking generator com.sencha.gxt.core.rebind.XTemplatesGenerator
00:00:45.775 [DEBUG] Creating XTemplate method iconWithStyles
00:00:45.775 [DEBUG] Building SafeHtmlTemplates
00:00:45.775 [DEBUG] Running class com.sencha.gxt.core.rebind.SafeHtmlTemplatesCreator
00:00:45.775 [WARN] Error writing out generated unit at '/home/user/projects/java/project/target/.generated/com/sencha/gxt/theme/base/client/button/ButtonCellBaseAppearance_ButtonCellTemplates_iconWithStyles_SafeHtml__String_iconWrapClass__SafeStyles_imageStyles__SafeHtml_imageHtml___SafeHtmlTemplates.java': java.io.FileNotFoundException: /home/user/projects/java/project/target/.generated/com/sencha/gxt/theme/base/client/button/ButtonCellBaseAppearance_ButtonCellTemplates_iconWithStyles_SafeHtml__String_iconWrapClass__SafeStyles_imageStyles__SafeHtml_imageHtml___SafeHtmlTemplates.java (File name too long)
00:00:45.779 [DEBUG] Creating XTemplate method textWithStyles
00:00:45.779 [DEBUG] Building SafeHtmlTemplates
00:00:45.779 [DEBUG] Running class com.sencha.gxt.core.rebind.SafeHtmlTemplatesCreator
00:00:45.779 [WARN] Error writing out generated unit at '/home/user/projects/java/project/target/.generated/com/sencha/gxt/theme/base/client/button/ButtonCellBaseAppearance_ButtonCellTemplates_textWithStyles_SafeHtml__String_textClass__SafeStyles_textStyles__String_text___SafeHtmlTemplates.java': java.io.FileNotFoundException: /home/user/projects/java/project/target/.generated/com/sencha/gxt/theme/base/client/button/ButtonCellBaseAppearance_ButtonCellTemplates_textWithStyles_SafeHtml__String_textClass__SafeStyles_textStyles__String_text___SafeHtmlTemplates.java (File name too long)


I have tested all the betas, same result. I'm building and running via maven.

sven
5 Mar 2012, 7:45 AM
It is not an error, its a warning. Your OS does not support the filename that got choosen by GWT.

http://gwt-code-reviews.appspot.com/1357804

T (http://gwt-code-reviews.appspot.com/1357804)his will need to be fixed in GWT.

einundswanzig
5 Mar 2012, 8:42 AM
Yeah, that was because my home folder is encrypted, moved to an unencrypted folder and everything OK.

sven
5 Mar 2012, 10:47 AM
http://www.sencha.com/forum/showthread.php?185135-Beta-1-2-3-4-DateField-file-name-too-long

CregLion
19 Mar 2012, 9:16 AM
Please solve or manage your unlocking, deleting, renaming and manging files problem by long path tool. http://long path tool.com