RE: task broken in 1.6.5?

2007-03-08 Thread David Corley \(AT/LMI\)
Users List Subject: RE: task broken in 1.6.5? Hi David, I find no sign of it in the 1.6.5 manual... so it looks like maybe it was added for 1.7? /t >-Original Message- >From: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] >Sent: Thursday, March 08, 2007 5:27 PM >To: user@a

task broken in 1.6.5?

2007-03-08 Thread David Corley \(AT/LMI\)
I've tried running as it states in the manual But I get a task not found error? I don't think this was a task newly introduced in 1.7. This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you beli

Java Development with Ant, 2nd edition?

2007-03-06 Thread David Corley \(AT/LMI\)
Anyone know when it's due. I understand it was due to be released with updated info for Ant 1.7 around the time of release of 1.7... ? This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe

RE: Specifying additonal classpath elements when calling the task

2007-03-02 Thread David Corley \(AT/LMI\)
ws you to add jars to the project-classloader. cheers Rainer > -Original Message----- > From: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 01, 2007 2:48 PM > To: user@ant.apache.org > Subject: Specifying additonal classpath elements when calling the

Specifying additonal classpath elements when calling the task

2007-03-01 Thread David Corley \(AT/LMI\)
I'm wondering if anyone knows a way to specify additional jars for use by an task within an ant buildfile. My current setup involves 2 build files, builda.xml and buildb.xml. Builda.xml runs an task to kick-off buildb.xml. This a multiproject setup. There are many users having their own custom

RE: Good editor for Ant scripts?

2007-02-07 Thread David Corley (AT/LMI)
Oxygen XML editor offers some feedback, but for any non-original ant tasks (like the PMD, Cobertura ant tasks), it won't be as helpful. You can get a trial from http://www.oxygenxml.com This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disc

RE: problem sending attachments

2007-01-10 Thread David Corley \(AT/LMI\)
n, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof. -Original Message----- From: David Corley (AT/LMI) [mailto:[EMAIL PROTE

RE: problem sending attachments

2007-01-10 Thread David Corley \(AT/LMI\)
You need to add the java activation framework and java mail jars to your classpath. They don't come with Ant or Java and can be download here: http://java.sun.com/products/javamail/ And here http://java.sun.com/products/javabeans/jaf/downloads/index.html Download the 2 jars, add them to your ant

Merry Christmas!

2006-12-22 Thread David Corley \(AT/LMI\)
Hey all, Just wanted to wish everyone on the Apache Ant team, and all of the members of this mailing list a very happy Christmas. The team have given us an early present in the form of Ant 1.7, but lets let them enjoy Christmas and not submit any bug reports until after Jan 1st OK?

RE: Changes in ant-contrib1.0b3 ?!

2006-11-21 Thread David Corley \(AT/LMI\)
I don't have time to check them all but here's new tasks from documentation included in package: Logic Tasks === AntCallBack AntFetch Assert Foreach For If OutOfDate **Relentless RunTarget Switch Throw TimestampSelector Trycatch Network Tasks = HTTP Post AntServe

RE: path performance

2006-10-17 Thread David Corley \(AT/LMI\)
Hey Kevin, If you put all of your tests into a Junit testsuite, and use the paremeter of the task, junit will load the classpath once and use it for all tests. Sometimes this isn't possible because of dependency issues between tests, but give it a whirl. /Dave This communication is co

RE: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant

2006-09-22 Thread David Corley \(AT/LMI\)
placement for /Dave -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: 22 September 2006 16:29 To: Ant Users List Subject: RE: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant --- "David Corley (AT/LMI)"

RE: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant

2006-09-22 Thread David Corley \(AT/LMI\)
til the book comes out. /Dave -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: 22 September 2006 15:56 To: Ant Users List Subject: Re: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant David Corley (AT/LMI) wr

RE: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant

2006-09-22 Thread David Corley \(AT/LMI\)
ink) cause the > symtoms you describe. > see: http://issues.apache.org/bugzilla/show_bug.cgi?id=34458 > for an example. > > Please try to get a small build file/s that shows the problem. > Peter > > > On 9/22/06, David Corley (AT/LMI) <[EMAIL PROTECTED]> wrot

RE: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant

2006-09-22 Thread David Corley \(AT/LMI\)
Beffling is the word. I'm pretty familiar with Ant, and this is the first time I've seen such a low level error. The pre and post targets are filled with tasks of the end-users choice. But for the example below and in the code that's causing the error, I have just the one task in the pre target.

RE: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant

2006-09-22 Thread David Corley \(AT/LMI\)
PROTECTED] Sent: 22 September 2006 14:15 To: Ant Users List Subject: Re: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant On 9/22/06, David Corley (AT/LMI) <[EMAIL PROTECTED]> wrote: > I have a situation where I have a common cor

