This project is read-only.
Reference 3Licenses JARs

<path id="3licenses.classpath">
 <fileset dir="${externals.dir}/3licenses">
  <include name="*.jar" />

Reference the 3Licenses JAR's ANT Tasks

 <taskdef resource="com/appsecinc/ant/" classpathref="3licenses.classpath" />

Create a Target to Combine Licenses

 <target name="combine-licenses">
  <combine-licenses todir="${licenses.dir}/combined" xslfile="${externals.dir}/3licenses/manifest.xsl">
   <licenses srcdir="${project1.dir}/licenses" />
   <licenses srcdir="${project2.dir}/licenses" />

Try ant combine-licenses. This combines multiple license outputs into ${licenses.dir}/combined. You can open manifest.xml to see a summary.

Last edited Nov 5, 2010 at 5:11 PM by dblock, version 2


No comments yet.