tags:

views:

312

answers:

2

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

+2  A: 

Obvious answer: use the Apache Tar task. You will have to edit the Netbean build.xml file and invoke the tar task after the jar one.

I'm not a Netbean heavy user but this should get you started.

Vladimir
A: 

Please use like below. U have to provide full path of jar. Write the following inside tag of build.xml file

Thanks Bapi

Deepak