RE: properties, ant task and isset

2003-01-31 Thread David Clements
> -Original Message- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 3:42 AM > To: [EMAIL PROTECTED] > Subject: Re: properties, ant task and isset > > > On Thu, 30 Jan 2003, David Clements <[EMAIL PROTECTED]> wrote: &

Re: properties, ant task and isset

2003-01-31 Thread Stefan Bodewig
On Thu, 30 Jan 2003, David Clements <[EMAIL PROTECTED]> wrote: > If a property is not set, and I pass it to with name="foo" value="${foo}"/> > > Will ${foo} then equal the string "${foo}"? Yes. Stefan - To unsubscribe, e-mai

properties, ant task and isset

2003-01-30 Thread David Clements
Hello, I am noticing interesting behavior and have a theory as to what is happing. Basically I am calling an task with some nested tags. These properties may or may not be set at the time of the call. If a property is not set, and I pass it to with Will ${foo} then equal the string "${fo

RE: Accessing an ant task within a custom task

2003-01-24 Thread Dominique Devienne
Yes, have you looked at o.a.t.ant.util.FileUtils.java instead? --DD -Original Message- From: Nau, Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 4:30 PM To: [EMAIL PROTECTED] Subject: Accessing an ant task within a custom task I need to copy a file within my custom

Accessing an ant task within a custom task

2003-01-24 Thread Nau, Michael
I need to copy a file within my custom task from one dir to another. I haven't found a good way to copy a file from a custom ant task other than calling into the runtime environment. I want to avoid this to remain OS independent. Is there a way to call ant's copy task from within my c

RE: Accessing properties in a custom ant task

2003-01-24 Thread Dominique Devienne
st' Subject: RE: Accessing properties in a custom ant task project.getProperty("test.property"); -Ashoka -Original Message- From: Nau, Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 2:04 PM To: [EMAIL PROTECTED] Subject: Accessing properties in a custom ant t

RE: Accessing properties in a custom ant task

2003-01-24 Thread ashoka . upadhya
project.getProperty("test.property"); -Ashoka -Original Message- From: Nau, Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 2:04 PM To: [EMAIL PROTECTED] Subject: Accessing properties in a custom ant task Is there a way to access ant properties within a c

Accessing properties in a custom ant task

2003-01-24 Thread Nau, Michael
Is there a way to access ant properties within a custom task? For example: How can I access the value of test.property within the java code that creates mytask? Thanks, Mike. -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: New Ant Task

2003-01-21 Thread Ryan Grier
this task was for me to have Ant take care of > > both the build number and the version number in my software. > > I could have just used a build in task to take care of build > > number increments. This would be fine, if I didn't use a > > special pattern for build n

SV: New Ant Task

2003-01-21 Thread Christian Holmqvist, IT, Posten
kat: den 21 januari 2003 04:20 > Till: [EMAIL PROTECTED] > Ämne: New Ant Task > > > Hello all, > I believe I may have a nice little tool which may come in > handy for some > people; at least I hope it does. > > The goal of this task was for me to have Ant take car

RE: New Ant Task