RE: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant

2006-09-22 Thread David Corley \(AT/LMI\)
Should have also mentioned I'm using Ant 1.6.5 with JDK 1.4.2_10 -Original Message- From: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] Sent: 22 September 2006 14:11 To: Ant Users List Subject: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error af

"java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using task within ant

2006-09-22 Thread David Corley \(AT/LMI\)
I have a situation where I have a common core build.xml for many users, with an optional junit-setup.xml build file called by ant if the user sets a particular property, junit.setup.required. The junit-setup file is a standard file of the ant build.xml format, and contains two empty, predefined ta

RE: HTML tags inside ANT..?

2006-09-20 Thread David Corley \(AT/LMI\)
tags inside ANT..? Have you tried using a filtersfile? Jan >-Ursprüngliche Nachricht- >Von: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 20. September 2006 10:17 >An: [EMAIL PROTECTED]; Ant Users List >Betreff: RE: HTML tags inside ANT..? > >

RE: HTML tags inside ANT..?

2006-09-20 Thread David Corley \(AT/LMI\)
me. Jan, i will try the way u suggest. But I prefer tht to be inside by build file anand

RE: HTML tags inside ANT..?

2006-09-20 Thread David Corley \(AT/LMI\)
I agree with Jan, I've a setup pretty close to what you're looking for in use at work. But to do this you'll need to add the javamail and jaf jars to the ant bootloader classpath... Which you can do more or less as follows: ant -f build.xml -lib /directory/containi

RE: Checkout more than one File with Clearcase

2006-09-19 Thread David Corley \(AT/LMI\)
Hey Jörg, I believe you might find what you need here: http://clearantlib.sourceforge.net/ /Dave -Original Message- From: "Waldmann, Jörg GKL" [mailto:[EMAIL PROTECTED] Sent: 19 September 2006 15:34 To: 'user@ant.apache.org' Subject: Checkout more than one File with Cl

RE: OutOfMemoryError when building on x64

2006-08-25 Thread David Corley \(AT/LMI\)
There seems to be more going on here... David Corley (AT/LMI) wrote: > > You should set the -Xms -Xmx properties for your JVM. They control the > minimum and maximum heap size the JVM is allowed to use. There's > plenty of documentation for these two switches online. > > --

RE: OutOfMemoryError when building on x64

2006-08-25 Thread David Corley \(AT/LMI\)
rence is that on the new server, the x64 version of the 1.5 JDK is used. The ant options are set to a max heap of 512m (where the old server uses the default). There seems to be more going on here... David Corley (AT/LMI) wrote: > > You should set the -Xms -Xmx properties for your JVM. T

RE: OutOfMemoryError when building on x64

2006-08-25 Thread David Corley \(AT/LMI\)
You should set the -Xms -Xmx properties for your JVM. They control the minimum and maximum heap size the JVM is allowed to use. There's plenty of documentation for these two switches online. -Original Message- From: lfleal [mailto:[EMAIL PROTECTED] Sent: 25 August 2006 03:17 To: user@ant

RE: Any way to import an ant script inside a target?

2006-08-24 Thread David Corley \(AT/LMI\)
Although it's not exactly helpful James, standard practice in Cruisecontrol would be to use set up each of the ant subprojects you want to build and set them up as individual cruisecontrol subprojects. An alternative is to use the multiple tasks in your main ant script to call each of the individu

RE: ?!

2006-08-24 Thread David Corley \(AT/LMI\)
Well, this idea may seem like a hack, but perhaps it'll work for you. You can use the ant-contrib library task (http://ant-contrib.sourceforge.net/tasks/tasks/variable_task.html), which is like a mutable ant property. You could use it such you constantly append data to it, using some kind of a sep

RE: ?!

2006-08-23 Thread David Corley \(AT/LMI\)
Well maybe I'm misunderstanding you, but the xml logger I mentioned actually captures everything that happens in the first build I mentioned. You simply run ant with the following command: ant -logger org.apache.tools.ant.XmlLogger -verbose -logfile build_log.xml You'll actually get no screen outpu

RE: ?!

2006-08-23 Thread David Corley \(AT/LMI\)
I normally use a two-build setup with a batch file. The batch file calls the first build, which is the main build, and I tell Ant to use its xml logger. Once that build has finished, the batch file calls a second build that converts the xlm log file from the first build into html using the log.xsl

