In Eclipse, if I use ‘Run As Ant build’ to build any of the Wonder frameworks, 
the build fails as below - the example is for WOPayPal.  I have googled this 
and looked at the list, but can’t find any answer which works for me. 


Buildfile: 
/Users/liz/Projects/WonderSource-Feb2014/Frameworks/BusinessLogic/WOPayPal/build.xml
clean:
WOPayPal.all:
global.environment:
global.properties:
global.framework.clean:
      [delete] Deleting directory /Users/liz/Roots/classes/WOPayPal
      [delete] Deleting directory /Users/liz/Roots/WOPayPal.framework
build:
WOPayPal.all:
global.environment:
global.properties:
global.prepare:
       [mkdir] Created dir: /Users/liz/Roots/classes/WOPayPal
global.compile:

BUILD FAILED
/Users/liz/Projects/WonderSource-2015/Frameworks/BusinessLogic/WOPayPal/build.xml:12:
 The following error occurred while executing this line:
/Users/liz/Projects/WonderSource-2015/Build/build/build.xml:593: The following 
error occurred while executing this line:
/Users/liz/Projects/WonderSource-2015/Build/build/generic.xml:247: taskdef A 
class needed by class org.objectstyle.woproject.ant.WOCompile cannot be found: 
org/apache/tools/ant/taskdefs/Javac
 using the classloader 
AntClassLoader[/Users/liz/Projects/WonderSource-Feb2014/Build/lib/cayenne-1.2M12.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/jdom-b7.jar:/Users/liz/Projects/WonderSource-Feb2014/Build/lib/log4j-1.2.9.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/maven-ant-tasks-2.1.3.jar:/Users/liz/Projects/WonderSource-2015/Build/lib/woproject.jar]



If I try to build my own framework, which references some Wonder frameworks in 
my workspace, I get:

BUILD FAILED
/Users/liz/Projects/Test/build.xml:87: taskdef A class needed by class 
org.objectstyle.woproject.ant.WOCompile cannot be found: 
org/apache/tools/ant/taskdefs/Javac
 using the classloader AntClassLoader[]


I can build a different project, which uses the Wonder pre-built binaries in 
/Library/Frameworks, in Eclipse with no problems.

I can also build the Wonder frameworks to ~/Roots fine from the command line 
using ant:  ant clean frameworks

        

My development setup is:

El Capitan 10.11.1
Java 1.8.0_31
ant 1.9.6 installed via home-brew.
Eclipse Luna Service Release 2 (4.4.2)
WOLips 4.4.201510.13.47




All ideas welcomed. 

Liz







 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to