Changeset c5f04ee for apps/ministreaming


Ignore:
Timestamp:
Jun 8, 2011 8:15:53 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3d18255e
Parents:
d57925e8
Message:
  • Don't do 'mtn list changed' if not in a workspace or not needed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/ministreaming/java/build.xml

    rd57925e8 rc5f04ee  
    3232    </target>
    3333
    34     <target name="jar" depends="compile, jarUpToDate" unless="jar.uptodate" >
     34    <target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
    3535        <exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
    3636            <arg value="list" />
     
    4444            <arg value="," />
    4545        </exec>
     46    </target>
     47
     48    <target name="jar" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
     49        <!-- set if unset -->
     50        <property name="workspace.changes.tr" value="" />
    4651        <jar destfile="./build/mstreaming.jar" basedir="./build/obj" includes="**/*.class" >
    4752            <manifest>
     
    5762            <srcfiles dir= "." includes="build/obj/**/*.class" />
    5863        </uptodate>
     64        <condition property="shouldListChanges" >
     65            <and>
     66                <not>
     67                    <isset property="jar.uptodate" />
     68                </not>
     69                <isset property="mtn.available" />
     70            </and>
     71        </condition>
    5972    </target>
    6073
Note: See TracChangeset for help on using the changeset viewer.