[WireHose-dev] HelloWorld Problem - **Second Request**
Fred Shurtleff
fhs at comcast.net
Fri Nov 30 19:51:47 EST 2007
Bill, Thanks for the pointer. I use Eclipse for WO work, and have no
experience with Xcode. I had been getting, earlier in the tutorial,
strange error messages about 'Missing xxxx.java' files and could not
make any sense out of these. So now I know how to deal with these
strange episodes when things get 'jostled' in Xcode.
fs
William Hatch wrote:
> Hi Fred, I didn't notice the space issue in the path that Gary pointed
> out, so that's most likely the cause of this specific problem.
> However, it still creeps up from time to time. To rebuild the
> codesense index, select the project icon in the Files view within
> xcode project; get info, click button. And sometimes you have to do
> these things a few times for them to "stick". You're also likely to
> need this routine if you remove a file from your project and xcode
> refuses to let go of the reference and you get the "...not found..."
> type errors. Of course this will all be a thing of the past once you
> move to Eclipse;-) Hope that helps; good luck.
>
> __william hatch
> director of development services c o d e f a b llc
> bill at codefab.com
> 212.465.8484 x119
> http://www.codefab.com
>
>
>
>
> On Nov 30, 2007, at 6:25 PM, Fred Shurtleff wrote:
>
>> Hi Bill,
>>
>> Unfortunately this did not help. I did all of the actions you
>> advised, EXCEPT #3 - 'reindex codesense'. Can you expand on this action?
>>
>> Thanks for your help.
>>
>> William Hatch wrote:
>>> You typically get this after either moving a project directory,
>>> updating from repository, cleaning. It's an XCode reference issue.
>>> Try doing the following in order:
>>>
>>> kill the build directory
>>> close the project and then reopen
>>> reindex codesense
>>> clean
>>> build
>>> run
>>> rinse, repeat...;-)
>>>
>>> This one can be very annoying for sure. Hope that helps.
>>>
>>> __william hatch
>>> director of development services c o d e f a b llc
>>> bill at codefab.com
>>> 212.465.8484 x119
>>> http://www.codefab.com
>>>
>>>
>>>
>>>
>>> On Nov 30, 2007, at 5:40 PM, Fred Shurtleff wrote:
>>>
>>>> Hi All,
>>>>
>>>> Ok, I will be more direct. I am trying to run the HelloWorld app
>>>> that shipped in the WireHoseExtras folder, but am having no
>>>> success. The app builds successfully but the Run Log reports:
>>>>
>>>> [Session started at 2007-11-30 17:17:08 -0500.]
>>>> Reading MacOSClassPath.txt ...
>>>> Launching HelloWorld.woa ...
>>>> java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
>>>> -DWOLocalRootDirectory=""
>>>> -DWOUserDirectory="/Users/fredshurtleff/src/WireHoseExtras/Sample
>>>> Code/HelloWorld/build/Development" -DWOEnvClassPath=""
>>>> -DWOApplicationClass=Application -DWOPlatform=MacOS
>>>> -Dcom.webobjects.pid=1316 -classpath WOBootstrap.jar
>>>> com.webobjects._bootstrap.WOBootstrap -WODebuggingEnabled NO
>>>> -NSDebugGroups "(com.wirehose.base.WHLog.DebugGroupImporting,"
>>>> "com.wirehose.base.WHLog.DebugGroupWireHose)" -NSDebugLevel
>>>> NSLog.DebugLevelCritical -ImportFeeds YES
>>>> appRoot is /Users/fredshurtleff/src/WireHoseExtras/Sample
>>>> Code/HelloWorld/build/Development/HelloWorld.woa/Contents
>>>> Loading /Users/fredshurtleff/src/WireHoseExtras/Sample
>>>> Code/HelloWorld/build/Development/HelloWorld.woa/Contents/MacOS/MacOSClassPath.txt
>>>>
>>>> Generated classpath:
>>>> /Users/fredshurtleff/src/WireHoseExtras/Sample
>>>> Code/HelloWorld/build/Development/HelloWorld.woa/Contents/Resources/Java/helloworld.jar
>>>>
>>>> /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
>>>>
>>>> /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
>>>>
>>>> /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
>>>>
>>>> /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
>>>>
>>>> /System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
>>>>
>>>> /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
>>>>
>>>> /Library/Frameworks/WireHoseWOBuilderBindings/WireHoseWOBuilderBindings.framework/
>>>>
>>>> /Library/Frameworks/WireHoseBase.framework/Resources/Java/WireHoseBase.jar
>>>>
>>>> /Library/Frameworks/WireHoseLayoutSupport.framework/Resources/Java/WireHoseLayoutSupport.jar
>>>>
>>>> /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
>>>>
>>>> /Users/fredshurtleff/Library/Java
>>>> /Library/Java/
>>>> /System/Library/Java/
>>>> /Network/Library/Java
>>>> /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
>>>> /System/Library/Frameworks/JavaVM.framework/Classes/ui.jar
>>>> /Library/WebObjects/Extensions/axis-ant.jar
>>>> /Library/WebObjects/Extensions/axis.jar
>>>> /Library/WebObjects/Extensions/commons-discovery.jar
>>>> /Library/WebObjects/Extensions/commons-logging.jar
>>>> /Library/WebObjects/Extensions/jaxrpc.jar
>>>> /Library/WebObjects/Extensions/log4j-1.2.8.jar
>>>> /Library/WebObjects/Extensions/saaj.jar
>>>> /Library/WebObjects/Extensions/wsdl4j.jar
>>>> /Library/WebObjects/Extensions/
>>>> Can't load Application class, exiting...
>>>> java.lang.ClassNotFoundException: Application
>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:68)
>>>>
>>>> HelloWorld has exited with status 1.
>>>>
>>>> Can anyone see what may be the problem?
>>>>
>>>> Thanks for any help.
>>>>
>>>> MacOS: Tiger 10.4.1
>>>> Xcode: 2.4.1
>>>> WebObjects: 5.3.2
>>>>
>>>> _______________________________________________
>>>> WireHose-dev mailing list
>>>> WireHose-dev at public.codefab.com
>>>> http://public.codefab.com/mailman/listinfo/wirehose-dev
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> WireHose-dev mailing list
>> WireHose-dev at public.codefab.com
>> http://public.codefab.com/mailman/listinfo/wirehose-dev
>
>
>
More information about the WireHose-dev
mailing list