[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subclipse-users
Subject:    Re: svnant checkout doesn't allow nested filesets?
From:       Mark Phippard <markp () softlanding ! com>
Date:       2005-11-30 21:30:38
Message-ID: OFA2BFA568.07B638AA-ON852570C9.00761338-852570C9.00767EB3 () softlanding ! com
[Download RAW message or body]

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.  \
_____________________________________________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic