Hi Ted

The ‘liz’ user does have permissions to write to the Frameworks directory. My 
build.xml is the same as yours, and there are no strange characters or spaces 
as far as I can tell.

But my problem is not with the Eclipse  WoLips Ant Tools->Install - this works 
OK if I have already built the framework via the command line to the Roots 
directory. I get the same output you do.

But if I use the Run As -> Ant build,  then I get the build error.  What 
happens in your setup if you try that?

Liz


> On 27 Nov 2015, at 22:08, Theodore Petrosky <[email protected]> wrote:
> 
> I just right clicked on that framework (WOPayPal) and choose WOLips Ant Tools 
> install,this is what I got:
> 
> Buildfile: 
> /Users/asacksadmin/Repository/WonderSource/Frameworks/BusinessLogic/WOPayPal/build.xml
> install:
> WOPayPal.all:
> global.environment:
> global.properties:
> global.framework.install:
> BUILD SUCCESSFUL
> Total time: 460 milliseconds
> 
> I removed the WOPayPal.framework from /Library and re-ran the install from 
> Eclipse and it re-created the framework in /Library.
> 
> This is my build.xml file. Does this help?
> 
> Does your user ‘liz’ have permission to write in /Library/Frameworks? I don’t 
> see any spaces in the path, but are there any weird characters?
> 
> Ted
> 
> <project name="FrameworkBuild" default="all" basedir=".">
>     <xmlproperty file=".project"/>
>     <property name="project.name" value="${projectDescription.name}" />
>     <property file="build.properties" />
> 
>     <target name="clean">
>         <ant antFile="Build/build/build.xml" target="${project.name}.all" 
> dir="../../../">
>             <property name="build.action" value="clean" />
>         </ant>
>     </target>
>     <target name="build">
>         <ant antFile="Build/build/build.xml" target="${project.name}.all" 
> dir="../../../">
>             <property name="build.action" value="build" />
>         </ant>
>     </target>
>     <target name="install">
>         <ant antFile="Build/build/build.xml" target="${project.name}.all" 
> dir="../../../">
>             <property name="build.action" value="install" />
>         </ant>
>     </target>
>     <target name="web">
>         <ant antFile="Build/build/build.xml" target="${project.name}.all" 
> dir="../../../">
>             <property name="build.action" value="web" />
>         </ant>
>     </target>
>     <target name="test">
>         <ant antFile="Build/build/build.xml" target="${project.name}.all" 
> dir="../../../">
>             <property name="build.action" value="test" />
>         </ant>
>     </target>
>     <target name="all" depends="clean, build, install, web" />
> </project>
> 
> 
> 
>> On Nov 27, 2015, at 4:01 PM, Elizabeth Lynch <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi Theodore
>> 
>> 
>>> On 27 Nov 2015, at 19:54, Theodore Petrosky <[email protected] 
>>> <mailto:[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