RE: Property problem in 1.6.5

2006-04-10 Thread Greg Irvine
Hi Ben. Correct you are. I discovered the err of my ways a few days ago (and forgot to repost to the group). Thanks. Greg. -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 April 2006 1:04 AM To: Ant Users List Cc: [EMAIL PROTECTED] Subject: RE:

Re: over multiple directories?

2006-04-10 Thread Daniel Noll
Dominique Devienne wrote: I've used extensively with C/C++/Fortran, and although there's a learning curve to it, it's very good IMHO. Have you discussed your issues on the Ant-Contrib list? But I'll grant you, going the route is a significant investement. The dependency management is very good

RE: How to add Logging information to ANT

2006-04-10 Thread Meyer, Guillermo
Ok, we solve it. We define a Log4j.properties and add a -Dlog4jconfiguration indicating the file and it works. Thanks you all for your assistance. Regards. Guillermo. From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 5:14 PM To

Re: How to add Logging information to ANT

2006-04-10 Thread Jeffrey E Care
You can easily write your own logger class to output all of the information that you want; check the manual for instructions. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Ser

RE: How to add Logging information to ANT

2006-04-10 Thread Meyer, Guillermo
Brian: Thanks for your response. The xml logger works, but we want to add more information to the log, as execution time of each task. Do you know how to do that? -Original Message- From: Brian McCallion [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 11:20 AM To: 'Ant Users List'

RE: AW: How to embed a link in email notification?

2006-04-10 Thread Res Pons
If you plan to run nightly automated builds via a scheduler of some sort, like Anthill or CruiseControl, they automatically (well, not really, you have to check a box to send out emails) take care of it. Or you can write your own ant.file; change the paths or prop names accordingly. You can als

RE: mail task getting Unknown SMTP host

2006-04-10 Thread Brian McCallion
Hi Dwayne, Glad to hear the goods news! Thanks for the note. Best Regards, Brian -Original Message- From: Dwayne Walker [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 1:16 PM To: Ant Users List; [EMAIL PROTECTED] Subject: Re: mail task getting Unknown SMTP host Oh, thanks f

Re: mail task getting Unknown SMTP host

2006-04-10 Thread Dwayne Walker
Oh, thanks for the suggestions but I feel the idiot. I was passing " 10.41.16.31" as the ip. Notice the leading space. I do thank you for your responce Brian. Dwayne On 4/6/06, Brian McCallion <[EMAIL PROTECTED]> wrote: > Hi Daniel, > > Can you telnet to the host on port 25? If so do you get an

AW: How to embed a link in email notification?

2006-04-10 Thread Jan.Materne
Use HTML or just print the URL. Many eMail clients convert URLs to links. Jan >-Ursprüngliche Nachricht- >Von: eagerbeaver [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 10. April 2006 18:54 >An: user@ant.apache.org >Betreff: How to embed a link in email notification? > > >I am a newcomer

How to embed a link in email notification?

2006-04-10 Thread eagerbeaver
I am a newcomer to Ant. I am using the Mail task and Message element to send email notification of each nightly build with build reports attached. But I want to be able to embed a link to the shared folder location of the nightly build reports instead. How do I do this? -- View this message in

RE: How to add Logging information to ANT

2006-04-10 Thread Brian McCallion
Hi Guillermo, I tried the Log4J approach, but I found that the xml logger actually works best for me. With this option the build still can write to stdout while it's executing, but you also get a very detailed log in the form of an xml file. It includes time per task and a other very detailed

How to add Logging information to ANT

2006-04-10 Thread Meyer, Guillermo
We are using ANT version 1.6.5. We want to add more information in the ANT output. Not only which tag is being executed but also thread id, current time, and other stuff that ANT tags are doing (through some logger framework like Log4J). We tried to add "ant -listener org.apache.tools.ant.listene

RE: How can I keep an import statement from resetting a path id?

2006-04-10 Thread Eric Wood
Thank you for the explanation. Eric -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 11:43 AM To: Ant Users List Subject: Re: How can I keep an import statement from resetting a path id? I short Eric, id attributes are handled different

Re: How can I keep an import statement from resetting a path id?

2006-04-10 Thread Dominique Devienne
I short Eric, id attributes are handled differently for historical reasons, at parse time (think of it that way anyway), and not at runtime. So the fact that the id is within an doesn't matter. I've posted a short task somewhere in bugzilla for a bug related to id's in s, which allows to postpone

RE: Property problem in 1.6.5

2006-04-10 Thread Burgess, Benjamin
FYI, this is a common mistake made; people use antcall incorrectly when what they needed was the project depends attribute. Ben -Original Message- From: Greg Irvine [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 7:11 PM To: 'Ant Users List' Subject: Property problem in 1.6.5 H

How can I keep an import statement from resetting a path id?

2006-04-10 Thread Eric Wood
Is there a way to conditonally set a path id for a classpath when I'm importing a file? I have two files that I import from a build.xml. The first file sets a path id for my classpath and the second one resets it when the file is imported even though the path id is set in a target with an condit

Re: AW: javac option -Xlint

2006-04-10 Thread Ming Hou
On Mon, 10 Apr 2006, [EMAIL PROTECTED] wrote: I would like to know how can I have an option "-Xlint" in ANT with JDK1.5 javac? After reading the manual I would try s Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: over multiple directories?

2006-04-10 Thread Dominique Devienne
> I have a directory under which there are multiple nested directories, > sometimes containing a makefile. [...] > Today I discovered the task, and thought it might be the way out > of this predicament. However, that task becomes useless very quickly. > The problem is that make needs to be run in

AW: Looping through a file contents and dynamically add for each line in the file to task

2006-04-10 Thread Jan.Materne
I thought, statement would processed earlier ... But I played a little bit and it seems that this would work: 1. The buildfile creates a second buildfile with your sql-oracle target - extract the static stuff into two files (prepend,append) BTW: I used properties in the sql-append.txt for