[Source] [Source_x3d_cvs] /home/yumetech/svn/xj3d_code

Don Brutzman brutzman at nps.edu
Fri Sep 7 18:45:57 PDT 2012


thanks for the troubleshooting session Terry.  here is the result, checked in
to NPS branch.  cross-platform compatible.
    
    <target name="diff.with.trunk"
            description="Perform an SVN diff with the trunk to denote any deviations">
        <!-- requires native version of 'svn' executable for subversion on local system -->
        <!--
        <property name="diff.dir" value="${cadfilter.src.java.dir}"/>
        <property name="diff.dir" value="${src.java.dir}"/>
        <property name="diff.dir" value="${browser.src.java.dir}"/>
        <property name="diff.dir" value="apps/replica/src/java"/>
        <property name="diff.dir" value="test"/>
        -->
        
        <property name="diff.dir" value="test"/>
        <exec executable="svn" dir="." output="difflog.txt">
            <arg line=" diff --diff-cmd diff -x -wu --old ${diff.dir} --new  http://svn.xj3d.org/xj3d_code/trunk/${diff.dir}"/>
        </exec>
        <!-- now output results to screen -->
        <concat>
            <filelist dir="." files="difflog.txt"/>
        </concat>
        <!-- TODO insert timestamp in output filename difflog.txt, maybe add a clean.diffs target too -->
        <!-- TODO diff the diff files to see what changed ?! -->
        
    </target>


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the Source mailing list