RE: Developing in Java with ANT

2009-03-16 Thread Martin Gainty
ant runs in the Java VM so ANT is task of the JVM you can run 'ant' in a shell via Runtime.getRuntime.exec("ant.bat target"); but in that case a JVM would be executing another JVM process I would suggest thinking about incorporating the necessary ANT taskdef classes into an included jar so your

Re: Developing in Java with ANT

2009-03-16 Thread David Nemer
Hello David and Martin, Thank you for your answers. But, I was just wondering how can I do this, run ant, coding in JAVA. As I studied the Ant manual from Apache before, I could figure out how to run it in the command line, but I don't seem to be able to run ANT in Java coding. So, is there a way

Re: Developing in Java with ANT

2009-03-16 Thread David Weintraub
On most systems, there is a shell script that launches Ant for you, so you can launch it from the command line: $ ant You can also specify a target: $ ant jar And, if run this: $ ant -projecthelp it may even print out all the targets your build.xml file contains. You need to install Ant, and

Developing in Java with ANT

2009-03-16 Thread David Nemer
Hello Everyone, I'm really new to Ant, and I need some help, my task is to code in JAVA a program to checkout a version of a open source project, compile it and run the test script which is in ANT. I'm working on the Ant-Doxygen Project (but it could be any project). http://sourceforge.net/projec

RE: ANT redirector question

2009-03-16 Thread Eric Wood
Matt: My outlook account trashed your response, but I looked at your response in the mail archives and thanks for the information. I did what you suggested and it works great. thanks, Eric Matt said: I don't know if that's possible as it stands. :( Could you just redirect the error output

Re: ANT redirector question

2009-03-16 Thread Matt Benson
--- On Mon, 3/16/09, Eric Wood wrote: > From: Eric Wood > Subject: ANT redirector question > To: "Ant Users List" > Date: Monday, March 16, 2009, 2:10 PM > I'm running a command that I want to > suppress standard out, but not > standard error.  I use the following code: > >   description="U

ANT redirector question

2009-03-16 Thread Eric Wood
I'm running a command that I want to suppress standard out, but not standard error. I use the following code: But it seems to redirector standard error to standard out. If I add the parameter: What I want is to have standard error be lef

Ivy RoundUp status report

2009-03-16 Thread Archie Cobbs
Hi all, I thought folks the list would like to hear a status report on Ivy RoundUp . For those unfamiliar, Ivy RoundUp is a public Ivy repository utilizing the new packager resolver added in Ivy 2.0. The project has the stated goals of being comprehensive, up-to

Re: Maintaining a shared repository

2009-03-16 Thread Daniel Dekany
Monday, March 16, 2009, 3:58:07 PM, Jens Borrmann wrote: > Hello, > > does anybody have an idea how to handle the following maintenace use case > - or am I trying to do something terribly stupid... > > Replace version for a module with a artifact having a different name > Our (file system based) re

Re: Tony Mao is out of the office.

2009-03-16 Thread Garrett Smith
On Mon, Mar 16, 2009 at 1:07 AM, wrote: > > I will be out of the office starting  03/16/2009 and will not return until > 03/17/2009. > Tony Mao, It is a bit of an annoyance and would be best if you could remove yourself from the list. You may have contributed something useful, but I have not se

Maintaining a shared repository

2009-03-16 Thread Jens Borrmann
Hello, does anybody have an idea how to handle the following maintenace use case - or am I trying to do something terribly stupid... Replace version for a module with a artifact having a different name Our (file system based) repository contains a module orgName.moduleName with version 1.0.0. I

Re: Sending mails from ant script

2009-03-16 Thread David Weintraub
I got a similar error, and yet the mail was still sent. My experience with the mail.jar is that it is buggy and works spottily. I am sure this is not what you wanted to hear, but at least you know that other people have had similar issues. You might be better off using a script to fire off your m

Tony Mao is out of the office.

2009-03-16 Thread tmao
I will be out of the office starting 03/16/2009 and will not return until 03/17/2009. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: AW: Sending mails from ant script

2009-03-16 Thread NR031
Yes, it contains the MessagingException class -- Jan.Materne wrote: > > Does your ant_home/lib/mail.jar contain the class > javax.mail.MessagingException? > > Jan > >> -Ursprüngliche Nachric

AW: Sending mails from ant script

2009-03-16 Thread Jan.Materne
Does your ant_home/lib/mail.jar contain the class javax.mail.MessagingException? Jan > -Ursprüngliche Nachricht- > Von: NR031 [mailto:nataraja...@cognizant.com] > Gesendet: Montag, 16. März 2009 08:04 > An: user@ant.apache.org > Betreff: Sending mails from ant script > > > Hi, > >

Sending mails from ant script

2009-03-16 Thread NR031
Hi, I am getting NoClassDeffound exception when I tried to send mails. This is my code : and this is what I am getting: email: Sending email: null java.lang.NoClassDefFoundError: javax/mail/MessagingException at org.apache.tools.ant.taskdefs.email.MimeMailer.send(Mime