[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnant checkout doesn't allow nested filesets?

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-11-30 22:30:38 CET

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

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.