2003-01-21 Thread Roman Rytov
essage- > From: Ryan Grier [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 5:20 AM > To: [EMAIL PROTECTED] > Subject: New Ant Task > > > Hello all, > I believe I may have a nice little tool which may come in > handy for some people; at least I hope it do

New Ant Task

2003-01-20 Thread Ryan Grier
number increments. This would be fine, if I didn't use a special pattern for build numbers. To my knowledge, there is no build in Ant task that will update a version number in a Java class for me. With this being said, i decided to do it myself. I'm not sure if these Ant tasks will be

RE: Avoiding Ejb/Jboss tag-warnings using the ant task

2003-01-17 Thread Sonnek, Ryan
al Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 10:05 AM To: 'Ant Users List' Subject: RE: Avoiding Ejb/Jboss tag-warnings using the ant task Could it be because they're not listed as tags??? ;-) --DD -Original Message- Fro

RE: Avoiding Ejb/Jboss tag-warnings using the ant task

2003-01-17 Thread Dominique Devienne
Could it be because they're not listed as tags??? ;-) --DD -Original Message- From: Jacob Rousseau [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 9:55 AM To: Ant Users List Subject: Avoiding Ejb/Jboss tag-warnings using the ant task Hallo everyone, We

Avoiding Ejb/Jboss tag-warnings using the ant task

2003-01-17 Thread Jacob Rousseau
Hallo everyone, We have a problem avoiding Javadoc warnings on EJB and JBoss tags using the Ant-javadoc task (we are using Ant 1.5.1). The ant xml-code looks like this: -- snip -- sourcepath="${base}/src" destdir="${base}/docs/api" packagenames="nl.virgil.yards.*" classpath

Re: passing of properties from a child ant task to its parent

2003-01-15 Thread Stefan Bodewig
On Tue, 14 Jan 2003, Dave Draper <[EMAIL PROTECTED]> wrote: > I can't see a lot of difference between the > and tags. Me neither. is nothing else than with translated to . This may change in the future to avoid the overhead of reparsing the build file, but it is how it is implemented i

AW: passing of properties from a child ant task to its parent

2003-01-14 Thread Jan . Materne
:[EMAIL PROTECTED]] Gesendet am: Dienstag, 14. Januar 2003 22:29 An: 'Ant Users List' Betreff: RE: passing of properties from a child ant task to its parent If you are using the answer is no. Targets executed via have their own environment and property space and anything modified or

AW: passing of properties from a child ant task to its parent

2003-01-14 Thread Jan . Materne
2003 22:29 An: 'Ant Users List' Betreff: RE: passing of properties from a child ant task to its parent If you are using the answer is no. Targets executed via have their own environment and property space and anything modified or set is NOT passed backed or returned to the "call

RE: passing of properties from a child ant task to its parent

2003-01-14 Thread Dave Draper
t: RE: passing of properties from a child ant task to its parent > If you are using the answer is no. > > Targets executed via have their own > environment > and property space and anything modified or set is > NOT > passed backed or returned to the "calling" targ

RE: passing of properties from a child ant task to its parent

2003-01-14 Thread Ralph Jocham
ham [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 14, 2003 16:21 > To: [EMAIL PROTECTED] > Subject: passing of properties from a child ant task > to its parent > > > Hi, > I have 2 differnt build files -- one is a general > one > (build.xml) and the other is use

RE: passing of properties from a child ant task to its parent

2003-01-14 Thread Dave Draper
eturned to the calling target it opens the property file and reads the updated and new values. - Dave -Original Message- From: Ralph Jocham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 16:21 To: [EMAIL PROTECTED] Subject: passing of properties from a child ant task to its pare

passing of properties from a child ant task to its parent

2003-01-14 Thread Ralph Jocham
set to create a propery (junit.failure, junit.error) if a failure or error occurs. This happens in the bounds of the build.xml. When I test with in the ci-build.xml it is not set, though an error has happened. My question is, are created properties from the child ant task being passed back to the

Re: ANN: Java+ Precompiler as an Ant Task

2003-01-08 Thread Brad Cox
At 09:44 AM +0100 1/8/03, Stefan Bodewig wrote: On Tue, 07 Jan 2003, Brad Cox <[EMAIL PROTECTED]> wrote: I hope this is the right protocol for getting Ant tools added to the external resources website. It is, thanks. Now if you had subscribed to the list before posting, it would have been e

Re: ANN: Java+ Precompiler as an Ant Task

2003-01-08 Thread Stefan Bodewig
On Tue, 07 Jan 2003, Brad Cox <[EMAIL PROTECTED]> wrote: > I hope this is the right protocol for getting Ant tools added to the > external resources website. It is, thanks. Now if you had subscribed to the list before posting, it would have been even better ;-) I've added an entry but I'm not s

ANN: Java+ Precompiler as an Ant Task

2003-01-07 Thread Brad Cox
I hope this is the right protocol for getting Ant tools added to the external resources website. Please let me know if not. This page lists external resources for Apache Ant: tasks, IDE integration tools, loggers, you name it. If you've written something that should be included, please post all

Re: Is there an Ant task to validate HTML (not XHTML)?

2002-12-15 Thread Nicola Ken Barozzi
Christian Wolfgang Hujer wrote: Hello Ken, thanks, I didn't think of tidy. tidy -e does a good job, I thought it's just for cleaning up HTML, but it also can check HTML. Thanks! I don't know wether I will write a HtmlTidy-Task, probably no because inserting tidy -e in a Makefile will do the

