Invoking ant task to build index outside eclipse? [message #571737] |
Fri, 29 June 2007 21:45 |
Eclipse User |
|
|
|
Originally posted by: ddirks.ittvis.com
Hello all,
I'm wondering if anyone can help me with an automation problem I'm having.
I generate documentation plugins using WebWorks Publisher, but I believe
I need to use an ant task to generate the pre-built index. I have an ant
build script that will do this from within Eclipse, but I'm having trouble
getting to the point where I can call ant from the command line as part
of an automated build script.
The following build.xml file works from within Eclipse:
<project name="IDL Workbench" default="build.index" basedir="." >
<target name="build.index" if="eclipse.running">
<help.buildHelpIndex manifest="${basedir}/plugin.xml"
destination="${basedir}"/>
</target>
</project>
Obviously, the
if="eclipse.running"
will prevent this from running by calling ant at the command line.
Unsurprisingly, if I simply remove the "if" attribute, ant can't find the
help.buildHelpIndex task. My hang-up is that I can't figure out how to
specify where ant should look for the task, in the absence of a running
Eclipse.
Any help would be appreciated. I'm not a Java developer, so I'm sort of
feeling my way around in the dark with this stuff.
Thanks,
Doug Dirks
|
|
|
Powered by
FUDForum. Page generated in 0.03103 seconds