Changeset 765


Ignore:
Timestamp:
Sep 16, 2008, 11:20:48 AM (13 years ago)
Author:
Jari Häkkinen
Message:

Addresses #131.

Location:
plugins/base1/se.lu.onk.BaseFile/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/base1/se.lu.onk.BaseFile/trunk/README

    r760 r765  
    3232from the repository, change to the package directory and issue `ant`;
    3333{{{
    34   svn co http://baseplugins.thep.lu.se/svn/plugins/base1/se.lu.onk.BaseFile/trunk se.lu.onk.BaseFile
    35   cd se.lu.onk.BaseFile
    36   ant
     34  check out project, see instructions below
     35  # cd /path/to/se.lu.onk.BaseFile
     36  # ant
    3737}}}
    38 This will create a jar file `dist/basefile.jar`. If you want to change
    39 a released version you should replace `trunk` with `tags/release` in
    40 the above example.
     38This will create a jar file `dist/BaseFile.jar`.
    4139
    4240
     
    5755  `svn co http://baseplugins.thep.lu.se/svn/plugins/base1/se.lu.onk.BaseFile/trunk se.lu.onk.BaseFile`
    5856
    59 There is no guarantees about the contents or quality of the latest code
    60 in the subversion repository: it is not unheard of for code that is
    61 known to be broken to be committed to the repository. Use at your own
    62 risk. You may prefer to check out a released version instead.
     57There is no guarantees about the contents or quality of the latest
     58code in the subversion repository: it is not unheard of for code that
     59is known to be broken to be committed to the repository. Use at your
     60own risk. You may prefer to check out a released version instead, then
     61replace `trunk` with `tags/release-number` in the above example.
    6362
    6463
  • plugins/base1/se.lu.onk.BaseFile/trunk/build.xml

    r759 r765  
    7070    <delete dir="${dist}" />
    7171    <delete dir="${package}" />
    72     <delete file="${packagestring}.zip" />
     72    <delete file="${packagestring}.tgz" />
    7373  </target>
    7474
     
    9191     ================================= -->
    9292  <target name="package" depends="dist"
    93           description="--> Create a zip file for distribution.">
     93          description="--> Create a tgz file for distribution.">
    9494    <mkdir dir="${package}"/>
    95     <mkdir dir="${package}/${packagestring}"/>
    96     <copy todir="${package}/${packagestring}">
     95    <copy todir="${package}">
    9796      <fileset file="${dist}/BaseFile.jar" />
    9897      <fileset file="README" />
    9998      <fileset file="license.txt" />
    10099    </copy>
    101     <zip destfile="${packagestring}.zip" basedir="${package}" />
     100    <tar
     101      destfile="${packagestring}.tgz"
     102      longfile="gnu"
     103      compression="gzip"
     104      >
     105      <tarfileset
     106        dir="${package}"
     107        prefix="${packagestring}"
     108        preserveLeadingSlashes="true"
     109        >
     110      </tarfileset>
     111    </tar>
    102112  </target>
    103113 
Note: See TracChangeset for help on using the changeset viewer.