Re: Build Failed on Snow Leopard
Re: Build Failed on Snow Leopard
- Subject: Re: Build Failed on Snow Leopard
- From: Calven Eggert <email@hidden>
- Date: Mon, 16 Nov 2009 16:23:16 -0500
I've created a new build.xml file. Here is the error I get when building:/Users/ceggert/Projects/COREFW/build.xml:88: srcdir "/Users/ceggert/Projects/COREFW/Sources" does not exist! I don't have a folder called Sources. If I change that line in the build.xml to "src" where the source actually is, I then get another error about not finding folder "Libraries". I don't have a folder of that name in my project. Could it be that the WOLips is expecting files in certain places? These are very old projects.
I'm wondering if I should create new WO projects for all my WO frameworks and WO applications.
Is this a good idea? Is this too difficult or is there a simpler solution?
Calven On 2009-11-16, at 3:54 PM, Chuck Hill wrote: On Nov 16, 2009, at 12:34 PM, Calven Eggert wrote: I have imported my projects into Eclipse on Snow Leopard from my repository.
How do I know if my build.xml is too old?
I like to use a technique that I call "looking at it". :-P Below, I asked "Does it actually refer to wobuild.properties?". The search function in a text editor (e.g. Eclipse) will help in answering that. If it is too old how do I rebuild it?
Create a new project of the appropriate type and copy over the build.xml file. Chuck On 2009-11-16, at 3:28 PM, Chuck Hill wrote:
Then #1 below seems like a good place to start looking.
Chuck
On Nov 16, 2009, at 11:59 AM, Calven Eggert wrote:
ah, I found the wolips properties file and it looks like this:
#Mon Nov 16 15:02:46 GMT-00:05 2009
wo.system.root=/System
wo.user.frameworks=/Users/ceggert/Library/Frameworks
wo.system.frameworks=/System/Library/Frameworks
wo.bootstrapjar=/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
wo.network.frameworks=/Network/Library/Frameworks
wo.api.root=/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/Resources/Documents/documentation/InternetWeb/Reference/WO542Reference
wo.network.root=/Network
wo.extensions=/Library/WebObjects/Extensions
wo.user.root=/Users/ceggert
wo.local.frameworks=/Library/Frameworks
wo.apps.root=/Library/WebObjects/Applications
wo.local.root=/
On 2009-11-16, at 2:34 PM, Chuck Hill wrote:
On Nov 16, 2009, at 9:40 AM, Calven Eggert wrote:
A message was posted last month about failing to build a WO application on Snow Leopard. Was a solution posted? (I couldn't find it)
I think I have the same problem. I've have installed just received a new MacBookPro and am happy(?) to move to Snow Leopard. All WO errors have been resolved except for this build problem. Here is the low down on my install:
Eclipse 3.4.2
WO5.4.3
WOLips from here(http://webobjects.mdimension.com/wolips/stable)
Java 1.5
Wonder 54 binaries
I get the error:
BUILD FAILED
/Users/ceggert/Projects/COREFW/build.xml:25: Could not find /Users/ceggert/Library/wobuild.properties.
Chuck Hill noted that the wobuild.properties file was obsolete. What should I do? I'm willing to do a complete install if necessary
There are a few possibilities:
1. Your build.xml is too old for that version of WOLips. Does it actually refer to wobuild.properties?
2. If this is from the command line, Ant could be loading an older version of woproject.jar if this machine was upgraded (not a new SL machine).
3. That message could just be wrong. Do you have the wolips.properties file?
http://wiki.objectstyle.org/confluence/display/WO/Installing+WebObjects+5.4+on+Snow+Leopard
Chuck
--
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
--
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
-- 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