On Mar 21, 2008, at 4:47 PM, Art Isbell wrote:
> On Mar 21, 2008, at 1:37 PM, Chuck Hill wrote:
>> Eclipse? Art? Is this really you? :-)
>
> Ahem … 'fraid so. I'll warn you to sit down first before I
> announce adding WOnder to my mix to avoid potential injuries when
> you faint :-)
Why, thank you. I'd appreciate that. ;-)
>> On Mar 21, 2008, at 4:25 PM, Art Isbell wrote:
>>>
>
>>> I decided to add an ant build to my wo53 and wo54 scripts.
>>
>> Careful, you could end up like me!
>
> <gasp!>
Mike says my build process gives him nightmares.
>> You can find the woproject.jar file and put it in Ant's lib/
>> directory. Or you can add something like woproject.path to ~/
>> Library/wobuild.properties, define it and then add this to your
>> build file:
>>
>> <typedef resource="typedef.properties" classpath="$
>> {woproject.path}"/>
>> <taskdef file="${cadre.wo.frameworks.path}$
>> {file.separator}woproject_tasks.properties" classpath="$
>> {woproject.path}"/>
>>
>> This really should be in woproject.jar as taskdef.properties (and I
>> am not sure why it is not, I have never dug into it), but here are
>> the definitions referenced above
>>
>> cat ~/Library/woproject_tasks.properties
>> woframework=org.objectstyle.woproject.ant.WOFramework
>> wocompile=org.objectstyle.woproject.ant.WOCompile
>> woapplication=org.objectstyle.woproject.ant.WOApplication
>
>
> <headslap> Why, that's so obvious, why didn't I figure it out :-)
> Thanks!
Yeah, I really should get taskdef.properties in there. A more
difficult question is how to deal with having Ant know about
woproject.jar.
Chuck
--Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects
This archive was generated by hypermail 2.0.0 : Fri Mar 21 2008 - 20:01:48 EDT