Changeset 1730 for trunk/build.xml


Ignore:
Timestamp:
11/02/06 11:06:22 (14 years ago)
Author:
curtis
Message:

Add build target for ij-jws.jar (ImageJ Java Web Start bundle);
no more need for IJLauncher class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r1729 r1730  
    741741 
    742742  <target name="style-checks" depends="copy-source, jar-checks" 
    743     description="check source code style for Slim Plotter"> 
     743    description="check source code style for LOCI Checkstyle checks"> 
    744744    <checkstyle config="checkstyle.xml" failOnViolation="false"> 
    745745      <fileset dir="${dest.dir}" includes="${checks.source}"/> 
     
    748748 
    749749  <target name="compile-checks" depends="copy-source" 
    750     description="compile classes for Slim Plotter"> 
     750    description="compile classes for LOCI Checkstyle checks"> 
    751751    <mkdir dir="${classes.dir}"/> 
    752752    <javac srcdir="${dest.dir}" destdir="${classes.dir}" 
     
    756756 
    757757  <target name="jar-checks" depends="compile-checks, copy-jars" 
    758     description="generate JAR file for Slim Plotter"> 
     758    description="generate JAR file for LOCI Checkstyle checks"> 
    759759    <copy todir="${classes.dir}" preservelastmodified="true"> 
    760760      <fileset dir="${src.dir}" includes="${checks.resources}"/> 
     
    769769  </target> 
    770770 
     771  <!-- ImageJ --> 
     772 
     773  <target name="ij-jws" depends="jars" 
     774    description="create JAR file encompassing ImageJ plus LOCI plugins"> 
     775    <for list="${ij-jws.libraries}" param="jar" delimiter=" " trim="true"> 
     776      <sequential> 
     777        <unjar src="${jar.dir}/@{jar}" dest="${ij-jws.dir}"> 
     778          <patternset> 
     779            <exclude name="META-INF/**"/> 
     780          </patternset> 
     781        </unjar> 
     782      </sequential> 
     783    </for> 
     784    <jar jarfile="${jar.dir}/${ij-jws.jar}" basedir="${ij-jws.dir}"> 
     785      <manifest> 
     786        <attribute name="Main-Class" value="${ij-jws.main}"/> 
     787      </manifest> 
     788    </jar> 
     789    <delete dir="${ij-jws.dir}"/> 
     790  </target> 
     791 
    771792</project> 
Note: See TracChangeset for help on using the changeset viewer.