Reputation: 53667
Hi I have netbeans 6.7.1. My build.xml file creates a jar file. Now I want both jar and tar file. my tar file must be created from my jar file. SO how to create tar file from my jar file by making some changes in build.xml. I think it uses ant to create jar file.
Thanks Sunil Kumar Sahoo
Upvotes: 0
Views: 1261
Reputation: 53667
Please use like below. U have to provide full path of jar. Write the following inside tag of build.xml file
<tar destfile="/root/NetBeansProjects/TextWandDesktop/store/TextWandDesktop.tar"
basedir="/root/NetBeansProjects/TextWandDesktop/store/"/>
Thanks
Upvotes: 0