I want with ant access a subversion-repository and get a list of files available under a specific svn-url like https://svn.myhost.de/repository/path/into/repo. I want to list all items, subdirectories or files, in some form I can work with later in the ant-file. A comma-separated list is fine, it can be input for the foreach-task of ant-contrib.
+2
A:
The Subclipse Project of Subversion provides svnant
svnant includes svnFileSet
, an ant type
that works just like a fileset
.
You need to download the appropriate version for the Subversion release you're using, and follow the instructions in the documentation for including the svnant
tasks, types, selectors and conditions in your ant
build file.
Ken Gentle
2008-10-30 01:00:13