Re: Is there an Ant task to validate HTML (not XHTML)?

2002-12-14 Thread Christian Wolfgang Hujer
n a non-object oriented programming language. The author has done a really great job at conversion to Java, but it's still ugly. Some files have several thousand lines of code. That's too untypical for Java to me. This project definitely needs some refactoring before someone writes an Ant

Re: Is there an Ant task to validate HTML (not XHTML)?

2002-12-14 Thread Christian Wolfgang Hujer
Hello Martin, Am Sonntag, 15. Dezember 2002 00:38 schrieben Sie eine HTML-Mail an eine Mailing-Liste (welch eine Schande ;-): > Christian. > > The HTML 4.01 Validator can be found at > > http://validator.w3.org/ > > Vielen Danke thanks, I know. The W3C Validator is a *CGI* application and does

Re: Is there an Ant task to validate HTML (not XHTML)?

2002-12-14 Thread Christian Wolfgang Hujer
Am Sonntag, 15. Dezember 2002 00:32 schrieb Ken Gentle: > Not an ant task, but HtmlTidy does a good job -- might not be too hard to > wrap an ant task around it using the TidyLib -- see the sourceforge project > for details. > > At 06:02 PM 12/14/2002, you wrote: > >Hello dear Ant U

Re: Is there an Ant task to validate HTML (not XHTML)?

2002-12-14 Thread Ken Gentle
Not an ant task, but HtmlTidy does a good job -- might not be too hard to wrap an ant task around it using the TidyLib -- see the sourceforge project for details. At 06:02 PM 12/14/2002, you wrote: Hello dear Ant Users, does someone know of an Ant task to validate HTML, e.g. HTML 4.01 Strict

Is there an Ant task to validate HTML (not XHTML)?

2002-12-14 Thread Christian Wolfgang Hujer
Hello dear Ant Users, does someone know of an Ant task to validate HTML, e.g. HTML 4.01 Strict? (not XHTML, I already validate XHTML using the xmlvalidate task)? My google search for "Ant task to validate HTML" didn't seem to reveal anything interesting. Thanks and good bye

FW: Zeus: Zeus Ant task

2002-11-25 Thread Christophe Ney
task I'm trying to use the Ant task for Zeus that's mentioned in the User Guide. I've added the following to my build.xml file: When I run ant I get: BUILD FAILED file:/home/jbodnar/projects/broadq/pcmiddle/java/build.xml:11: taskdef class org.enhydra.zeus.util.Zeu

Greebo -- Ant task to fetch dependency files

2002-11-25 Thread Ozben Evren
Hi Everyone, Having looked at Maven, (and found out that it is not so well suited to my projects) and liked the repository/dependency concept, I decided to write a small ant task to do something similar, with some extra features. You can check-out features, and download the sources at

Re: Zeus Ant task

2002-11-25 Thread Steve Loughran
- Original Message - From: "Jason Bodnar" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 2:17 PM Subject: RE: Zeus Ant task > On Mon, 25 Nov 2002 15:57:43 -0600, Dominique Devienne wrote > > Taking t

RE: Zeus Ant task

2002-11-25 Thread Jason Bodnar
On Mon, 25 Nov 2002 15:57:43 -0600, Dominique Devienne wrote > Taking the jar out of /usr/java/j2sdk1.4.0_01/jre/lib/ext, and put > it in its own directory (independent of JDK and Ant). Then try again > the same way. That worked! Thank you, Jason Bodnar -- Jason Bodnar [EMAIL PROTECTED] http:

RE: Zeus Ant task

2002-11-25 Thread Dominique Devienne
List' Subject: RE: Zeus Ant task Tried: Got the same error. On Mon, 25 Nov 2002 15:48:22 -0600, Dominique Devienne wrote > > > > > etc... > > > > -Original Message- > From: Jason Bodnar [mailto:[EMAIL PROTECTED]]

RE: Zeus Ant task

2002-11-25 Thread Jason Bodnar
ber 25, 2002 3:53 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Zeus Ant task > > I'm trying to use the Ant task for Zeus that's mentioned in the User > Guide. I've added the following to my build.xml file: > > > > >defaultJavaPackage=&

