I've been searching a lot about this and was not able to find any solution.
Basically I'm just trying to Create a jar from my project. Then use that for deployment.
Here's my code in build.xml
<?xml version="1.0" ?> <!-- Configuration of the Ant build system to generate a Jar file --> <project name="TestMain" default="CreateJar"> <target name="CreateJar" description="Create Jar file"> <jar jarfile="SamCommon.jar" basedir="bin"/> </target> </project> This is working okay and the jar file is visible and can be opened in the root directory of the project.
But what I want is to create/generate the jar on a different location.
So I set this configuration but whenever it outputs the file in that destination it shows as corrupt file. Please advise
Screenshots:
No comments:
Post a Comment