Changeset 18488 in osm for applications/editors


Ignore:
Timestamp:
2009-11-07T14:38:45+01:00 (15 years ago)
Author:
guggis
Message:

Updated

File:
1 edited

Legend:

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

    r18385 r18488  
    1818**
    1919** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN, run
    21 **
    22 **    > ant  deploy
     20** SVN,
     21**    set the properties commit.message and plugin.main.version
     22** and run
     23**    > ant  publish
    2324**
    2425**
    2526-->
    2627<project name="tageditor" default="dist" basedir=".">
    27     <!--
     28   
     29
     30        <property name="commit.message" value="Updated build.xml" />           
     31        <property name="plugin.main.version" value="2355" />
     32
     33        <!--
    2834      ************************************************
    2935      ** should not be necessary to change the following properties
     
    3743    <property name="plugin.dist.dir"        value="../../dist"/>
    3844    <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    39     <property name="commit.message" value="" />
    40 
     45   
    4146    <!--
    4247    **********************************************************
     
    8994                <attribute name="Plugin-Description" value="Provides a dialog for editing tags in a tabular grid."/>
    9095                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/TagEditor"/>
    91                 <attribute name="Plugin-Mainversion" value="2355"/>
     96                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    9297                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    9398            </manifest>
     
    147152        </exec>
    148153        <xmlproperty file="core.info.xml" prefix="coreversion" keepRoot="true" collapseAttributes="true"/>
    149                 <echo>Building against core revision ${coreversion.info.entry.revision} ...</echo>
     154                <echo>Building against core revision ${coreversion.info.entry.revision}.</echo>
     155                <echo>Plugin-Mainversion is set to ${plugin.main.version}.</echo>
    150156                <delete file="core.info.xml" />
    151157        </target>
     
    153159       
    154160        <target name="commit-current">
    155                 <echo>Commiting the plugin source ...</echo>
     161                <echo>Commiting the plugin source with message '${commit.message}' ...</echo>
    156162            <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
    157163                            <env key="LANG" value="C"/>
     
    164170       
    165171        <target name="update-current">
    166                 <echo>Updating basedir ...</echo>
     172                <echo>Updating plugin source ...</echo>
    167173            <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
    168174                            <env key="LANG" value="C"/>
     
    179185       
    180186        <target name="commit-dist">
    181                         <echo>Commiting ${plugin.jar} ...</echo>
     187                        <echo>Commiting ${plugin.jar} with message '${commit.message}' ...</echo>
     188                        <echo>Plugin-Mainversion is '${plugin.main.version}' ...</echo>
     189                        <echo>Plugin-Version is ${version.entry.commit.revision} ...</echo>
    182190                    <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
    183191                                    <env key="LANG" value="C"/>
     
    188196        </target>
    189197       
    190         <target name="deploy" depends="core-info,commit-current,update-current,clean,dist,commit-dist">
     198        <target name="publish" depends="core-info,commit-current,update-current,clean,dist,commit-dist">
    191199        </target>
    192200</project>
Note: See TracChangeset for help on using the changeset viewer.