RE: Zeus Ant task

2002-11-25 Thread Dominique Devienne
etc... -Original Message- From: Jason Bodnar [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 3:53 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Zeus Ant task I'm trying to use the Ant task for Zeus that's mentioned in the User Guide.

Zeus Ant task

2002-11-25 Thread Jason Bodnar
I'm trying to use the Ant task for Zeus that's mentioned in the User Guide. I've added the following to my build.xml file: When I run ant I get: BUILD FAILED file:/home/jbodnar/projects/broadq/pcmiddle/java/build.xml:11: taskdef class org.enhydra.zeus.util.Zeu

Re: $ problem in ANT task...

2002-11-17 Thread Stefan Bodewig
On Fri, 15 Nov 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > Before 1.4, Ant required doubling the $ signs. Before Ant 1.5 ... > This still is the case in 1.5+ (for backward compatibility), Yep. > So normally, to end up with 'abc$$def', you'll need to write either > 'abc$$$def' or 'abc

Re: RE: $ problem in ANT task...

2002-11-16 Thread Martin
compatibility problem between originating rt.jar and the x*.jars? Any help would be appreciated Thank You Martin - Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 4:36

RE: RE: $ problem in ANT task...

2002-11-15 Thread Dominique Devienne
vember 15, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: Fwd: RE: $ problem in ANT task... It was version 1.5 and the behavior you described is exactly what I found. I had searched the archives and found nothing mentioning it so wasn't sure it was common knowledge. I see that it is now. T

Fwd: RE: $ problem in ANT task...

2002-11-15 Thread Nicklas McCalip
t;[EMAIL PROTECTED]> From: Dominique Devienne <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Subject: RE: $ problem in ANT task... Date: Fri, 15 Nov 2002 14:14:22 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text

RE: $ problem in ANT task...

2002-11-15 Thread Dominique Devienne
ilto:dmctavish@;SANDVINE.com] Sent: Friday, November 15, 2002 2:07 PM To: 'Ant Users List' Subject: RE: $ problem in ANT task... I think this is the default behaviour. If you want to display a string character ($), you have to escape it or place a string character before it ($$). d.

RE: $ problem in ANT task...

2002-11-15 Thread David McTavish
] Subject: $ problem in ANT task... I came across something the other day that I thought someone might want to take a look at. I was setting up a custom JDBCTask and was having problems getting a conncetion to the database. It wasn't until I echoed my userid and password that I realized

$ problem in ANT task...

2002-11-15 Thread Nicklas McCalip
I came across something the other day that I thought someone might want to take a look at. I was setting up a custom JDBCTask and was having problems getting a conncetion to the database. It wasn't until I echoed my userid and password that I realized what it was. You see the password we use

RE: 'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Dominique Devienne
austin.rr.com] Sent: Monday, October 28, 2002 10:13 AM To: Ant Users List Subject: RE: 'ant' task not overriding basedir (Ant 1.5.1) Well, this might not be entirely accurate. I changed the 'basedir' property in the sub-project to the sub-directory in which I want it to build and

RE: 'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Marc Dugger
directory and use the -f parameter. Can anyone offer any insight on building sub-projects in a different directory other than the current? -Original Message- From: Marc Dugger [mailto:mdugger@;austin.rr.com] Sent: Monday, October 28, 2002 9:23 AM To: [EMAIL PROTECTED] Subject: 

'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Marc Dugger
I'm attempting to invoke a sub-project from my main ant build.xml using the task 'ant'. Both build files reside in the same directory at the top of my project tree. However, I am attempting to build the sub-project from a different directory further down in the tree by setting the 'dir' attribute

Re: why does an ant task not work!

2002-10-28 Thread sunyj
Hi, Zhao Yun. I think the best way to solve you problem is to send a attachment including your test programs and directory structure to all. After all, some questions about Ant relates to native ENV. Sun Yongjing

RE: why does an ant task not work!

2002-10-28 Thread ZHAO,YUN (HP-China,ex2)
02 6:51 PM To: 'Ant Users List' Subject: RE: why does an ant task not work! If the files really have the filenames abuild.xml and bbuild.xml, you'll have to add the antfile attribute; like this: -- knut > -Original Message- > From: ZHAO,YUN (HP-China,ex2) [mailto

