ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bool <manohar.kod...@yahoo.co.uk>
Subject subant task scans .svn folders
Date Wed, 09 Jun 2010 11:37:55 GMT

I am using the following build.xml using subant task. After executing ant
find_java on console, I see that when I do "truss -p <pid of ant java
process>" 
I see .svn folders being scanned and opened by ant. Is this expected? How
can I prevent .svn folders from getting scanned and opened.  I am using
ant1.7.1


==============================================================
<?xml version="1.0" encoding="UTF-8"?>
<project name="Base" default="find_java" basedir=".">
    <description> Build file </description>

    <target name="find_java">
    <subant target="clean_generated_java_files" defaultexcludes="true">
             <fileset dir="${basedir}"
                 includes="**/build.xml"
                 defaultexcludes="true">
             </fileset>
    </subant>
    </target>

</project>
==============================================================



truss -p <pid of ant java process> results in the following log.



/2:    
stat64("/projects/base/src/java/.svn/text-base/package.html.svn-base",
0xFE3EDCA0) = 0
/2:    
stat64("/projects/base/src/java/.svn/text-base/package.html.svn-base",
0xFE3EDCA0) = 0
/2:     stat64("/projects/base/src/java.svn/tmp", 0xFE3EDD00) = 0
/2:     stat64("/projects/base/src/java/.svn/tmp", 0xFE3EDC70) = 0
/2:     stat64("/projects/base/src/java/.svn/tmp", 0xFE3EDCA0) = 0
/2:     openat(-3041965, "/projects/base/src/java/.svn/tmp",
O_RDONLY|O_NDELAY|O_LARGEFILE) = 56

-- 
View this message in context: http://old.nabble.com/subant-task-scans-.svn-folders-tp28829117p28829117.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message