Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ant build tasks

Status
Not open for further replies.

vtmoren

Programmer
Joined
Aug 29, 2006
Messages
5
Building project using Ant (Netbeans Module Suite Project)
I want to automate building the zip distribution after the build is complete. how would I go about acomplishing this task?

I have both build and build-zip targets (which depend on the pre-existing Netbeans Platform targets):

<target name="build" depends="pre-build, suite.build" />

<target name="build-zip" depends="suite.build-zip">
<unzip src="${dist.dir}/${app.name}.zip" dest="${dist.dir}" />
<mkdir dir="${dist.dir}/installDir" />
<delete file="${dist.dir}/${app.name}.zip" />
</target>


-VM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top