Changeset 528 for trunk/build.xml


Ignore:
Timestamp:
11/25/13 10:16:40 (10 years ago)
Author:
jts21
Message:

Add inst target that copies Expeditee.jar and it's dependencies to ./inst/

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11bin-1.6
        22bin
         3inst
        34
  • trunk/build.xml

    r527 r528  
    1919        <property name="manifest.path.exp"  value="makeFiles/Manifest.txt" />
    2020        <property name="lib.dir.exp" location="releases/jars" />
     21        <property name="inst.dir.exp" location="inst" />
    2122
    2223        <union id="portable.includes.exp">
     
    4849                <delete dir="${build.dir.exp}/org"/>
    4950                <delete dir="${build.dir.6.exp}/org"/>
     51                <delete dir="${inst.dir.exp}" />
    5052        </target>
    5153        <target depends="clean" name="cleanall"/>
     
    98100                </jar>
    99101        </target>
     102        <target depends="jar" name="inst">
     103                <mkdir dir="${inst.dir.exp}" />
     104                <mkdir dir="${inst.dir.exp}/jars" />
     105                <copy file="${dist.dir.exp}/${dist.filename.exp}" tofile="${inst.dir.exp}/${dist.filename.exp}" />
     106                <copy todir="${inst.dir.exp}/jars">
     107                        <fileset dir="${lib.dir.exp}">
     108                                <include name="*.jar" />
     109                        </fileset>
     110                </copy>
     111        </target>
     112
    100113        <target name="run">
    101114                <java classname="org.expeditee.gui.Browser" failonerror="true" fork="yes">
     
    154167                </jar>
    155168        </target>
     169        <target depends="jar6" name="inst6">
     170                <mkdir dir="${inst.dir.exp}" />
     171                <mkdir dir="${inst.dir.exp}/jars" />
     172                <copy file="${dist.dir.exp}/${dist.filename.6.exp}" tofile="${inst.dir.exp}/${dist.filename.exp}" />
     173                <copy todir="${inst.dir.exp}/jars">
     174                        <fileset dir="${lib.dir.exp}">
     175                                <include name="*.jar" />
     176                        </fileset>
     177                </copy>
     178        </target>
    156179        <target name="run6">
    157180                <java classname="org.expeditee.gui.Browser" failonerror="true" fork="yes">
Note: See TracChangeset for help on using the changeset viewer.