Changeset 32334 in osm for applications/editors/josm


Ignore:
Timestamp:
2016-06-20T02:10:56+02:00 (8 years ago)
Author:
donvip
Message:

build optimization

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

Legend:

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

    r32326 r32334  
    205205      ** Initializes the REVISION.XML file from SVN information
    206206    -->
    207     <target name="init-svn-revision-xml">
     207    <target name="init-svn-revision-xml" unless="skip-revision">
    208208        <exec append="false" output="REVISION.XML" executable="svn" failifexecutionfails="false" resultproperty="svn.info.result">
    209209            <env key="LANG" value="C"/>
     
    212212            <arg value="."/>
    213213        </exec>
    214         <condition property="svn.info.success">
    215             <equals arg1="${svn.info.result}" arg2="0" />
     214        <condition property="svn.info.fail">
     215            <not><equals arg1="${svn.info.result}" arg2="0" /></not>
    216216        </condition>
    217217    </target>
     
    220220         Obtains the revision from the git-svn-id field.
    221221    -->
    222     <target name="init-git-svn-revision-xml" unless="svn.info.success">
     222    <target name="init-git-svn-revision-xml" if="svn.info.fail" unless="skip-revision">
    223223        <exec append="false" output="REVISION.XML" executable="git" failifexecutionfails="false" resultproperty="git.svn.info.result">
    224224            <arg value="log"/>
     
    249249         Uses Unix date as revision number.
    250250    -->
    251     <target name="init-git-revision-xml" if="git.svn.fail">
     251    <target name="init-git-revision-xml" if="git.svn.fail" unless="skip-revision">
    252252        <exec append="false" output="REVISION.XML" executable="git" failifexecutionfails="false" resultproperty="git.info.result">
    253253            <arg value="log"/>
     
    268268       </condition>
    269269    </target>
    270     <target name="init-revision-fallback" if="git.fail">
     270    <target name="init-revision-fallback" if="git.fail" unless="skip-revision">
    271271        <tstamp>
    272272            <format property="current.time" pattern="yyyy-MM-dd'T'HH:mm:ss.SSS" />
  • applications/editors/josm/plugins/build.xml

    r32327 r32334  
    3232        <iterate target="dist"/>
    3333        <property name="skip-dist" value="true"/>
     34        <property name="skip-compile" value="true"/>
     35        <property name="skip-revision" value="true"/>
    3436    </target>
    3537    <target name="install" depends="dist">
Note: See TracChangeset for help on using the changeset viewer.