Ignore:
Timestamp:
2009-08-04T17:28:24+02:00 (15 years ago)
Author:
guggis
Message:

" .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tageditor/build.xml

    r16848 r16851  
    1313**    > ant  dist
    1414**
    15 ** To install the generated plugin locally (in you default plugin directory) run
     15** To install the generated plugin locally (in your default plugin directory) run
    1616**
    1717**    > ant  install
    1818**
    19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration
    20 ** dialog. You have to check it in first.
     19** To build against the core in ../../core, create a correct manifest and deploy to
     20** SVN, run
     21**
     22**    > ant  deploy
     23**
    2124**
    2225-->
     
    3437    <property name="plugin.dist.dir"        value="../../dist"/>
    3538    <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
     39    <property name="commit.message" value="" />
    3640
    3741    <!--
     
    8589                <attribute name="Plugin-Description" value="Provides a dialog for editing tags in a tabular grid."/>
    8690                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/TagEditor"/>
    87                 <attribute name="Plugin-Mainversion" value="1900"/>
     91                <attribute name="Plugin-Mainversion" value="${coreversion.info.entry.revision}"/>
    8892                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    8993            </manifest>
     
    135139    </target>
    136140
     141        <target name="core-info">
     142        <exec append="false" output="core.info.xml" executable="svn" failifexecutionfails="false">
     143                    <env key="LANG" value="C"/>
     144                    <arg value="info"/>
     145                    <arg value="--xml"/>
     146                    <arg value="../../core"/>
     147        </exec>
     148        <xmlproperty file="core.info.xml" prefix="coreversion" keepRoot="true" collapseAttributes="true"/>
     149                <echo>Building against core revision ${coreversion.info.entry.revision} ...</echo>
     150                <delete file="core.info.xml" />
     151        </target>
     152
     153       
    137154        <target name="commit-current">
    138155            <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
     
    144161        </target>
    145162
     163       
    146164        <target name="update-current">
    147165                <echo>Updating basedir ...</echo>
     
    169187        </target>
    170188       
    171         <target name="deploy" depends="commit-current,update-current,dist,commit-dist">
     189        <target name="deploy" depends="core-info,commit-current,update-current,dist,commit-dist">
    172190        </target>
    173191</project>
Note: See TracChangeset for help on using the changeset viewer.