Hi,
quick hack, without handling of file endings, something like =
!-- Import AntContrib --
taskdef resource=net/sf/antcontrib/antlib.xml /
property name=path1 value=C:/dir_viewer/Since_Last_Change/abc/yada
yada/yada/Bob's Report.doc /
property name=path2
--- Konstantinos Karadamoglou [EMAIL PROTECTED]
wrote:
[SNIP]
What I could do is
to have a global fileset but this cannot be done
regarding the
nature of the project I am involved with. There is
not a starting
directory for fileset.
This use will be covered in more than one way in Ant
1.7
Thanks Matt for your help,
Is it possible to share the way that you avoid that kind of
redundancy? What's your approach when you compose build.xml files
On 15/03/06, Matt Benson [EMAIL PROTECTED] wrote:
--- Konstantinos Karadamoglou [EMAIL PROTECTED]
wrote:
[SNIP]
What I could do is
to
Another approach is using id/refid on the fileset itself.
classpath id=cp
fileset id=fs1 ... /
fileset id=fs2 ... /
/classpath
javac classpathref=cp/
copy todir
fileset refid=fs1/
fileset refid=fs2/
/copy
AntContrib has also a task path2fileset or something like that. Havent used
Hi,
I am learning Ant and would like to write something like a pattern rule as
used in 'make'. Something like:
%.o: %.cpp
cc ...
I read the manual but didn't notice something that would do that. Could
anyone please give me a pointer?
Thanks,
Rodrigo
Thanks Jan, I will have a look at the path2fileset target
On 15/03/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Another approach is using id/refid on the fileset itself.
classpath id=cp
fileset id=fs1 ... /
fileset id=fs2 ... /
/classpath
javac classpathref=cp/
copy todir
Please look at apply task:
http://ant.apache.org/manual/CoreTasks/apply.html
- Alexey.
Rodrigo de Salvo Braz wrote:
Hi,
I am learning Ant and would like to write something like a pattern
rule as used in 'make'. Something like:
%.o: %.cpp
cc ...
I read the manual but didn't notice