OK, I was able to get past this problem by setting the classpath in my 
build.xml.
<taskdef name="wocompile" classpath="/home/bla/bla"

The problem I am having now is that ant can't find my WO frameworks.
The build fails when ever it encounters a symbol in the WO frameworks, like 
NSArray or NSDictionary.

It seems to be ignoring build.properties and wolips.properties files.

This is toward the top of the output when I try to compile:
init.properties:
parsing buildfile 
jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/antlib.xml with URI = 
jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/antlib.xml from a zip 
file
 [property] Loading /tmp/BuildCircF/Eclipse/Core/CircWeb/build.properties
Override ignored for property "wo.localroot"
Override ignored for property "wo.local.frameworks"
Override ignored for property "wo.systemroot"
Override ignored for property "wo.system.frameworks"
 [property] Loading /home/ec2-user/Library/Application 
Support/WOLips/wolips.properties
Override ignored for property "wo.woroot"
Override ignored for property "wo.dir.user.home.library.frameworks"
Override ignored for property "jvmOptions"
Override ignored for property "wo.localroot"
Override ignored for property "wo.system.frameworks"
Override ignored for property "wo.local.frameworks"
Override ignored for property "wo.systemroot"

I've even tried passing these values in via the command line with the -D 
option, like this:
-Dwo.system.frameworks=/opt/System/Library/Frameworks

I have womonitor and wotaskd up and running.
I also have some other WO apps running, although they have embedded WO 
frameworks.
I could only get them to run with the embedded frameworks.  I could not get 
them to run by changing the UNIX class path file to point to the frameworks 
that were already on the box.

How can I get ant to see my WO frameworks?
Could there be a permissions issue?



On Nov 13, 2015, at 11:37 AM, Ramsey Gurley wrote:

> When you unzip the jar, do you see the class? If the jar exists, and the 
> class exists, then you must have a typo in your path. There’s also a copy of 
> woproject.jar available in wonder if for some reason this is the wrong jar:
> 
> https://github.com/wocommunity/wonder/tree/master/Build/lib
> 
> On Nov 13, 2015, at 5:55 AM, douglas andrews <[email protected]> wrote:
> 
>> Sorry, meant to say the error is still:
>> 
>> taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found using 
>> the classloader AntClassLoader[]
>> 
>> 
>> 
>> On Nov 13, 2015, at 7:36 AM, Douglas Andrews wrote:
>> 
>>> The jar does exist.  
>>> org.objectstyle.wolips.woproject.ant_3.7.20140223.48/lib/woproject.jar
>>> 
>>> My error is now:
>>> taskdef class org.objectstyle.woproject.ant.WOApplication cannot be found
>>> 
>>> Permissions look ok.
>>> 
>>> 
>>> On Nov 12, 2015, at 6:50 PM, Ramsey Gurley wrote:
>>> 
>>>> When you unzip that jar, is the class missing? Or does the jar not exist?
>>>> 
>>>> On Nov 12, 2015, at 2:45 PM, Douglas Andrews <[email protected]> 
>>>> wrote:
>>>> 
>>>>> This gives the same error message.
>>>>> 
>>>>> 
>>>>> On Nov 12, 2015, at 4:13 PM, Ramsey Gurley wrote:
>>>>> 
>>>>>> This part looks off to me. Should that instead be 
>>>>>> 
>>>>>> -lib 
>>>>>> /home/ec2-user/SVNSOURCE/Eclipse-Indigo/eclipse/plugins/org.objectstyle.wolips.woproject.ant_3.7.20140223.48/lib/woproject.jar
>>>>>> 
>>>>>> 
>>>>>> On Nov 12, 2015, at 12:57 PM, Douglas Andrews 
>>>>>> <[email protected]> wrote:
>>>>>> 
>>>>>>> -lib 
>>>>>>> /home/ec2-user/SVNSOURCE/Eclipse-Indigo/eclipse/plugins/org.objectstyle.wolips.woproject.ant_3.7.20140223.48.jar
>>>>>> 
>>>>> 
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 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/doug.andrews%40newscycle.com
>>> 
>>> This email sent to [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/doug.andrews%40newscycle.com
> 
> This email sent to [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