AW: Count number of files in fileset

2005-06-13 Thread Jan.Materne
You could count the files with All files here : ${c1} > I have to concat some files from a fileset together into another file. > However, this only should hebben if the number of files in fileset > module-webservices-config-fileset > 0. What do you expect with 'modu

AW: how to transfer files to apache server

2005-06-13 Thread Jan.Materne
- depends on your access to the server Jan >-Ursprüngliche Nachricht- >Von: He SUN [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 13. Juni 2005 19:26 >An: user@ant.apache.org >Betreff: how to transfer files to apache server > >Hi all, > >As a newbie to Ant, I encountered a problem dur

bug in rmic with jdk 1.5

2005-06-13 Thread ralapa
Hi, I moved a project from 1.4 to 1.5, and noticed that the task was compiling all the RMI classes everytime even if the classes were just compiled. ... com\abc\server\ServerConfImpl.class added as com/abc/server/ServerConfImpl_Skel.class doesn't exist. com\abc\server\vam\VAMPlatformImpl.class a

bug in rmic with jdk 1.5

2005-06-13 Thread ralapa
Hi, I moved a project from 1.4 to 1.5, and noticed that the task was compiling all the RMI classes everytime even if the classes were just compiled. ... com\abc\server\ServerConfImpl.class added as com/abc/server/ServerConfImpl_Skel.class doesn't exist. com\abc\server\vam\VAMPlatformImpl.class a

[ANN] AntXtras 0.5 available

2005-06-13 Thread JWare Announcements
ANNOUNCEMENT: Version 0.5 of JWare/AntXtras Foundation (AntXtras) is now available for downloading. The overview at http://purl.net/jware/overview/antx describes how AntXtras enhances a standard Ant installation with rules, flowcontrol, value uris, log4ant, and much more. Change Highlights from

RE: Count number of files in fileset

2005-06-13 Thread Dominique Devienne
> In 1.6 you could use the ${toString:} psuedo-property: > > includes="*.notpresent"/> > > > > no.files.present=${no.files.present} > includes="*.xml"/> > > > > no.files.present_2=${no.files.present_2} > You can ch

how to transfer files to apache server

2005-06-13 Thread He SUN
Hi all, As a newbie to Ant, I encountered a problem during my work: I need to transfer some class files and some configuration files(ex:log4j.xml) to an apache server (running on Linux). Anyone has some suggestion? Thanks in advance Décharge / Disclaimer Ce message et toutes les pièces

Re: AW: How to use multiple filesets with classpath AND copy

2005-06-13 Thread Matt Benson
--- Rick Mann <[EMAIL PROTECTED]> wrote: > I really need a way to specify an arbitrary set of > files under a > single name, and then use that set in both class > paths and copy > operations. > > I think nested filesets, et al. would work, along > with support in the > various tasks (like )

Re: AW: How to use multiple filesets with classpath AND copy

2005-06-13 Thread Rick Mann
On Jun 13, 2005, at 02:34, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: A fileset has a common base directory. There are no nested filesets. Have you had a look at s? There are some tasks which dont support s, and is one of them [1] - oh, there was some work ... maybe a nightly build

Re: Count number of files in fileset

2005-06-13 Thread Peter Reilly
Matt Benson wrote: 1) Ant 1.7 will contain a task that can count files from a fileset. In 1.6 you could use the ${toString:} psuedo-property: no.files.present=${no.files.present} no.files.present_2=${no.files.present_2} 2) shouldn't do anyth

Re: Count number of files in fileset

2005-06-13 Thread Matt Benson
1) Ant 1.7 will contain a task that can count files from a fileset. 2) shouldn't do anything if there are no existing files. -Matt --- Kees van Dieren <[EMAIL PROTECTED]> wrote: > Hello, > > > > I have to concat some files from a fileset together > into another file. I use > the following

Count number of files in fileset

2005-06-13 Thread Kees van Dieren
Hello, I have to concat some files from a fileset together into another file. I use the following fileset for this: ;

[FWD] ApacheCon Europe 2005 - Early Bird registration runs out June 17.

2005-06-13 Thread Stefan Bodewig
Hi all, let me add to the appended announcement: * Steve Loughran is going to talk about "Meeting New Challenges with Ant 1.7" (session DE1282 Friday afternoon). * In addition to Steve I know of at least two more Ant committers who will be around (Jan Materne and myself). Cheers St

RE: Removing Comments During Build

2005-06-13 Thread Burgess, Benjamin
Perhaps the StripJavaComments FilterChain would be of use? http://ant.apache.org/manual/CoreTypes/filterchain.html#stripjavacomment s Ben Burgess TIAA-CREF -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Saturday, June 11, 2005 3:46 PM To: Ant Users List Subjec

Re: [genuine] RE: RemoteAnt / AntServer

2005-06-13 Thread lists
Here are some snippets, I hope this will help you to get it to work. The documentation for AntServer is quite poor, I agree. The example doesn't work because the runant-node is closed with a runtarget node. Never theless here is the code that works for me. I'll write few words to explain how to

Re: [genuine] RE: RemoteAnt / AntServer

2005-06-13 Thread lists
Here are some snippets, I hope this will help you to get it to work. The documentation for AntServer is quite poor, I agree. The example doesn't work because the runant-node is closed with a runtarget node. Never theless here is the code that works for me. I'll write few words to explain how to

Re: Bug in 'exec'

2005-06-13 Thread Peter Reilly
Just doing a dir in the exec does not change the directory for the task. You need to be very careful and explictly set the absolute path for the executable: Peter Mikael Petterson (KI/EAB) wrote: Hi, I am using 'exec' -task to execute a shell script. However it

Bug in 'exec'

2005-06-13 Thread Mikael Petterson (KI/EAB)
Hi, I am using 'exec' -task to execute a shell script. However it seems like it cannot find the shell script file. I ( and other people) have checked and the file is there. I wonder if anyone had a similar problem in 1.6.2? //mikael This is part of my build.xml ===

AW: How to read a a particular log file and echo the message from "Build.xml" ?

2005-06-13 Thread Jan.Materne
with nested filterchains ? Jan >-Ursprüngliche Nachricht- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 10. Juni 2005 07:07 >An: Ant Users List >Betreff: RE: How to read a a particular log file and echo the >message from "Build.xml" ? > > >Hi, > > >-Original

AW: What is the difference between a nested element and a nested type?

2005-06-13 Thread Jan.Materne
>... > > classpath="classes" loaderref="my.loaderref"/> > loaderref="my.loaderref"/> > loaderref="my.loaderref"/> Havent followed the thread deeply, but an idea here. Would bundling the stuff into an AntLib help with the ClassLoader? Jan

AW: How to use multiple filesets with classpath AND copy

2005-06-13 Thread Jan.Materne
A fileset has a common base directory. There are no nested filesets. Have you had a look at s? There are some tasks which dont support s, and is one of them [1] - oh, there was some work ... maybe a nightly build would work :-) Alternatively you could iterate over filesets