RE: why does an ant task not work!

2002-10-28 Thread Wannheden, Knut
Users List' > Subject: RE: why does an ant task not work! > > > en.. it don't work ,too! > Thank you! > > Regards > > -Original Message- > From: Laurence Mastrorillo [mailto:mastrori@;medias.cnes.fr] > Sent: Monday, October 28, 2002 4:42 PM

RE: why does an ant task not work!

2002-10-28 Thread ZHAO,YUN (HP-China,ex2)
en.. it don't work ,too! Thank you! Regards -Original Message- From: Laurence Mastrorillo [mailto:mastrori@;medias.cnes.fr] Sent: Monday, October 28, 2002 4:42 PM To: Ant Users List Subject: Re: why does an ant task not work! try LM "ZHAO,YUN (HP-China,ex2)" a écrit :

Re: why does an ant task not work!

2002-10-28 Thread Laurence Mastrorillo
ents\b > components\b\src > components\b\src\bbuild.xml > > Regards > > -Original Message----- > From: sunyj [mailto:sunyj@;adtec.com.cn] > Sent: Monday, October 28, 2002 1:10 PM > To: Ant Users List > Subject: Re: why does an ant task not work! > > > The directory

RE: why does an ant task not work!

2002-10-28 Thread ZHAO,YUN (HP-China,ex2)
O,YUN (HP-China,ex2) To: List, Ant Users (E-mail) Sent: Sunday, October 27, 2002 7:11 PM Subject: why does an ant task not work! Running "java org.apache.tools.ant.Main -buildfile bbuild.xml" command will be ok! Running "java org.apache.tools.ant.Main -buildfile abuild.

Re: why does an ant task not work!

2002-10-27 Thread sunyj
Hi, Everyone, I'm trying to get ejb-client-jar's value from test.xml, So i use Ant task. My build file is very simple and as

Re: why does an ant task not work!

2002-10-27 Thread sunyj
> The directory structure: > --components-- > | > |a-- > | |---abuild.xml > | > |b > | |---bbuild.xml > > In abuild.xml: but your directory structure is: |b | |---bbuild.xml Where is src? Or the directory structure is below?: ../b

RE: why does an ant task not work!

2002-10-27 Thread ZHAO,YUN (HP-China,ex2)
? "ant.bat" does the same thing at the lastjust run"java org.apache.tools.ant.Main %1 %2 %3 %4"! Regards -Original Message- From: sunyj [mailto:sunyj@;adtec.com.cn] Sent: Monday, October 28, 2002 10:52 AM To: Ant Users List Subject: Re: why does an ant task not

Re: why does an ant task not work!

2002-10-27 Thread sunyj
Users (E-mail) Sent: Sunday, October 27, 2002 7:11 PM Subject: why does an ant task not work! Running "java org.apache.tools.ant.Main -buildfile bbuild.xml" command will be ok! Running "java org.apache.tools.ant.Main -buildfile abuild.xml" command will fail if the

why does an ant task not work!

2002-10-27 Thread ZHAO,YUN (HP-China,ex2)
Running "java org.apache.tools.ant.Main -buildfile bbuild.xml" command will be ok! Running "java org.apache.tools.ant.Main -buildfile abuild.xml" command will fail if the the previous command hasn't been ran!   --project a's abuild.xml             ...     dep

Re: literal value inside ant task?

2002-10-08 Thread Stefan Bodewig
On Wed, 9 Oct 2002, Janusz Dalecki <[EMAIL PROTECTED]> wrote: > Is the $ escaping character (as in $${buildno}) a Ant specific? I think so, yes. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: literal value inside ant task?

2002-10-08 Thread Janusz Dalecki \(TYCO\)
Stefan, Is the $ escaping character (as in $${buildno}) a Ant specific? JD -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8 October 2002 6:56 PM To: [EMAIL PROTECTED] Subject: Re: literal value inside ant task? On Tue, 8 Oct 2002, Janusz Dalecki

RE: literal value inside ant task?

