Synchronizing Ant tasks within Eclipse 3.0 [message #252513] |
Mon, 14 June 2004 18:09 |
Eclipse User |
|
|
|
I want to create a plugin distribution using the Ant task
"pde.exportPlugins" and when the zip file be created I want to change
something inside the zip using other Ant tasks.
It seems that the "pde.exportPlugins" does not wait for the command to
complete, so I tried to use the Ant waitfor task but the Eclipse complaints
about two simultaneously running Ant builds.
This is my buid file:
<?xml version="1.0" encoding="UTF-8"?>
<project name="build" default="plugin_export">
<target name="plugin_export">
<delete file="C:\Eclipse\Eclipse 3.0\workspace\Polux 3.0\Polux.zip"
quiet="yes"/>
<pde.exportPlugins plugins="net.beleta.polux"
destination="C:\Eclipse\Eclipse 3.0\workspace\Polux 3.0"
filename="Polux.zip" exportType="zip" exportSource="false"/>
<waitfor maxwait="300" maxwaitunit="second">
<available file="C:\Eclipse\Eclipse 3.0\workspace\Polux
3.0\Polux.zip"/>
</waitfor>
</target>
</project>
Any solution?
Thank you in advance.
Jose M Beleta
|
|
|
Powered by
FUDForum. Page generated in 0.05761 seconds