Changeset 23663 in osm for applications/editors/josm


Ignore:
Timestamp:
2010-10-17T13:18:39+02:00 (14 years ago)
Author:
fichtennadel
Message:

'Initial release'

Location:
applications/editors/josm/plugins/epsg31287
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/epsg31287

    • Property svn:ignore
      •  

        old new  
        22
        33core
         4
         5build.properties
  • applications/editors/josm/plugins/epsg31287/build.xml

    r23662 r23663  
    3030<project name="epsg31287" default="dist" basedir=".">
    3131
     32    <!-- read build.properties for local settings -->
     33    <property file="build.properties" />
     34    <!-- enter the SVN command file name -->
     35    <property name="svn" value="svn.cmd" />
    3236    <!-- enter the SVN commit message -->
    33     <property name="commit.message" value="Commit message" />
     37    <property name="commit.message" value="Initial release" />
    3438    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    3539    <property name="plugin.main.version" value="3592" />
     
    124128    <target name="revision">
    125129
    126         <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     130        <exec append="false" output="REVISION" executable="${svn}" failifexecutionfails="false">
    127131            <env key="LANG" value="C"/>
    128132            <arg value="info"/>
     
    169173        -->
    170174    <target name="core-info">
    171         <exec append="false" output="core.info.xml" executable="svn" failifexecutionfails="false">
     175        <exec append="false" output="core.info.xml" executable="${svn}" failifexecutionfails="false">
    172176            <env key="LANG" value="C"/>
    173177            <arg value="info"/>
     
    186190    <target name="commit-current">
    187191        <echo>Commiting the plugin source with message '${commit.message}' ...</echo>
    188         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
     192        <exec append="true" output="svn.log" executable="${svn}" failifexecutionfails="false">
    189193            <env key="LANG" value="C"/>
    190194            <arg value="commit"/>
    191195            <arg value="-m '${commit.message}'"/>
    192196            <arg value="."/>
     197                <arg value="${svn.username_arg}"/>
     198                <arg value="${svn.username}"/>
     199                <arg value="${svn.password_arg}"/>
     200                <arg value="${svn.password}"/>
    193201        </exec>
    194202    </target>
     
    199207    <target name="update-current">
    200208        <echo>Updating plugin source ...</echo>
    201         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
     209        <exec append="true" output="svn.log" executable="${svn}" failifexecutionfails="false">
    202210            <env key="LANG" value="C"/>
    203211            <arg value="up"/>
     
    205213        </exec>
    206214        <echo>Updating ${plugin.jar} ...</echo>
    207         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
     215        <exec append="true" output="svn.log" executable="${svn}" failifexecutionfails="false">
    208216            <env key="LANG" value="C"/>
    209217            <arg value="up"/>
     
    226234    Now commiting ${plugin.jar} ...
    227235    </echo>
    228         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
     236        <exec append="true" output="svn.log" executable="${svn}" failifexecutionfails="false">
    229237            <env key="LANG" value="C"/>
    230238            <arg value="-m '${commit.message}'"/>
    231239            <arg value="commit"/>
    232240            <arg value="${plugin.jar}"/>
     241                <arg value="${svn.username_arg}"/>
     242                <arg value="${svn.username}"/>
     243                <arg value="${svn.password_arg}"/>
     244                <arg value="${svn.password}"/>
    233245        </exec>
    234246    </target>
     
    236248    <!-- ** make sure svn is present as a command line tool ** -->
    237249    <target name="ensure-svn-present">
    238         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false" failonerror="false" resultproperty="svn.exit.code">
     250        <exec append="true" output="svn.log" executable="${svn}" failifexecutionfails="false" failonerror="false" resultproperty="svn.exit.code">
    239251            <env key="LANG" value="C" />
    240252            <arg value="--version" />
Note: See TracChangeset for help on using the changeset viewer.