Hi Douglas,

"Override ignored for property² sounds like an Ant message.  Ant will only
set a property once.  Trying to alter it after that will result in this
message.  That means that somewhere in your build process before this
point, the values for these have been set.  And set incorrectly as it then
can¹t find the WO frameworks.  You will have to locate where these are
getting set and fix the problem them.  Running Ant with the -d -v options
(debug, verbose) should help you see where these are getting set (I think,
it has been a while since I last debugged an Ant problem).

Chuck


On 2015-11-14, 1:44 AM,
"webobjects-dev-bounces+chill=gevityinc....@lists.apple.com on behalf of
Douglas Andrews" 
<webobjects-dev-bounces+chill=gevityinc....@lists.apple.com on behalf of
doug.andr...@newscycle.com> wrote:

>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 <mavish...@gmail.com>
>>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
>>>>><doug.andr...@newscycle.com> 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.objectst
>>>>>>>yle.wolips.woproject.ant_3.7.20140223.48/lib/woproject.jar
>>>>>>> 
>>>>>>> 
>>>>>>> On Nov 12, 2015, at 12:57 PM, Douglas Andrews
>>>>>>><doug.andr...@newscycle.com> wrote:
>>>>>>> 
>>>>>>>> -lib 
>>>>>>>>/home/ec2-user/SVNSOURCE/Eclipse-Indigo/eclipse/plugins/org.objects
>>>>>>>>tyle.wolips.woproject.ant_3.7.20140223.48.jar
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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/doug.andrews%40n
>>>>ewscycle.com
>>>> 
>>>> This email sent to doug.andr...@newscycle.com
>>> 
>> 
>> 
>> _______________________________________________
>> 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/doug.andrews%40new
>>scycle.com
>> 
>> This email sent to doug.andr...@newscycle.com
>
>
> _______________________________________________
>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/chill%40gevityinc.c
>om
>
>This email sent to ch...@gevityinc.com


 _______________________________________________
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