Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 442 Bytes

ant-sources-as-jar.md

File metadata and controls

13 lines (11 loc) · 442 Bytes

Tags: ant|ant-sources Date: 2012-11-19 10:49:01 -0500 Author: Denevell

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>