Hi Theodore

> On 27 Nov 2015, at 19:54, Theodore Petrosky <[email protected]> wrote:
> 
> have you tried to build from the command line:
> 
> cd to_Wonder_Directory
> sudo ant  frameworks frameworks.install

Thanks for getting back to me.

Yes, I already did that, and the frameworks build and install fine (I did say 
this at the end of my email but perhaps I wasn't clear!).  You are right - I 
could change my own project and remove the Wonder frameworks from my workspace 
and add the built frameworks from /Library/Frameworks to the classpath instead. 
 But if possible I would prefer to ‘fix’ Eclipse/ant so that I can use the 
Wonder source directly within the workspace.

Liz

> 
> I think that’s it
> 
>> On Nov 27, 2015, at 12:00 PM, Elizabeth Lynch <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> 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 protected] 
>> <mailto:[email protected]>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com 
>> <https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com>
>> 
>> This email sent to [email protected] <mailto:[email protected]>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to