Here is what I do:
1. I have a properties file in my ~/Library that contains additional
information used for Any builds. One of the lines is this:
# Path to WOProject jar containing Ant tasks
woproject.path=${eclipse.plugins.path}/
org.objectstyle.wolips.woproject.ant_2.0.0.3446/lib/woproject.jar
2. In the build.xml, I load this properties files:
<target name="setProps">
...
<property file="${user.library.dir}/gvc.properties"/>
3. Later in the setProps target, I explicitly load the woproject tasks:
<!-- woproject Tasks -->
<taskdef file="${user.library.dir}/
woproject_tasks.properties" classpath="${woproject.path}" />
The path in to the woproject.jar does need to be kept updated.
Chuck
On Oct 23, 2006, at 6:07 PM, ap..indesay.co.nz wrote:
> Hello; A very basic question -- I can ant build from Eclipse just
> fine, but one client has quite a complex build-deploy system which
> I would like to ant-ise. When I installed wo-project from eclipse,
> an ant build works just fine, but from the command line it can't
> find "org.objectstyle.woproject.ant.WOApplication". Do I need to
> install the ant tasks somewhere else for ant to find them? Where
> can I get the build for the ant tasks separately?
>
> Also, maybe if I can get a login on the wiki, I could perhaps
> augment the doco as I go?
>
> cheers.
>
> ___
> Andrew Lindesay
> www.lindesay.co.nz
>
>
>
>
--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 : Tue Oct 24 2006 - 11:55:18 EDT