Changeset 618

Show
Ignore:
Timestamp:
01/31/10 19:46:02 (3 years ago)
Author:
stefan
Message:

try to fix release process

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r616 r618  
    44  <!-- Update if needed. --> 
    55  <property name="jle.version"        value="0.1"/> 
     6  <property name="program.jar"        value="${ant.project.name}.jar"/> 
    67 
    78  <!-- Locations --> 
     
    1011  <property name="lib"                location="lib"/> 
    1112  <property name="dist"               location="dist"/> 
    12   <property name="upload"             location="${dist}/JLatexEditor"/> 
     13  <property name="upload"             location="${dist}/${ant.project.name}"/> 
     14  <property name="uploadPrepare"      location="${dist}/${ant.project.name}_prepare"/> 
    1315  <property name="releases"           location="${dist}/releases"/> 
    1416 
    1517  <property name="buildClasses"       location="${build}/classes"/> 
    16   <property name="buildJar"           location="${upload}/JLatexEditor.jar"/> 
     18  <property name="programJar"         location="${uploadPrepare}/${program.jar}"/> 
    1719   
    1820  <path id="libraries"> 
     
    6163  <!-- Builds the upload directory including the jar file. --> 
    6264  <target name="jar" depends="compile,updateBuildNumber"> 
    63     <delete dir="${upload}"/> 
    64     <mkdir dir="${upload}"/> 
     65    <delete dir="${uploadPrepare}"/> 
     66    <mkdir dir="${uploadPrepare}"/> 
    6567 
    6668    <!-- Build jar file. --> 
    67     <jar jarfile="${buildJar}" basedir="${buildClasses}"> 
     69    <jar jarfile="${programJar}" basedir="${buildClasses}"> 
    6870      <fileset dir="."> 
    6971        <include name="data/**"/> 
     
    7577 
    7678    <!-- Copy start scripts. --> 
    77     <copy todir="${upload}" file="scripts/jlatexeditor"/> 
    78     <copy todir="${upload}" file="scripts/jlatexeditor.bat"/> 
    79     <chmod file="${upload}/jlatexeditor" perm="ugo+x"/> 
     79    <copy todir="${uploadPrepare}" file="scripts/jlatexeditor"/> 
     80    <copy todir="${uploadPrepare}" file="scripts/jlatexeditor.bat"/> 
     81    <copy todir="${uploadPrepare}" file="scripts/.wstart.bat"/> 
     82    <chmod file="${uploadPrepare}/jlatexeditor" perm="ugo+x"/> 
    8083  </target> 
    8184