Re: App thinks name is MainBundle
Re: App thinks name is MainBundle
- Subject: Re: App thinks name is MainBundle
- From: Ralf Schuchardt <email@hidden>
- Date: Wed, 07 Sep 2011 15:03:43 +0200
You may look for wrong or superfluous Info.plist files inside the build directory. I have seen them causing this error.
Ralf
Am 03.09.2011 um 05:27 schrieb Jeff Schmitz:
> Don't think so since I just bit the bullet and used the following "brute force" solution:
>
> 1. renamed the old project,
> 2. created a new wonder project with my desired app name,
> 3. copied the source, components, properties, etc. files from the project that thinks its name is MainBundle into the new project,
> 5. setup the proper java build paths and referenced wonder projects in the new project, which matches what the old project had setup.
>
> and now everything is well in my new project as far as running under the development environment (haven't tried deploying it yet). Still not sure what about the old project was out of whack, but I'd be willing to try other suggestions.
>
>
> On Sep 2, 2011, at 9:05 PM, Mike Schrag wrote:
>
>> any chance you have a framework that claims to be an application type?
>>
>> On Sep 2, 2011, at 9:50 PM, Jeff Schmitz wrote:
>>
>>> No help, here's my whole build.properties file:
>>>
>>> webXML_CustomContent=
>>> project.name=netBrackets
>>> project.type=application
>>> webXML=false
>>> eoAdaptorClassName=
>>> principalClass=com.netbrackets.app.Application
>>> classes.dir=bin
>>> project.name.lowercase=netbrackets
>>> customInfoPListContent=
>>> frameworksBaseURL=/WebObjects/Frameworks
>>>
>>> On Sep 2, 2011, at 11:07 AM, Chuck Hill wrote:
>>>
>>>>
>>>> On 2011-09-01, at 8:37 PM, Jeff Schmitz wrote:
>>>>
>>>>> I've seen a few e-mails on this subject, but none with an obvious solution. Not sure exactly when it started, but when I start my app from Eclipse, it thinks its name is MainBundle, e.g. its URL is:
>>>>>
>>>>> http://localhost/cgi-bin/WebObjects/MainBundle.woa/-9999
>>>>>
>>>>> I've searched for both MainBundle and my app name in my WOLips project, and all I find is the my app name specified in seemingly all the right places, including:
>>>>>
>>>>> .project:
>>>>> <projectDescription>
>>>>> <name>netBrackets</name>
>>>>>
>>>>> build.xml:
>>>>> <project name="netBrackets" default="build" basedir=".">
>>>>>
>>>>> build.properties:
>>>>> project.name=netBrackets
>>>>> principalClass=com.netbrackets.app.Application
>>>>> project.name.lowercase=netbrackets
>>>>
>>>> Try adding
>>>> project.type=application
>>>>
>>>>
>>>>>
>>>>> any ideas what's going on?
>>>>>
>>>>> Thanks!
>>>>> Jeff
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>> --
>>>> Chuck Hill Senior Consultant / VP Development
>>>>
>>>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>>>> http://www.global-village.net/products/practical_webobjects
_______________________________________________
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