Re: How to share a database connection betwwen differnet ant (sql) task

2007-01-10 Thread ashish shrivastava
I am OK with the complexity. I can not group sql task as there are dependencies on other tasks. please tell me how to achieve it. Thanks Ashish On 1/11/07, Steve Loughran <[EMAIL PROTECTED]> wrote: ashish shrivastava wrote: > I am using ANT for deployment of my product.I need to run different

AW: On fail listener?

2007-01-10 Thread Jan.Materne
Using custom BuildListeners. http://ant.apache.org/manual/listeners.html http://ant.apache.org/manual/develop.html#buildevents http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/BuildListener.java Jan >-Ursprüngliche Nachricht- >Von: James Carr [mailto:[EMAIL

Re: hello

2007-01-10 Thread nb123
is it saying build.xml not found or buld.jar...? if its saying build.xml not found then its ok. just confirm that. akinola oni wrote: > > Hello, > My Ant tool has been compiled up properly but when l type in ant on the > command line , it gives an error saying build.jar not found and doesn'

On fail listener?

2007-01-10 Thread James Carr
Is there a way to attach a callback that is called when a build fails, or even just ends, from within a custom task? Thanks, james - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: hello

2007-01-10 Thread Jack J. Woehr
On Jan 10, 2007, at 5:24 PM, akinola oni wrote: Hello, My Ant tool has been compiled up properly but when l type in ant on the command line , it gives an error saying build.jar not found and doesn't exist? what should l do. you mean "build.xml" ... it's saying that you have not written

hello

2007-01-10 Thread akinola oni
Hello, My Ant tool has been compiled up properly but when l type in ant on the command line , it gives an error saying build.jar not found and doesn't exist? what should l do. _ MSN Hotmail is evolving – check out the new Windows Li

Re: How to share a database connection betwwen differnet ant (sql) task

2007-01-10 Thread Steve Loughran
ashish shrivastava wrote: I am using ANT for deployment of my product.I need to run different SQL's at different stages of my deployment, so if i use ANT SQL task it will create a new DB connection each time.Is there any way i can share the DB connection between different tasks.(may be putting

Links for entity beans

2007-01-10 Thread nb123
Can someone send me links for deploying Entity beans ,Message beans through ant. -- View this message in context: http://www.nabble.com/Links-for-entity-beans-tf2952323.html#a8257084 Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: AW: Configuring email body from a text file

2007-01-10 Thread nb123
i tried doing this but its not working. i need to read the contents from the text file and send it as the email body. but instead the "C:\trainee..." is going as body of the email. messageFile did not work. please help. This is the build.xml

How to share a database connection betwwen differnet ant (sql) task

2007-01-10 Thread ashish shrivastava
I am using ANT for deployment of my product.I need to run different SQL's at different stages of my deployment, so if i use ANT SQL task it will create a new DB connection each time.Is there any way i can share the DB connection between different tasks.(may be putting the connection in Project cla

AW: Configuring email body from a text file

2007-01-10 Thread Jan.Materne
I am very sure you havent had a loo at the manual of . There is a nice attribute ... Jan >-Ursprüngliche Nachricht- >Von: nb123 [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. Januar 2007 12:23 >An: user@ant.apache.org >Betreff: Configuring email body from a text file > > >How can i

Re: Anyway to make an input task have stars?

2007-01-10 Thread Patrick Martin
Hello, If you need user input *and* have access to a windowed system, you may want to try to have a look at antform: http://antforms.sourceforge.net/ Its textProperty element has a password attribute that will hide user input. Cheers, Patrick On 1/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>

Configuring email body from a text file

2007-01-10 Thread nb123
How can i make the body of the email by reading from a text file. please help with code if possible. -- View this message in context: http://www.nabble.com/Configuring-email-body-from-a-text-file-tf2951935.html#a8255909 Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: Hidden property values with debug verbosity?

2007-01-10 Thread Steve Loughran
James Abley wrote: Why can't you filter ANT's output before it goes to the log? ant -f some-build-file.xml | grep -v ' some patterns here' > ant-output.log or have a custom logger that strips content? - To unsubscribe, e-mail

Re: Hidden property values with debug verbosity?

2007-01-10 Thread Steve Loughran
[EMAIL PROTECTED] wrote: We are using ANT to script installation in production systems and do not want to output the values for certain properties to show up in logs and things. Maybe this can or should be added to the ANT core? Ant's not really an install tool, its a build tool. We try an

Re: problem sending attachments

2007-01-10 Thread nb123
Yes thanks a lot, it worked. i am using ant 1.6.5. Nicolas Vervelle wrote: > > Hi, > > which version of Ant are you using ? > "Prior to Ant 1.7 only || has been supported as a nested > element, you can still use this directly without an || > container." > > Nico > > nb123 wrote: >> yes t

Re: problem sending attachments

2007-01-10 Thread Nicolas Vervelle
Hi, which version of Ant are you using ? "Prior to Ant 1.7 only || has been supported as a nested element, you can still use this directly without an || container." Nico nb123 wrote: yes that is all in place, the jar files. as i said the textual mails are going through but the attachments a

RE: problem sending attachments

2007-01-10 Thread nb123
yes that is all in place, the jar files. as i said the textual mails are going through but the attachments are not David Corley (AT/LMI) wrote: > > 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

RE: problem sending attachments

2007-01-10 Thread David Corley \(AT/LMI\)
I'd like to correct one type below. I said the jars don't come with java, but it turns out the Java Activation Framework is now part of Java 6. Don't know about JavaMail though. This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure

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

problem sending attachments

2007-01-10 Thread nb123
i've tried sending attachments with the mail. the normal text mails are going through. but attachments are not. i am getting an error:: The type doesn't support the nested "attachments" element. please help me out. my build.xml file:

Re: Hidden property values with debug verbosity?

2007-01-10 Thread James Abley
Why can't you filter ANT's output before it goes to the log? ant -f some-build-file.xml | grep -v ' some patterns here' > ant-output.log Cheers, James [EMAIL PROTECTED] wrote: Does anyone have a method to suppress echo of selected property value when debugging is enabled? I am thinking of ma