2002-10-08 Thread Janusz Dalecki \(TYCO\)
Thanks, that worked. JD -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 October 2002 2:30 AM To: Ant Users List Subject: Re: literal value inside ant task? what happens when you double escape the dollar as in $${buildno}? - Original Message

RE: literal value inside ant task?

2002-10-08 Thread Janusz Dalecki \(TYCO\)
Thanks a lot. JD -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8 October 2002 6:56 PM To: [EMAIL PROTECTED] Subject: Re: literal value inside ant task? On Tue, 8 Oct 2002, Janusz Dalecki <[EMAIL PROTECTED]> wrote: > I would like to use in

Re: Running multiple targets with 'ant' task

2002-10-08 Thread Laurie Harper
What about if I don't own/control the subordinate build file? I'd like a way to do this from the caller... L. On 10/7/02 11:38 PM, "Jesse Stockall" <[EMAIL PROTECTED]> wrote: > On Mon, 2002-10-07 at 23:12, Laurie Harper wrote: >> Where a, b and c are valid targets but I got "Target 'a b c'" doe

Re: literal value inside ant task?

2002-10-08 Thread Steve Loughran
what happens when you double escape the dollar as in $${buildno}? - Original Message - From: "Janusz Dalecki (TYCO)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 1:17 AM Subject: literal value inside ant task? I would like to use in

Re: literal value inside ant task?

2002-10-08 Thread Stefan Bodewig
On Tue, 8 Oct 2002, Janusz Dalecki <[EMAIL PROTECTED]> wrote: > I would like to use in ant task literal value like ${buildno} but > when I use this (in any task) it gets replaced by the value of the > property ‘buildno’. How can I tell ant task to treat that value as > a lit

literal value inside ant task?

2002-10-08 Thread Janusz Dalecki \(TYCO\)
I would like to use in ant task literal value like ${buildno} but when I use this (in any task) it gets replaced by the value of the property ‘buildno’. How can I tell ant task to treat that value as a literal only? JD -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For addi

Re: Running multiple targets with 'ant' task

2002-10-07 Thread Jesse Stockall
On Mon, 2002-10-07 at 23:12, Laurie Harper wrote: > Where a, b and c are valid targets but I got "Target 'a b c'" does not > exist. Do I have to have 3 separate 'ant' tasks or is there a way to do > this? Use the depends attribute of the tasks. In master file: In sub-file: Jesse

Running multiple targets with 'ant' task

2002-10-07 Thread Laurie Harper
Is there a way to run multiple targets with a single 'ant' task? I tried something like this: Where a, b and c are valid targets but I got "Target 'a b c'" does not exist. Do I have to have 3 separate 'ant' tasks or is there a way to

Re: [Q:] Writing a simple Ant task?

2002-09-26 Thread David M. Smith
In message <[EMAIL PROTECTED]>, Stefan Bodewig <[EMAIL PROTECTED]> writes > Now that was a useful link! I guess that's from the 1.5 documentation? I am sticking with 1.4.1 until NetBeans supports 1.5 so I haven't seen that befo

Re: [Q:] Writing a simple Ant task?

2002-09-26 Thread Stefan Bodewig
On Thu, 26 Sep 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > In Ant 1.4.1, a non-Task deriving class needs to have a > setProject(Project) method to work True, I introduced a bug in Ant 1.4 when I added support for setProject (to get off the ground). Try it with Ant 1.3 or earlier and

RE: [Q:] Writing a simple Ant task?

