Advertisement

11.29.2007 at 12:11PM PST, ID: 22991609
[x]
Attachment Details

Creating jar file from Eclipse

Asked by rmvprasad in Java Programming Language

Tags: jar, eclipse, file, creating

I need to create a jar file from eclipse tool. I have a ant file to create  the jar, but in this case I need to manually create the jar file. The and file looks as below

<echo message="Generating the temp.jar file..." />
 <jar destfile="${dist.dir}/${jar.name}" compress="true" >
      <fileset dir="${output.dir}" />
      <fileset dir="src" >
        <include name="**/*.xml" />
        <include name="**/*.properties" />
        <include name="conf/**" />
      </fileset>
    </jar>

I have seen the export in the file menu of eclipse, but I was doubtful. To make sure I am right, I would like you to guide me
Start Free Trial
[+][-]11.29.2007 at 12:41PM PST, ID: 20377117

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Tags: jar, eclipse, file, creating
Sign Up Now!
Solution Provided By: ellandrd
Participating Experts: 2
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628