RE: Reusing classpath across different Ant files

2006-08-22 Thread David Corley \(AT/LMI\)
You can put the classpath element in it's own build.xml, and use the task to reference that buildfile in every one of your other build files. -Original Message- From: Hans Schwaebli [mailto:[EMAIL PROTECTED] Sent: 22 August 2006 15:26 To: user@ant.apache.org Subject: Reusing classpath

RE: Properties File

2006-08-15 Thread David Corley \(AT/LMI\)
Put filter tokens where you want the values to be placed...like this [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ Then you can run a task to replace the @token@ with a value of your choice, before packaging. -Original Message- From: Bala Paranj [mailto:[EMAIL PROTECTED] S

RE: Question regarding recursive copy

2006-08-15 Thread David Corley \(AT/LMI\)
You should probably use "**/*.*" as the pattern. -Original Message- From: Michael Bauroth [mailto:[EMAIL PROTECTED] Sent: 15 August 2006 14:27 To: user@ant.apache.org Subject: Question regarding recursive copy Hi, I'm having the following problem: I want to make a recursive copy from

RE: Task doesn't support the nested * element

2006-08-14 Thread David Corley \(AT/LMI\)
Have you tried running the task with ant 1.6.5? And are you using the latest ant-contrib version (1.0b2)? /Dave -Original Message- From: Gerry Healy [mailto:[EMAIL PROTECTED] Sent: 14 August 2006 12:53 To: user@ant.apache.org Subject: Task doesn't support the nested * element Hi there,

RE: ANT with several Java-Versions

2006-08-11 Thread David Corley \(AT/LMI\)
Whenever you run Ant set your JAVA_HOME variable (before you run Ant) to the location of the 1.5 JRE. Ant always looks at the JAVA_HOME variable to find out where the JDK is stored. /Dave -Original Message- From: Grimm, Markus [mailto:[EMAIL PROTECTED] Sent: 11 August 2006 11:50 To: use

RE: Logging System

2006-08-11 Thread David Corley \(AT/LMI\)
I forgot of course another option is to use the xml logger, and then use some xslt to extract only the compilation related information. /Dave -Original Message- From: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] Sent: 11 August 2006 09:03 To: Ant Users List Subject: RE: Logging

RE: Logging System

2006-08-11 Thread David Corley \(AT/LMI\)
I'm sure it's possible subir, but you'll have to write a custom logger/listener to carry it out. /Dave -Original Message- From: subir bhaumik [mailto:[EMAIL PROTECTED] Sent: 10 August 2006 14:29 To: user@ant.apache.org Subject: Logging System Hi I am using ant programmitacally for

RE: Code synchronisation problem

2006-08-09 Thread David Corley \(AT/LMI\)
m: Stephen McConnell [mailto:[EMAIL PROTECTED] Sent: 09 August 2006 19:04 To: 'Ant Users List' Subject: RE: Code synchronisation problem > -----Original Message- > From: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 9 August 2006 6:42 PM > To: Ant

RE: Javac or Ant issue ?

2006-08-09 Thread David Corley \(AT/LMI\)
Have you also checked the latest Ant (1.6.5) changelog? I noticed there was a change to the javac task in 1.6.3 as follows: * Changed default tempdir for from user.dir to java.io.tmpdir. Perhaps this affects you? -Original Message- From: Chun Ji [mailto:[EMAIL PROTECTED] Sent: 09 August

Code synchronisation problem

2006-08-09 Thread David Corley \(AT/LMI\)
Hey, I have some "hand-written" classes and some idl-generated source in two seperated directories. Some of the source in both of the directories has the same file/class name, and as I need to compile them together, I get "duplicate class" errors. What I would like to do is compare the "ha

RE: Ant 1.7!

2006-08-02 Thread David Corley \(AT/LMI\)
If you go to http://svn.apache.org/snapshots/ant/ and download the latest snapshot, you can download the latest alpha to your machine. You can then open the WHATSNEW in the /ant directory or look at the updated manual in the /manual directory. -Original Message- From: Richard Wagner [mai

Ant 1.7!

2006-08-02 Thread David Corley \(AT/LMI\)
Just wondering when we should expect to see Ant 1.7 roughly? I know Steve Loughran gave a presentation at HP that's available on the web last year some time, and the nightly builds are ongoing, but it would be useful to have a rough dateeven if someone could say 3rd or 4th quarter this year