2002-09-26 Thread Dominique Devienne
NT_HOME=C:\pro\ant1.5 P:\org_apache\antx\echo-task>%ANT_HOME%\bin\ant Buildfile: build.xml compile: taskdef: test: [myecho] Hurra BUILD SUCCESSFUL Total time: 1 second P:\org_apache\antx\echo-task>type EchoTask.java /** * Simple task to demonstrate one doesn't need any dependenc

Re: SetProxy Ant Task

2002-09-26 Thread Steve Loughran
- Original Message - From: "Ryan Cuprak" <[EMAIL PROTECTED]> To: "Ant" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 11:41 Subject: SetProxy Ant Task > > For the SetProxy optional task, how would one go about adding support for > auth

Re: [Q:] Writing a simple Ant task?

2002-09-25 Thread Stefan Bodewig
On Wed, 25 Sep 2002, Erik Hatcher <[EMAIL PROTECTED]> wrote: > Actually even in Ant 1.4.1 a task didn't need to extend from Task > either, Actually even in Ant 1.1 a task didn't need to extend from Task either. 8-) I think it almost never had to, let me see, TaskAdapter has been added to Ant's

Re: [Q:] Writing a simple Ant task?

2002-09-25 Thread Stefan Bodewig
On Wed, 25 Sep 2002, Ryan Cuprak <[EMAIL PROTECTED]> wrote: > To accomplish this, you need to write a param class yes > that extends DataType, no, this is not required. > has a default constructor not necessarily > and setter/getter methods for the attributes. yes. > In the mytask (e

Re: [Q:] Writing a simple Ant task?

2002-09-25 Thread Erik Hatcher
I would recommend *not* extending from DataType unless you have some reusability need for these nested elements and wish to define them outside of your task. Erik Ryan Cuprak wrote: > To accomplish this, you need to write a param class that extends DataType, > has a default construct

RE: [Q:] Writing a simple Ant task?

2002-09-25 Thread Dominique Devienne
I don't think so... I tried it with 1.4.1, and it didn't work. --DD -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 1:46 PM To: Ant Users List Subject: Re: [Q:] Writing a simple Ant task? Actually even in Ant 1.4.1 a task d

Re: [Q:] Writing a simple Ant task?

2002-09-25 Thread Erik Hatcher
es necessary if > one needs to access the Ant Project reference). Stefan will correct me if > I'm wrong ;-) --DD > > -Original Message- > From: Ryan Cuprak [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 12:42 PM > To: Ant > Subject: Re: [Q:] W

SetProxy Ant Task

2002-09-25 Thread Ryan Cuprak
For the SetProxy optional task, how would one go about adding support for authenticating proxies? I am sitting behind a proxy that requires a username/password. Thanks, Ryan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: [Q:] Writing a simple Ant task?

2002-09-25 Thread Ryan Cuprak
; I'm wrong ;-) --DD > > -Original Message- > From: Ryan Cuprak [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 12:42 PM > To: Ant > Subject: Re: [Q:] Writing a simple Ant task? > > > To accomplish this, you need to write a param class that

RE: [Q:] Writing a simple Ant task?

2002-09-25 Thread Dominique Devienne
rt (and is sometimes necessary if one needs to access the Ant Project reference). Stefan will correct me if I'm wrong ;-) --DD -Original Message- From: Ryan Cuprak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:42 PM To: Ant Subject: Re: [Q:] Writing a simple Ant task?

Re: [Q:] Writing a simple Ant task?

2002-09-25 Thread Erik Hatcher
David M. Smith wrote: > Hi, > > I wanted to write a task along the following lines > > > > > > > > However, I would still like to understand how I would write this task. Welcome to the world of Ant task writers! :) > Look

Re: [Q:] Writing a simple Ant task?

2002-09-25 Thread Ryan Cuprak
To accomplish this, you need to write a param class that extends DataType, has a default constructor and setter/getter methods for the attributes. In the mytask (extends Task), you add a method "addParam" which takes your param class. Hopefully that answers your question! -Ryan Cuprak On 9/2

[Q:] Writing a simple Ant task?

2002-09-25 Thread David M. Smith
Hi, I wanted to write a task along the following lines In reading through the documentation trying to write this task I came across copy and filterset which seem to do exactly what I want. However, I would still like to understand how I would write this task. Loo

Hi - Addition of a new ANT task for doxygen

2002-09-22 Thread Karthik A Kumar
Hi, I have developed a new ANT task for doxygen. Compatibility: Ant 1.5 and later. URL: http://ant-doxygen.sourceforge.net Contact: Karthik A Kumar License: Apache Software License. Kindly include the task in the list of external tasks that are available in docs/external.html. Thanks in

Re[3]: Ant 1.5 problem with copy task after using ant task with inheritAll=false to call a subproject...

2002-08-02 Thread Jacob Kjome
; On Thu, 1 Aug 2002, Jacob Kjome <[EMAIL PROTECTED]> wrote: >>> I'm having a problem with a custom ant task that extends the Copy >>> task, but only in conjunction with Ant-1.5 and using the the >>> task with inheritAll="false". SB>> I don'

Re[2]: Ant 1.5 problem with copy task after using ant task with inheritAll=false to call a subproject...

2002-08-02 Thread Jacob Kjome
ing a problem with a custom ant task that extends the Copy >> task, but only in conjunction with Ant-1.5 and using the the >> task with inheritAll="false". SB> I don't think inheritall makes any difference, it probably is this SB> <http://nagoya.apache.org/bug

Re: Ant 1.5 problem with copy task after using ant task with inheritAll=false to call a subproject...

2002-08-01 Thread Stefan Bodewig
On Thu, 1 Aug 2002, Jacob Kjome <[EMAIL PROTECTED]> wrote: > I'm having a problem with a custom ant task that extends the Copy > task, but only in conjunction with Ant-1.5 and using the the > task with inheritAll="false". I don't think inheritall makes any di

Re: Ant 1.5 problem with copy task after using ant task with inheritAll=false to call a subproject...

2002-08-01 Thread Jacob Kjome
failure is that the task is incompatible because it works when not run through the task and works fine in all cases in Ant-1.4.1. So, does that mean it is a classpath issue? The subproject generates its own classpath including the CopyAndReplace Ant task. However, the superbuild also creates a

Ant 1.5 problem with copy task after using ant task with inheritAll=false to call a subproject...

2002-08-01 Thread Jacob Kjome
Hi, I'm having a problem with a custom ant task that extends the Copy task, but only in conjunction with Ant-1.5 and using the the task with inheritAll="false". Actually, I don't know if the inheritAll=false is suspect, but it seems it would have something to do with it

RE: Parametrizing an ant task

2002-07-31 Thread Shackelford, John-Mason
st' > Subject: RE: Parametrizing an ant task > > > You might also consider using > > > > > > - DD > > -Original Message- > From: Milind Nirgun [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 31, 2002 16:51 > To: Ant Users List

RE: Parametrizing an ant task

2002-07-31 Thread Dominique Devienne
et, in order to get more specific help. Cheers, --DD -Original Message- From: Dave Draper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 4:01 PM To: 'Ant Users List' Subject: RE: Parametrizing an ant task You might also consider using - DD -Original

RE: Parametrizing an ant task

2002-07-31 Thread Dave Draper
You might also consider using - DD -Original Message- From: Milind Nirgun [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 16:51 To: Ant Users List Subject: RE: Parametrizing an ant task You can use the -D= option while running ant. I am not sure if thats what

RE: Parametrizing an ant task

2002-07-31 Thread Milind Nirgun
You can use the -D= option while running ant. I am not sure if thats what you wanted. -Milind > -Original Message- > From: Saripalli, Raju [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 31, 2002 1:33 PM > To: Ant-User (E-mail) > Subject: Parametrizing an ant task &

Parametrizing an ant task

2002-07-31 Thread Saripalli, Raju
Is it possible to parametrize an ant task ? For example (a very simple one) ... lets say I wanted to have a task that compiled all the classes in a specific package that could be specified as a run-time parameter How can this be done ? Thanks Raju

Re: problem executing subproject with ant task

2002-07-24 Thread Mastrorillo Laurence
oblem. --DD > > -Original Message- > From: Mastrorillo Laurence [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 7:47 AM > To: [EMAIL PROTECTED] > Subject: problem executing subproject with ant task > > Hi Al

RE: problem executing subproject with ant task

2002-07-23 Thread Dominique Devienne
uesday, July 23, 2002 7:47 AM To: [EMAIL PROTECTED] Subject: problem executing subproject with ant task Hi All, using ant since 2 days, i have problem executing subproject with ant task. Here is my main build file :

problem executing subproject with ant task

2002-07-23 Thread Mastrorillo Laurence
Hi All, using ant since 2 days, i have problem executing subproject with ant task. Here is my main build file : and the subproject build file : Here 's what i got in r

Re: Property element of ant task needs an "if"

2002-07-15 Thread Stefan Bodewig
On Fri, 12 Jul 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > My question was whether this would make it to Ant did I ever > implement it? Sorry for some larger delays, I'm currently spending more cycles on non-Ant stuff than I'd like to do. I cannot say for sure as I'm only one voice of

  1   2   3   >