RE: How to open a URL?

2007-09-10 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 2:28 AM > To: user@ant.apache.org; [EMAIL PROTECTED] > Subject: AW: How to open a URL? > > > > But I would recommend having an eye on Canoo Webtest > http://webtest.canoo.com/ Ja

RE: Invoking sql files in ANT.

2007-07-20 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: Chun Ji [mailto:[EMAIL PROTECTED] > I was trying to call some sql files from ANT, and it keeps > giving me some "ORA-00922, ORA-00900.." errors. I don't think Charlie - I take it by the error messages you are using Oracle - check out my wiki post here: ht

RE: Mail task with Exchange Server

2007-07-03 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: sjscabert [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 03, 2007 9:31 AM > To: user@ant.apache.org > Subject: RE: Mail task with Exchange Server > > > So just to confirm, my mail task would have 25 as the > mailport and the name > of the Exchange server (a

RE: Mail failing in build.xml file

2007-06-12 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: David Weintraub [mailto:[EMAIL PROTECTED] > > When I attempt to execute it, I get the following error message: > > test: > [mail] Failed to initialise MIME mail: > javax/mail/MessagingException > > BUILD SUCCESSFUL I get this error as well but the em

RE: Cannot send e-mail via ant

2007-04-26 Thread Priest, James \(NIH/NIEHS\) [C]
> -Original Message- > From: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 26, 2007 6:35 AM > To: Ant Users List > Subject: Cannot send e-mail via ant > And I receive > > BUILD FAILED > java.lang.NoSuchFieldError: headers Ì'd try it without the fileset just to see

RE: StatSVN publishes stats for Ant

2007-03-13 Thread Priest, James \(NIH/NIEHS\) [C]
This is a GREAT tool! Everyone I've shown this too was really impressed! FYI - I did a quick tutorial on running it with Ant (which I need to add to the StatSVN wiki!) http://www.thecrumb.com/2007/02/26/automated-subversion-reports-wstatsvn -and-ant/ I'm still learning Ant so if there are any mi

RE: Redirecting output to a file

2007-02-23 Thread Priest, James (NIH/NIEHS) [C]
Sweet that worked!!! In hindsight I should have looked up the exec task on the Ant site :\ output Name of a file to which to write the output. If the error stream is not also redirected to a file or property, it will appear in this output. Thanks much!! Jim > -Original M

Redirecting output to a file

2007-02-23 Thread Priest, James (NIH/NIEHS) [C]
I'm trying to get Ant to build a SVN log file: svn log -v --xml > logfile.log The ">" seems to be causing problems - so I dug around and found this: http://ant.apache.org/faq.html#shell-redirect-1 But despite various trys using > and various combos of single and double quotes I can't make it wo

RE: Help with running different target based on user input?

2007-02-23 Thread Priest, James (NIH/NIEHS) [C]
Actually playing around with using depend - I think I can just eliminate the user input entirely... :) Now that I look at it - it seems redundant when you can just determine what gets run by picking the appropriate target... Thanks again! Jim > -Original Message- > From: RADEMAKERS Tangu

RE: Help with running different target based on user input?

2007-02-23 Thread Priest, James (NIH/NIEHS) [C]
with ant's flow on this one, or > you *will* run into problems one day down the road... and > i'll feel terrible for having pointed you down the path to > wrack and ruin ;) > > That's it, mother mode off! > > /t > > >-Original Message- > &

RE: Help with running different target based on user input?

2007-02-23 Thread Priest, James (NIH/NIEHS) [C]
Okay - gotcha. For what I need now it's OK but I see where you are going... I'll copy my current code and rework it using 'depend' and see if I can make it work... I can see how that would be very flexible! Thanks! Jim > -Original Message- > From: RADEMAKERS Tanguy [mailto:[EMAIL PRO

RE: Help with running different target based on user input?

2007-02-23 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] > Ant is not a scripting language... assuming that "run script > four" is a target in your build file, you could call it from > within another target using the task. You should > also look into the AntContrib thi

RE: Help with running different target based on user input?

2007-02-23 Thread Priest, James (NIH/NIEHS) [C]
One last question :) Is there a way to chain the dependencies together? So I'll run Script 1 and 2... Then prompt for them to run Script 3... If they run Script 3 they should be prompted if they want to run script 4 - otherwise the build should just stop. Thanks, Jim -

RE: Help with running different target based on user input?

2007-02-23 Thread Priest, James \(NIH/NIEHS\) [C]
Glad you revised your entry - I was going to email you back that it didn't work :) Your second version was the ticket!! I had something similar at one point but I had my depends and if logic a bit mixed up... This works great! I need to go back and read the conditions docs again now that I have

Help with running different target based on user input?

2007-02-23 Thread Priest, James \(NIH/NIEHS\) [C]
I'm just getting started using Ant (from within Eclipse) to help deploy my ColdFusion projects and Oracle sql scripts. I've had great success so far but I have finally ran into a problem I can't figure out. I'm trying to run some Oracle scripts - but would like to prompt the user while running th