• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup


  • Subject: Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup
  • From: Elizabeth Lynch <email@hidden>
  • Date: Fri, 27 Nov 2015 17:00:05 +0000

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup
      • From: Theodore Petrosky <email@hidden>
  • Prev by Date: Re: Wrong url generation for frameworks
  • Next by Date: Re: El Capitan Apache Seg Fault
  • Previous by thread: Re: Odd backtracking error
  • Next by thread: Re: Can't build Wonder frameworks with Eclipse Luna / El Capitan / Java 8 setup
  • Index(es):
    • Date
    • Thread