Hi all,
I've got a weird one.
I have a brand new MBP that I am setting up my development environment on.
Eclipse/WOLips are installed and running correctly and can build Wonder just fine using the Incremental builder.
Here's the catch. I've never installed WO on this machine using the standard Apple-supplied installer. I used the WOInstaller.jar to create an installation in /Developer/WebObjects/Versions/543/.
I then set the Preferences -> WOLips -> Build -> WOLips Properties File to /Developer/WebObjects/Versions/543/wolips.properties and that file has all the paths pointing to the correct location, and like I said, the Incremental builder works just fine.
But both building with Ant both in Hudson and with Hudson fails when trying to build Wonder because it can't find the WO Installation.
I'm calling the following Ant task to build Wonder in Hudson:
ant frameworks -propertyfile /Developer/WebObjects/Versions/TotalView-3.3/wolips.properties
This should build the frameworks in my "Roots" directory, but it isn't. I get the following errors:
Started by user anonymous
Building on master
Updating https://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder@8988
At revision 8988
no change for https://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder since the previous build
Unpacking http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.1-bin.zip to /Developer/Hudson/Home/tools/HudsonAnt on Hudson
[Wonder] $ /Developer/Hudson/Home/tools/HudsonAnt/bin/ant frameworks -propertyfile /Developer/WebObjects/Versions/TotalView-3.3/wolips.properties
Buildfile: build.xml
frameworks:
frameworks.all:
ERJars.all:
global.environment:
global.properties:
global.prepare:
global.compile:
[echo] Frameworks/Core/ERJars/Sources
global.dummy:
global.dummy:
global.framework.build:
[woframework] Installing ERJars in /Developer/WebObjects/Versions/TotalView-3.3/Roots
[jar] Building jar: /Developer/WebObjects/Versions/TotalView-3.3/Roots/ERJars-5.0.jar
[echo] -------------------------------------
[echo] ERJars.framework done
[echo] -------------------------------------
JavaWOExtensions.all:
global.environment:
global.properties:
global.prepare:
global.compile:
[echo] Frameworks/Core/JavaWOExtensions/Sources
global.dummy:
[wocompile] Compiling 56 source files to /Developer/WebObjects/Versions/TotalView-3.3/Roots/classes/JavaWOExtensions
[wocompile] /Developer/Hudson/Home/jobs/Wonder for TotalView 3.3/workspace/Wonder/Frameworks/Core/JavaWOExtensions/Sources/com/webobjects/woextensions/JSAlertPanel.java:10: package com.webobjects.appserver does not exist
[wocompile] import com.webobjects.appserver.WOContext;
[wocompile] ^
The setting that is telling it to build in the /Developer/WebObjects/Versions/543/Roots/ directory is in that same wolips.properties file, so I know Ant is reading it. Why isn't it finding the WO Frameworks as defined?
I get the same result if I build the project from the command line.
Is there any chance that the Ant build is ignoring the wolips.properties file and simply looking in the default location (/System/Library/)?
Dave |