value=”MarsRoverViewer” defines the filename of the jar which is the combination of all jars.

property name=”stor.jar.name” define the property ‘s name which is stored in a directory /store and the with name of MarsRoverViewer which is defined in attribute value .

After all you have finished your coding phase.

Now, When you’re ready to package all of your classes and libraries into a single JAR file, switch back to the Files view in the upper left, then right-click the build.xml file. Then choose Run Target>Other Targets>package-for-store. Now the compiler will start to combine your class files and other libraries to a single JAR file named MarsRoverViewer.

Executing this Ant target will create a directory called storeinside your project directory. NetBeans and Ant will then copy all of the classes and libraries into a temporary JAR file and strip out any unwanted files, placing the final result under the JAR name that you specified earlier. NetBeans will then delete the temporary file. The results are shown in Figure