Re: App thinks name is MainBundle
Re: App thinks name is MainBundle
- Subject: Re: App thinks name is MainBundle
- From: Jeff Schmitz <email@hidden>
- Date: Fri, 02 Sep 2011 22:57:16 -0500
Nothing's jumping out at me, but I'm sure you have much keener eye than mine, so here it is. A lot of it has to do svn related folders I didn't setup in my new project.
Only in netBracketsMainBundle: .DS_Store
Only in netBracketsMainBundle: .amateras
diff -r netBrackets/.classpath netBracketsMainBundle/.classpath
3a4,16
> <classpathentry kind="lib" path="/netBracketsFW/Libraries/core-renderer.jar"/>
> <classpathentry kind="lib" path="/netBracketsFW/Libraries/core-renderer-minimal.jar"/>
> <classpathentry kind="lib" path="/netBracketsFW/Libraries/itext-paulo-155.jar"/>
> <classpathentry kind="lib" path="/netBracketsFW/Libraries/minium.jar"/>
> <classpathentry kind="lib" path="Libraries/ant.jar"/>
> <classpathentry kind="lib" path="Libraries/jaxen.jar"/>
> <classpathentry kind="lib" path="Libraries/rome.jar"/>
> <classpathentry kind="lib" path="Libraries/saxpath.jar"/>
> <classpathentry kind="lib" path="Libraries/xalan.jar"/>
> <classpathentry kind="lib" path="Libraries/xerces.jar"/>
> <classpathentry kind="lib" path="Libraries/xml-apis.jar"/>
> <classpathentry kind="con" path="WOFramework/netBracketsFW"/>
> <classpathentry kind="con" path="WOFramework/FrontBasePlugIn"/>
13,26c26
< <classpathentry kind="lib" path="Libraries/ant.jar"/>
< <classpathentry kind="lib" path="Libraries/rome.jar"/>
< <classpathentry kind="lib" path="Libraries/xalan.jar"/>
< <classpathentry kind="lib" path="Libraries/xerces.jar"/>
< <classpathentry kind="lib" path="Libraries/xml-apis.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/core-renderer-minimal.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/core-renderer.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/frontbasejdbc.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/itext-paulo-155.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/jaxen-core.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/jaxen-jdom.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/jdom-1.0.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/jdom.jar"/>
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/minium.jar"/>
---
> <classpathentry kind="lib" path="Libraries/jdom.jar"/>
28,29d27
< <classpathentry kind="lib" path="/netBracketsFW/Libraries/saxpath.jar"/>
< <classpathentry kind="con" path="WOFramework/netBracketsFW"/>
diff -r netBrackets/.project netBracketsMainBundle/.project
3c3
< <name>netBrackets</name>
---
> <name>netBracketsMainBundle</name>
5a6
> <project>netBracketsFW</project>
22a24,30
> <linkedResources>
> <link>
> <name>Documents</name>
> <type>2</type>
> <location>/Library/WebServer/Documents</location>
> </link>
> </linkedResources>
Only in netBracketsMainBundle/.settings: .svn
diff -r netBrackets/.settings/org.eclipse.core.resources.prefs netBracketsMainBundle/.settings/org.eclipse.core.resources.prefs
0a1
> #Sun Feb 20 21:50:08 CST 2011
2c3,67
< encoding//Components=UTF-8
---
> encoding//Components/CustomWindow.api=UTF-8
> encoding//Components/CustomWindow.wo=UTF-8
> encoding//Components/CustomWindow.wo/CustomWindow.html=UTF-8
> encoding//Components/CustomWindow.wo/CustomWindow.wod=UTF-8
> encoding//Components/CustomWindow.wo/CustomWindow.woo=UTF-8
> encoding//Components/EditUserWindow.api=UTF-8
> encoding//Components/EditUserWindow.wo=UTF-8
> encoding//Components/EditUserWindow.wo/EditUserWindow.html=UTF-8
> encoding//Components/EditUserWindow.wo/EditUserWindow.wod=UTF-8
> encoding//Components/EditUserWindow.wo/EditUserWindow.woo=UTF-8
> encoding//Components/LateLatePickWindow.api=UTF-8
> encoding//Components/LateLatePickWindow.wo=UTF-8
> encoding//Components/LateLatePickWindow.wo/LateLatePickWindow.html=UTF-8
> encoding//Components/LateLatePickWindow.wo/LateLatePickWindow.wod=UTF-8
> encoding//Components/LateLatePickWindow.wo/LateLatePickWindow.woo=UTF-8
> encoding//Components/PickStatusWindow16.api=UTF-8
> encoding//Components/PickStatusWindow16.wo=UTF-8
> encoding//Components/PickStatusWindow16.wo/PickStatusWindow16.html=UTF-8
> encoding//Components/PickStatusWindow16.wo/PickStatusWindow16.wod=UTF-8
> encoding//Components/PickStatusWindow16.wo/PickStatusWindow16.woo=UTF-8
> encoding//Components/PoolLogin.api=UTF-8
> encoding//Components/PoolLogin.wo=UTF-8
> encoding//Components/PoolLogin.wo/PoolLogin.html=UTF-8
> encoding//Components/PoolLogin.wo/PoolLogin.wod=UTF-8
> encoding//Components/PoolLogin.wo/PoolLogin.woo=UTF-8
> encoding//Components/PrintPageNoBannerWrapper.api=UTF-8
> encoding//Components/PrintPageNoBannerWrapper.wo=UTF-8
> encoding//Components/PrintPageNoBannerWrapper.wo/PrintPageNoBannerWrapper.html=UTF-8
> encoding//Components/PrintPageNoBannerWrapper.wo/PrintPageNoBannerWrapper.wod=UTF-8
> encoding//Components/PrintPageNoBannerWrapper.wo/PrintPageNoBannerWrapper.woo=UTF-8
> encoding//Components/PrintPageWrapper.api=UTF-8
> encoding//Components/PrintPageWrapper.wo=UTF-8
> encoding//Components/PrintPageWrapper.wo/PrintPageWrapper.html=UTF-8
> encoding//Components/PrintPageWrapper.wo/PrintPageWrapper.wod=UTF-8
> encoding//Components/PrintPageWrapper.wo/PrintPageWrapper.woo=UTF-8
> encoding//Components/PrintablePicks.wo/PrintablePicks.html=UTF-8
> encoding//Components/StrictComp.api=UTF-8
> encoding//Components/StrictComp.wo=UTF-8
> encoding//Components/StrictComp.wo/StrictComp.html=UTF-8
> encoding//Components/StrictComp.wo/StrictComp.wod=UTF-8
> encoding//Components/StrictComp.wo/StrictComp.woo=UTF-8
> encoding//Components/TermsAndConditionsWindow.api=UTF-8
> encoding//Components/TermsAndConditionsWindow.wo=UTF-8
> encoding//Components/TermsAndConditionsWindow.wo/TermsAndConditionsWindow.html=UTF-8
> encoding//Components/TermsAndConditionsWindow.wo/TermsAndConditionsWindow.wod=UTF-8
> encoding//Components/TermsAndConditionsWindow.wo/TermsAndConditionsWindow.woo=UTF-8
> encoding//Components/examplePDF.api=UTF-8
> encoding//Components/examplePDF.wo=UTF-8
> encoding//Components/examplePDF.wo/examplePDF.html=UTF-8
> encoding//Components/examplePDF.wo/examplePDF.wod=UTF-8
> encoding//Components/examplePDF.wo/examplePDF.woo=UTF-8
> encoding//Sources/com/netbrackets/components/CustomWindow.java=UTF-8
> encoding//Sources/com/netbrackets/components/EditUserWindow.java=UTF-8
> encoding//Sources/com/netbrackets/components/EditUserWindowBase.java=UTF-8
> encoding//Sources/com/netbrackets/components/LateLatePickWindow.java=UTF-8
> encoding//Sources/com/netbrackets/components/NotificationsList.java=UTF-8
> encoding//Sources/com/netbrackets/components/PickStatusWindow16.java=UTF-8
> encoding//Sources/com/netbrackets/components/PoolLogin.java=UTF-8
> encoding//Sources/com/netbrackets/components/PoolLoginBase.java=UTF-8
> encoding//Sources/com/netbrackets/components/PrintPageNoBannerWrapper.java=UTF-8
> encoding//Sources/com/netbrackets/components/PrintPageWrapper.java=UTF-8
> encoding//Sources/com/netbrackets/components/StrictComp.java=UTF-8
> encoding//Sources/com/netbrackets/components/TermsAndConditionsWindow.java=UTF-8
> encoding//Sources/com/netbrackets/components/examplePDF.java=UTF-8
> encoding/Components=UTF-8
Only in netBracketsMainBundle/.settings: org.eclipse.jdt.ui.prefs
Only in netBracketsMainBundle/.settings: org.eclipse.wst.validation.prefs
Only in netBracketsMainBundle: .svn
Only in netBracketsMainBundle/Components: .svn
Only in netBrackets/Components: Main.api
Only in netBracketsMainBundle/Components/Main.wo: .svn
Only in netBracketsMainBundle: ContractedSource
Only in netBracketsMainBundle/Libraries: .svn
Only in netBracketsMainBundle/Resources: .svn
Only in netBrackets/Resources: Propertiesbak
Only in netBracketsMainBundle: Selenium
Only in netBracketsMainBundle/Sources: .svn
Only in netBracketsMainBundle: Testing
Only in netBracketsMainBundle/WebServerResources: .DS_Store
Only in netBracketsMainBundle/WebServerResources: .svn
Only in netBracketsMainBundle: [title goes here].html
Only in netBrackets/bin/com: .svn
Only in netBrackets/bin/com/netbrackets: .svn
Only in netBrackets/bin/com/netbrackets/app: .svn
Only in netBrackets/bin/com/netbrackets/components: .svn
Only in netBrackets/bin/com/netbrackets/utils: .svn
diff -r netBrackets/build/.version netBracketsMainBundle/build/.version
1c1
< 1315019583543
\ No newline at end of file
---
> 1315020018501
\ No newline at end of file
Only in netBrackets/build: netBrackets.woa
Only in netBracketsMainBundle/build: netBracketsMainBundle.woa
Only in netBracketsMainBundle: build embedded.xml
diff -r netBrackets/build.properties netBracketsMainBundle/build.properties
1c1,2
< classes.dir=bin
---
> #Mon Mar 01 22:34:11 CST 2010
> webXML_CustomContent=
3d3
< project.name.lowercase=netbrackets
4a5,6
> webXML=false
> eoAdaptorClassName=
5a8,9
> classes.dir=bin
> project.name.lowercase=netbrackets
7,11c11
< webXML=false
< webXML_CustomContent=
< component.wellFormedTemplateRequired=false
< component.inlineBindingPrefix=$
< component.inlineBindingSuffix=
\ No newline at end of file
---
> frameworksBaseURL=/WebObjects/Frameworks
\ No newline at end of file
diff -r netBrackets/build.xml netBracketsMainBundle/build.xml
80c80
< <woapplication name="${build.app.name}" frameworksBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" principalClass="${principalClass}" webXML="${webXML}" webXML_CustomContent="${webXML_CustomContent}" servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor">
---
> <woapplication name="${build.app.name}" frameworksBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" principalClass="${principalClass}" webXML="${webXML}" webXML_CustomContent="${webXML_CustomContent}" servletAdaptor="com.webobjects.jspservlet.WOServletAdaptor">
84c84
< <exclude if="javaClient" name="**/client/**/*.*"/>
---
> <exclude if="javaClient" name="**/client/**/*.*"/>
95c95
< <exclude if="javaClient" name="**/client/**/*.*"/>
---
> <exclude if="javaClient" name="**/client/**/*.*"/>
114c114
< </target>
---
> </target>
Only in netBracketsMainBundle: embedded-build.xml
Only in netBracketsMainBundle: index.html
Only in netBracketsMainBundle: junk.txt
Only in netBracketsMainBundle: payment.html
Only in netBracketsMainBundle: sql.txt
Only in netBracketsMainBundle/woproject: .svn
Only in netBracketsMainBundle/woproject: ant.classpaths.user.home
Only in netBracketsMainBundle/woproject: ant.classpaths.wo.wolocalroot
Only in netBracketsMainBundle/woproject: ant.classpaths.wo.wosystemroot
Only in netBracketsMainBundle/woproject: ant.frameworks.user.home
Only in netBracketsMainBundle/woproject: ant.frameworks.wo.wolocalroot
Only in netBracketsMainBundle/woproject: ant.frameworks.wo.wosystemroot
diff -r netBrackets/woproject/resources.include.patternset netBracketsMainBundle/woproject/resources.include.patternset
1,3c1,7
< Components/**/*.wo/**/*
< Components/**/*.api
< Resources/**/*
\ No newline at end of file
---
> **/Properties
> **/*.eomodeld/
> **/*.d2wmodel
> **/*.wo/
> **/*.api
> **/*.strings
> **/*.plist
diff -r netBrackets/woproject/wsresources.include.patternset netBracketsMainBundle/woproject/wsresources.include.patternset
1c1,6
< WebServerResources/**/*
---
> **/*.gif
> **/*.xsl
> **/*.css
> **/*.png
> **/*.jpg
> **/*.js
mbp17:workspace netBrackets$
On Sep 2, 2011, at 10:42 PM, Mike Schrag wrote:
> diff -r the two and see what's different
>
> ms
>
> On Sep 2, 2011, at 11:27 PM, Jeff Schmitz wrote:
>
>> 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
>>>
>>
>
_______________________________________________
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