Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 413 Bytes

ant-sources-as-jar.md

File metadata and controls

12 lines (10 loc) · 413 Bytes

Tags: ant Date: 2012-11-19 10:49:01 -0500

To create a jar of your sources, the kind of this Eclipse likes to attach to jars so you can see what's happening when you're debugging, add this target:

 <target name="src-jar">
    <mkdir dir="${jar.dir}" />
    <jar destfile="${jar.dir}/${sourcesjar.name}" basedir="${src.dir}">
      <manifest>
      </manifest>
    </jar>
  </target>