Questions tagged [fileset]

A fileset in Apache Ant is a structure to combine a group of files and perform actions on them.

In Apache Ant, a FileSet is a structure to group a number of files. Many Ant tasks work on filesets, e.g. copy, delete, ...

Usually build-scripts use filesets to select a number of files that should be used for operations later on.

Similar concepts in Ant are DirSet and PatternSet.

See the documentation for details

118 questions
0
votes
1 answer

Ant jar task - Include files not underneath basedir

I am trying to write an ant target that will create a jar based on a bunch of java files and some properties files, but am having trouble including the properties files the way the project is set up currently. These are the ant targets I have: 1 -…
kevinh
  • 61
  • 7
0
votes
1 answer

Install a fileset on AIX

I'm trying to install the fileset bos.adt.syscalls.5.3.0.40 on AIX 6.1 using the following command : /usr/lib/instl/sm_inst installp_cmd -a -Q -d 'test' -f '_all_latest' '-c' '-g' '-X' '-G' '-V 2' '-Y' test=the directory which contains the…
Alma
  • 31
  • 1
  • 10
0
votes
1 answer

Phing echo filename specific extension

Is there a way in phing on which I can echo all the filenames inside specific folder specifying to get all ".php" extensions? folder-to-check | - file-to-get1.php - file-to-get2.php - otherfile.avi - otherfolder
warshafts
  • 45
  • 3
0
votes
1 answer

Groovy: Antbuilder fileset is not created (launched from Jenkins)

I have following code in my script: def ant_fs = (new AntBuilder()) def fs = ant_fs.fileset( dir: ) fs.each{ println( "Fileset item: $it" ) } When I launch it from Maven (mvn ... in command line) or from Intellij IDEA I see that fileset…
zubactik
  • 1,297
  • 3
  • 19
  • 34
0
votes
1 answer

Ant: fileset: include vs. filename

I would like to know what the difference is between the following in an build.xml file if any, as to me it seems like they do the same thing: 1. 2.
Jason Posit
  • 1,323
  • 1
  • 16
  • 36
0
votes
1 answer

How to exclude base directory from phing/ant FileSet

I have a phing build target that I want to run on each directory directly under my project base. I'm using a foreach task with a fileset to run the target on each directory. The problem I'm having is that the base directory is included, with a…
dmertl
  • 805
  • 8
  • 13
0
votes
4 answers

Custom Maven clean with fileset not working

I have created an additional target directory called "dist" to which I am copying some build artifacts. Because it is not in the default target directories, I add an appropriate to the clean plugin configuration per Delete Additional Files…
K Markey
  • 595
  • 1
  • 6
  • 10
0
votes
1 answer

Apache Ant create new fileset from existing fileset with filenames renamed

I have the following fileset in my Apache Ant build file (BuildFilesetXML.xml): I want to create dynamically in a different build…
chipix
  • 65
  • 5
0
votes
2 answers

Concrete5 show fancybox from file set on link click?

I don't know exactly where to start to display files from the file set in order to show a fancybox gallery on click. I would like to have the gallery open from a link. On click show the gallery, aka images that have the same rel but are set to…
user2066695
  • 75
  • 1
  • 1
  • 6
0
votes
2 answers

jenkins archive artifact excluding all subdirectory

I have a couple of job in Jenkins that archive artifact from the source tree for another job (some unit tests or alike). I have the current situation : top_dir \scripts_dir \some_files \dir1 \dir2 \dir3 \other_dir I…
user2095591
  • 21
  • 1
  • 3
0
votes
1 answer

Order of files in a FileSet (phing)

Is it possible to get the files from a phing FileSet in a specific order (0-9 followed by A-Z for example)? Right now it is taking my numbered files in a completely random order.
dataviruset
  • 109
  • 1
  • 9
0
votes
1 answer

Ant, download fileset from remote machine

As I've readen ant doesn't provide 'fileset' attribute when downloading files from remote machine via scp task. It works when sending files from local machine, but It doesn't work when starting in remote machine. That's from documentation. So in…
-1
votes
1 answer

Ant tar fileset exclude ALL subdirs but one using pattern

I am trying to build a simple build.xml to create a tar ball with certain conditions. I have tried all possible options but, doesn't achieve what I am looking for. I am looking for some sort of wild card which I can use to exclude all, and use…
1 2 3 4 5 6 7
8