Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Invoking ant task to build index outside eclipse?
Invoking ant task to build index outside eclipse? [message #571737] Fri, 29 June 2007 21:45
Eclipse UserFriend
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
Previous Topic:RCP Help App wants to exit workbench when browser closes
Next Topic:In dynamic help view, searching is not working properly??
Goto Forum:
  


Current Time: Thu Mar 28 21:42:20 GMT 2024

Powered by FUDForum. Page generated in 0.03103 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top