I ran into the problem of svn unversioned files a few weeks ago.
This test target for that project now depends on the test compilation and
on this:
<!-- ================================================================== -->
<!-- Verify that all files are versioned or explicitly ignored by svn -->
<!-- ================================================================== -->
<target name="all-versioned">
<exec os="Linux" executable="bash" outputproperty="unversionedlist">
<arg value="-c"/>
<!-- Grep svn status output lines starting with a question mark.
When no lines match, grep exits 1, so exit 0 explicitly.
-->
<arg value="(svn status | grep ^?);exit 0"/>
</exec>
<echo message="${unversionedlist}"/>
<fail message="Some files are not version controlled.">
<condition>
<not> <equals arg1="${unversionedlist}" arg2=""/> </not>
</condition>
</fail>
</target>
It might also work under other Un*xes.
Regards,
Paul Elschot
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]