Hi Chuck,

I found out what's causing WOLips to Not recognize some of the
frameworks. The frameworks that do show up all have the internal
structure:

framework
-Resource
-WebServerResource

while the ones that don't show up have a nested /versions/A/...
structure:
framework
-version
--A
---Resource
---WebServerResource
---(etc.)

having checked the original files on OS X, the frameworks with version/A
structure all have a softlink pointing to the resource folders at the
root of the framework folder. These softlinks are all gone once I copied
the file to Ubuntu, which is probably why WOLips doesn't recognize them.
I tried move the Reource and WebserverResource folders back to the root
of the framework, now it will show up and work properly inside WOLips. 

Once I fixed the Java runtime for Eclipse(running java-1.5.0-sun now),
and did this for all the frameworks that doesn't showup, WOLips seem to
work properly now, I can build and run a sample app without errors.

It's strange that I didn't see this mentioned else where, I'll be sure
to note it in our documentation at
http://stanley.cdf.toronto.edu/drproject/csc49x/webcat

Thanks to everyone for the help, this mailing list is very helpful.

Qi


On Tue, 2008-05-27 at 19:55 -0700, Chuck Hill wrote:
> On May 27, 2008, at 6:57 PM, Qi Yang wrote:
> 
> > here's what's in wobuild.properties:
> > wo.woroot=/
> > wo.dir.local=/
> > wo.dir.user.home.library=/home/user/Library
> > wo.dir.library=/WO/System/Library
> > wo.wosystemroot=/WO/System
> > wo.dir.local.library=/WO/Library
> > wo.dir.library.frameworks=/WO/System/Library/Frameworks
> > wo.dir.user.home.library.frameworks=/home/user/Library/Frameworks
> > wo.dir.root=/
> > wo.dir.local.library.frameworks=/WO/Library/Frameworks
> > wo.dir.system=/WO/System
> > wo.wolocalroot=/
> > wo.dir.reference.api=/WO/API/
> 
> If you are using modern versions, these should be the only three you  
> need:
> 
> wo.wosystemroot=/WO/System
> wo.wolocalroot=/
> wo.woroot=/
> 
> 
> > and the Problem view in Eclipse is empty
> 
> I don't think I have ever seen that!  :-)
> 
> 
> > I dont have direct access to the ubuntu machine now, ill check and  
> > confirm the rest tomorrow.
> >
> > thanks again for the help,
> 
> Always a pleasure.  Let us know what you find out about which JVM it  
> is using.
> 
> Chuck
> 
> 
> 
> > On 27-May-08, at 8:44 PM, Chuck Hill wrote:
> >
> >> Please keep messages on the list.
> >> On May 27, 2008, at 5:37 PM, Qi Yang wrote:
> >>
> >>> Thanks for the reply Chuck,
> >>>
> >>> On 27-May-08, at 6:44 PM, Chuck Hill wrote:
> >>>> No.  wobuild.properties describes the setup for a user.   
> >>>> build.properties is project specific.  They are two totally  
> >>>> unrelated files.
> >>> Sorry I have no idea, still a noobie at this ;)
> >>
> >> Maybe I missed it earlier, but can you paste in the contents of  
> >> your ~/Library/wobuild.properties file?
> >>
> >>
> >>>> What frameworks in /System/Library/Frameworks don't show up?  
> >>>> There are only about 12 frameworks that WO uses.
> >>> The ones that do show up:
> >>> JavaWebServicesSupport
> >>> JavaWebServicesClient
> >>> JavaJNDIAdaptor
> >>> JavaDTWGeneration
> >>> JavaJDBCAdaptor
> >>> JavaXML
> >>> JavaWebObjects
> >>> JavaEOInterfaceCocoa
> >>>
> >>> the ones that don't show up, there are a few from XCode 2.5 which  
> >>> are probably not needed:
> >>> EOModeler         
> >>> JDBCEOAdaptor
> >>> JNDIEOAdaptor
> >>
> >> Those three are not Java and should not show up.
> >>
> >>
> >>> JavaDirectToWeb
> >>> JavaEOAccess
> >>> JavaEOApplication
> >>> JavaEOCocoa
> >>> JavaEOControl
> >>> JavaEODistribution
> >>> JavaEOGeneration
> >>> JavaEOInterface
> >>> JavaEOInterfaceSwing
> >>> JavaEOProject
> >>> JavaEORuleSystem
> >>> JavaEOTool
> >>> JavaFoundation
> >>> JavaWOExtensions
> >>> JavaWOJSPServlet
> >>> JavaWebServicesGeneration
> >>
> >> Those really should show up.  I can't think of an explanation of  
> >> why JavaWebObjects would show up and JavaFoundation would not.   
> >> That is just plain strange.
> >>
> >>
> >>> I'm guess a lot of these are not really needed. I tried to load  
> >>> the jar file within the framework manually in Eclipse to resolve  
> >>> the reference errors, but that leads me to the error i mentioned  
> >>> earlier in com.webobjects.foundation.NSTimeZone
> >>
> >> I think you really need them referenced properly for WOLips to work  
> >> fully correctly.
> >>
> >>
> >>> I'll need to go back and the check the Java version too.
> >>
> >>
> >> It might be that.   It could be the Ubuntu JVM is throwing errors  
> >> when loading the jar file for some of these frameworks.
> >>
> >>
> >> Under Window - View, open the Problems view.  Have a look at what  
> >> is reported in there.
> >>
> >>
> >> Chuck
> >>
> >> -- 
> >>
> >> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to