Re: Maintaining dependencies across antcalls

2002-09-02 Thread Nicola Ken Barozzi
Laurie Harper wrote: > Erm, yes, that's the point. I want to be able to declare my dependencies > (for example, so that I can expect 'ant worker' to work as well as 'ant > master') without getting required targets executed repeatedly. Understand, you need an inner tag. I've almost finished it

Re: Size of attachment in the mail task

2002-09-02 Thread Stefan Bodewig
On Tue, 3 Sep 2002, Paidighantam Venkata Suresh <[EMAIL PROTECTED]> wrote: > I am not using any encoder, You are - see 's encoding attribute. You may not specify the encoder, but one will be used (and Ant will tell you which). But more to the point > For this reason I was just wondering is th

Re: Maintaining dependencies across antcalls

2002-09-02 Thread Stefan Bodewig
On Mon, 02 Sep 2002, Laurie Harper <[EMAIL PROTECTED]> wrote: > > > > > > Then running ant causes 'init' to be invoked 3 times. I only want it > to be executed once. Guard against it with a property. ... Stefan -- To unsubscribe, e-mail: For

FileSets with different directory tree roots

2002-09-02 Thread Catalin Rotaru
I would like to group together for processing files that do not have the same directory tree roots (otherwise I would just use a FileSet). Is there a way to do that? More to the point, my Jave source files are split into: ./src ../common/src The operations I need to do on them are: j

Line Counter Task

2002-09-02 Thread Catalin Rotaru
Hi, I wrote a simple Ant task that generates statistics (number of files and number of lines) on the source files of the project. If there's any interest in this, I'd be happy to submit the code. Best regards, Cata Sample output: [lc] Files of type "java": 2 => 338 lines. [

zipping a single file

2002-09-02 Thread Andrew van Renen
Erik Hatcher wrote >>So then why did ' >You cannot make ${to} be an absolute path. I see. I had missed that little point. Thank you for your input. Andrew. _ MSN Photos is the easiest way to share and print your photos: http://p

RE: Size of attachment in the mail task

2002-09-02 Thread Paidighantam Venkata Suresh
Hi, I am not using any encoder, I am just using the mail task of ANT. I tried sending a file of 860KB, it failed, however I can send a file of size 400kb using the mail task. For this reason I was just wondering is there any size limit that can be sent as an attachment. Regards, Suresh -O

Re: Maintaining dependencies across antcalls

2002-09-02 Thread Laurie Harper
Erm, yes, that's the point. I want to be able to declare my dependencies (for example, so that I can expect 'ant worker' to work as well as 'ant master') without getting required targets executed repeatedly. L. On 9/2/02 5:49 PM, "Nicola Ken Barozzi" <[EMAIL PROTECTED]> wrote: > > > Laurie Ha

Re: Maintaining dependencies across antcalls

2002-09-02 Thread Nicola Ken Barozzi
Laurie Harper wrote: > Is there a way to use antall or something similar that maintains the > dependency graph? For example, if I have: > > > > > > ^ > > > > > > > > > Then running ant causes 'init' to be

Maintaining dependencies across antcalls

2002-09-02 Thread Laurie Harper
Is there a way to use antall or something similar that maintains the dependency graph? For example, if I have: Then running ant causes 'init' to be invoked 3 times. I only want it to be executed once. Thanks, L. -- To unsubscribe, e-mail:

RE: Modifying properties on the fly in custom task

2002-09-02 Thread Andres Valenciano
Easy! I used the approach inside my task, it works just fine. Thanks for your help! A.V. -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 1:05 PM To: Ant Users List Subject: Re: Modifying properties on the fly in custom task Andres Va

Re: Automated source config model?

2002-09-02 Thread Laurie Harper
Why not use CVS tags to do this? Just apply a cvs tag to the branches and revisions that are part of the particular configuration a developer needs. Something like: Cvs tag -r V1.1 my_tag platform Cvs tag -r V1.3 my_tag ui Cvs tag -r V1.7 my_tag content ... Then all the developer has to do is 'c

FileSets for files with different directory tree roots

2002-09-02 Thread Catalin Rotaru
I would like to group together for processing files that do not have the same directory tree roots (otherwise I would just use a FileSet). Is there a way to do that? More to the point, my Jave source files are split into: ./src ../common/src The operations I need to do on them are: j

Line Counter Task

2002-09-02 Thread Catalin Rotaru
Hi, I wrote a simple Ant task that generates statistics (number of files and number of lines) on the source files of the project. If there's any interest in this, I'd be happy to submit the code. Best regards, Cata Sample output: [lc] Files of type "java": 2 => 338 lines. [

Re: taskdef class cannot be found

2002-09-02 Thread Erik Hatcher
Michael Burke wrote: > ExtractTldTask isn't in a jar file it's a class file in com.wrox.ant. I > added a pathelement to the taskdef and got the same error message > >> >> >> >> >> the location should be the parent directory of where com lives. For example, if com/wro

Re: taskdef class cannot be found

2002-09-02 Thread Michael Burke
Erik Hatcher wrote: > Is the JAR containing com.wrox.ant.ExtractTldTask in your ANT_HOME/lib > directory or your system classpath? If not, then use the > options to define a classpath where it lives (including any > dependencies it might have also!). > > Erik > > > Michael Burke wrote: >

Re: taskdef class cannot be found

2002-09-02 Thread Erik Hatcher
Is the JAR containing com.wrox.ant.ExtractTldTask in your ANT_HOME/lib directory or your system classpath? If not, then use the options to define a classpath where it lives (including any dependencies it might have also!). Erik Michael Burke wrote: > I don't understand why I'm gett

Re: Modifying properties on the fly in custom task

2002-09-02 Thread Erik Hatcher
Andres Valenciano wrote: > My motivation is this, I want to "execute" one or more tasks (exec right > now) but many times based on one or more defined fileset. The idea was that > this "foreach-file" (or whatever this task could be called) could generate > an implicit (documented,etc...) property

taskdef class cannot be found

2002-09-02 Thread Michael Burke
I don't understand why I'm getting this error message. The class is in com.wrox.ant. Relevant part of build.xml: > > > ant error message: > BUILD FAILED > file:/home/mburke/5512/5512/build.xml:9: taskdef class > com.wrox.ant.ExtractTldTask cannot be found > at > org.apache.tools.ant.t

RE: Modifying properties on the fly in custom task

2002-09-02 Thread Andres Valenciano
MM... ok.. I will try to clarify this... (BTW: thx for the reply) and sorry if I am making a silly mistake or wrong assumptions (I'm sure I am...), I can't say I am an Ant expert... ;-) My motivation is this, I want to "execute" one or more tasks (exec right now) but many times based on one or m

AW: Have you ever tried Jython with ANT?

2002-09-02 Thread Yyy Xxx
Jython 2.1 works with ANT out of the box if you use