AW: calling maven2 files from ant

2006-06-05 Thread Jan.Materne
/ ? Jan >-Ursprüngliche Nachricht- >Von: EJ Ciramella [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 5. Juni 2006 23:39 >An: Ant Users List >Betreff: calling maven2 files from ant > >Without some really hacky scripty goodness, is there a clever >way to call maven2 with an ant script? >

calling maven2 files from ant

2006-06-05 Thread EJ Ciramella
Without some really hacky scripty goodness, is there a clever way to call maven2 with an ant script? I'm working on getting a maven 2 based project up and running under cruisecontrol and I've taken advantage of lots of little ant benefits. Some things simply don't work using maven 2 directly, but

RE: maillogger properties?

2006-06-05 Thread Jeff A. Drost
Yes. Continue to use maillogger if the build fails to send the entire log, i.e. MailLogger.failure.notify=true, MailLogger.success.notify=false At the end of your target, use the task. That way the task will never excute if your build fails, as the build would never get to it. -Original M

RE: maillogger properties?

2006-06-05 Thread Anderson, Rob (Global Trade)
I don't think you can accomplish this with just the MailLogger. You could probably setup the MailLogger to send email only if the build fails, and then use the mail task to send an email as the last thing to do in the build. Your assumption would be that if the build gets as far as the mail task (a

Re: "dest" attribute of apply task is not working as expected?

2006-06-05 Thread Matt Benson
--- "Guttula, Mohan" <[EMAIL PROTECTED]> wrote: > Hello All, > > I'm using "apply" task to compile my actuate reports > using the following > target: > - > > >value="C:\Program > Files\Actuate8\eRDPro\bin" > > > >dest="c:\temp\destination

Re: subant and memory problems

2006-06-05 Thread Antoine Reilles
On Mon, Jun 05, 2006 at 10:44:27AM -0500, Dominique Devienne wrote: > >Ok, great ! I just saw the code to the jaxb task. Indeed, it looks quite > >easy to use the Java task for that. Thanks a lot for the pointer ! > > Always glad to help ;-) Wow, i tried using Java in the tom task to run the compi

"dest" attribute of apply task is not working as expected?

2006-06-05 Thread Guttula, Mohan
Hello All, I'm using "apply" task to compile my actuate reports using the following target: -

maillogger properties?

2006-06-05 Thread suki
Hello all, Bear with me -- I'm relatively new at Ant: We currently use the maillogger to send success/failure notifications to the dev team. Included in the notification is the build log. In our case, it would be better to send the log only for failed builds. Is it possible to determine what g

Re: catalina-ant and tomcat manager page

2006-06-05 Thread Alex Hepp
My search was successful... for all who are interested: http://mail-archives.apache.org/mod_mbox/ant-user/200509.mbox/[EMAIL PROTECTED] really seems to be the wrong url with html. will check that, when i am back at work tomorrow! regards. alex

Re: catalina-ant and tomcat manager page

2006-06-05 Thread Alex Hepp
Hi! Dominique Devienne schrieb am 05.06.2006 19:28: >> catalina.home = C:\\Program Files\\Tomcat4\\ > > Prefer forward slash. > I faced some other problems with forward slash on local windows machine, thus used windows slashes... >> catalina.manager.server = localhost >> catalina.manager.url = >>

Re: catalina-ant and tomcat manager page

2006-06-05 Thread Dominique Devienne
catalina.home = C:\\Program Files\\Tomcat4\\ Prefer forward slash. catalina.manager.server = localhost catalina.manager.url = http://${catalina.manager.server}:8080/manager/html/ Maybe it's the html/ at the end of the URL. I recall a similar pb a few months back. --DD --

catalina-ant and tomcat manager page

2006-06-05 Thread Alex Hepp
Dear Mailinglist, does anybody know, whether the catalina-ant task "undeploy" doesn`t work well any more, respectively the tomcat manager? I don't get an error message, but HTML output, which seems to be the manager page my target: Values(build.properties): ##

Re: subant and memory problems

2006-06-05 Thread Dominique Devienne
Ok, great ! I just saw the code to the jaxb task. Indeed, it looks quite easy to use the Java task for that. Thanks a lot for the pointer ! Always glad to help ;-) I did that, running tom compilation from a java app for fifteen files in an infinite loop: it ran for 2 days without showing any m

Re: subant and memory problems

2006-06-05 Thread Antoine Reilles
Hi, On Mon, Jun 05, 2006 at 09:05:03AM -0500, Dominique Devienne wrote: > >I guess the more elegant way would be to add a "fork" attribute to our > >tom task, but i don't know how difficult it would be, as to is simply a > >java application. > > That would be the way to go, indeed. It's rather si

Re: subant and memory problems

2006-06-05 Thread Dominique Devienne
I guess the more elegant way would be to add a "fork" attribute to our tom task, but i don't know how difficult it would be, as to is simply a java application. That would be the way to go, indeed. It's rather simple to compose the Java task in another task. I've used this approach to add "smart

Re: subant and memory problems

2006-06-05 Thread Antoine Reilles
On Sun, Jun 04, 2006 at 09:17:13PM +0100, Steve Loughran wrote: > Antoine Reilles wrote: > >Hi, > > > >For building the examples of the tom project (http://tom.loria.fr), we > >use the subant task, each example containing a build.xml snippet, using > > > > > > > > > > > >Those exa

Re: Curious behavior calling target from script...

2006-06-05 Thread Scot P. Floess
Actually, I find very useful myself... I don't abuse it - but do find I need it once in awhile. For instance, I have some macrodef's where I absolutely need mutability. I can simply define my macrodef and use a known property and vary its contents for each invocation of my macrodef...just l

Re: Curious behavior calling target from script...

2006-06-05 Thread Dominique Devienne
I guess that's why properties are immutable in Ant ;-) I've build a lot of different projects, and I've never ever needed . I really surprised some people find it so useful. It's a loop hole in Ant kept open for BC only. Just forget about ;-) --DD On 6/5/06, Scot P. Floess <[EMAIL PROTECTED]> w

Curious behavior calling target from script...

2006-06-05 Thread Scot P. Floess
Can someone please look at the following and explain the behavior I am seeing?