kevin.slater@pfpc.com wrote on 11/30/2005 04:15:38 PM:
>
> From the online documentation page for svnant it would appear that
svnant
> allows one to use nested filesets inside of a checkout task. But when I
try
> this the ant build fails with a "Checkout doesn't support the nested
> "fileset" element" error. Maybe I'm defining the task incorrectly?
Here's
> an example:
>
> <target name="fetchPFPCLibs" depends="init" if="svnroot">
> <echo>Fetching jars needed to compile ${name} from SVN with
> ${extlib.svn.src} to ${pfpc.lib.dir}</echo>
> <svn>
> <checkout url="${extlib.svn.src}" destPath="${pfpc.lib.dir}">
> <fileset>
> <include name="j2ee.jar"/>
> </fileset>
> </checkout>
> </svn>
> </target>
I have never used svnAnt, so this may be off base, but the svn checkout
command does not support checking out files or really any subsets of
information. You can checkout a URL pointing to a folder and either do it
recursively or not, but that is it.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Thu Dec 1 08:30:38 2005