From: David A. <web...@av...> - 2012-05-24 07:06:04
|
Hi Jake, On May 24, 2012, at 11:58 AM, Jake Bearkley wrote: > Hi All, > > I am still stuck trying to reference local libraries in my application. "local" has a very specific meaning when it comes to WebObjects frameworks. The default MacOS X location is /Libraries/Frameworks, but according to your properties file you have it set differently: wo.local.frameworks=/Library/WebObjects/Versions/WebObjects543/Library/Frameworks *That* is where you you should put your compiled, non-Apple frameworks (Wonder, etc). I see you are trying to point to /Library/Frameworks by using the wo.user.frameworks property. I've never tried to actually use the "user" or "network" locations. In fact, I've completely removed them from my build.properties file as they just seem to confuse me. But I'm easily confused. Just ask anyone. Dave > > in the configure build path dialog it states "4 build path entries missing" > > theses frameworks exist in /Library/Frameworks > > my properties file looks like this > > #Thu May 24 12:34:06 CST 2012 > wo.api.root=/Library/WebObjects/ADC%20Reference%20Library/documentation/WebObjects/Reference/API > wo.apps.root=/Library/WebObjects/Versions/WebObjects543/Library/WebObjects/Applications > wo.bootstrapjar=/Library/WebObjects/Versions/WebObjects543/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar > wo.dir.local.library.frameworks=/Library/WebObjects/Versions/WebObjects543/Library/Frameworks > wo.dir.user.home.library.frameworks=/Library/Frameworks > wo.extensions=/Library/WebObjects/Versions/WebObjects543/Library/WebObjects/Extensions > wo.local.frameworks=/Library/WebObjects/Versions/WebObjects543/Library/Frameworks > wo.local.root=/Library/WebObjects/Versions/WebObjects543 > wo.network.frameworks=/Network/Library/Frameworks > wo.network.root=/Network > wo.system.frameworks=/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks > wo.system.root=/Library/WebObjects/Versions/WebObjects543/System > wo.user.frameworks=/Library/Frameworks > wo.user.root=/Library > wolips.properties=wolips.543.properties > > these values appear to be correct > my other development machine has similar entries but with a different path as it references /Developer/ to get to the WebObjects version > my other machine does not contain the additional entries for wo.dir.local.library and wo.dir.user.home.library > > When I try and add a library no user or local locations are displayed, only Locations projects and system. Configure Build Path -> Libraries -> Add Library -> Webobjects Frameworks > > Please, can anyone help!!!! I need to be able to get this application built on my new machine > > Thanks in advance > > Bearko > > > On Tue, May 8, 2012 at 3:54 AM, Chuck Hill <ch...@gl...> wrote: > Try comparing the wolips.properties files on both machines. > > Chuck > > > On 2012-05-05, at 5:42 AM, Jake Bearkley wrote: > > > Hi All, > > > > I am currently building a new Lion development machine. > > > > I have successfully installed, eclipse, wolips and retrieved the wonder frameworks following http://wiki.wocommunity.org/display/WONDER/Project+Wonder+Installation > > > > my newly built wonder frameworks exist in ~/Roots > > > > I have a project which works fine in Eclipse on a Snow Leopard machine, but when I import the same project into eclipse on the new machine, the "configure build path" dialog states 4 build path entries are missing. These frameworks only appear exist in the /Library/Frameworks directory on both machines. > > > > When you click "edit" the directory is "WOFramework/Custom.framework", If you then change from WOFramework to /Library/Frameworks the import statements are then broken in the java files. > > Other frameworks like ERJars also states "WOFramework/ERJars" and that path entry is not missing. > > > > I presume "WOFramework" is a reference to a property set in Eclipse -> Preferences ->WOLips (which one?) > > I also presume the Wonder frameworks are working because I have imported the wonder source into a working set. > > (please correct me if I do not have the correct understanding) > > > > I have tried setting the user framework property to either /Library/Frameworks or /Users/bearko/Roots, but it is still broken > > > > Q1) How do I get both machines to have the same build path references which work on both machines? > > Q2) when I later build my application for deployment and embed my frameworks how will it know to use my versions in ~/Roots > > > > I sent the same query to the wonder-disc mailing list, but got no response. > > > > Thanks in advance > > Bearko |