Re: Projects with space in their name
Re: Projects with space in their name
- Subject: Re: Projects with space in their name
- From: Q <email@hidden>
- Date: Sat, 16 Apr 2011 11:48:31 +1000
Spaces in the project name aren't supported. If it works in some cases it's not by design.
On 16/04/2011, at 3:59 AM, Pascal Robert wrote:
> I'm working on a project with Michael Gargano and one of the projects have a space in the middle of its name. The project also have a space in its name at the file system level. If I don't remove the space on my machine, I get:
>
>> Caused by: java.lang.OutOfMemoryError: Java heap space
>> at java.util.Arrays.copyOf(Arrays.java:2882)
>> at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
>> at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)
>> at java.lang.StringBuilder.append(StringBuilder.java:203)
>> at java.io.UnixFileSystem.resolve(UnixFileSystem.java:93)
>> at java.io.File.<init>(File.java:312)
>> at com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:289)
>> at com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:297)
>> at com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:297)
>> at com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:297)
>> at com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:297)
>
>
> After some debugging, I saw that _newPreloadAllResourcesInSubDirectory was trying to go into each directory at the top of my drive (the first file that I saw was /.fseventsd). Removing the space in both the project name and in the file system fix the problem.
>
> Now, Michael can indeed launch the project without having to rename the project. I did remember that months ago, someone said that projects shouldn't have spaces in their name, but since it's working for Michael, I don't know why it's working for him and not for me. WO 5.4.3, Eclipse 3.6.2 and WOLips 3.6.6218. _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden