• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Projects with space in their name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Projects with space in their name


  • Subject: Projects with space in their name
  • From: Pascal Robert <email@hidden>
  • Date: Fri, 15 Apr 2011 13:59:03 -0400

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

  • Follow-Ups:
    • Re: Projects with space in their name
      • From: Q <email@hidden>
  • Prev by Date: Re: exporting to excel and styles
  • Next by Date: Re: WebObjects, just-in-time login and SSL
  • Previous by thread: WOWODC 2011 schedule
  • Next by thread: Re: Projects with space in their name
  • Index(es):
    • Date
    • Thread