Re: WOCompile cannot be found.
Re: WOCompile cannot be found.
- Subject: Re: WOCompile cannot be found.
- From: Douglas Andrews <email@hidden>
- Date: Sat, 14 Nov 2015 09:44:25 +0000
- Thread-topic: WOCompile cannot be found.
- X_v_e_cd: df3ccea01f86b61fb8a5e74e1e8370a3
- X_v_r_cd: efae9057a007d1becba4851da7d254d8
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@hidden> 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@hidden> 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@hidden> 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@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
>
> _______________________________________________
> 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
_______________________________________________
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