RE: Modify file inside war

2009-03-27 Thread Martin Gainty
Its easier to either a)birth out the jsps,java classes,xml configuration file and fix the error or b)ensure you hire competent developers..(easier said than done) As the design grows in complexity evolving into MVC or J2EE usually the breakdown is Front End: JSP/JavaScript guy/gal MiddleWare:

Re: Developing in Java with ANT

2009-03-27 Thread David Nemer
Hey guys, I got the integration with Ant and Java working fine. I was wondering if Ant has something like getExitCode() that tells you if it was successful in building whatever the build.xml was supposed to, just like in Maven. How would I add it to my code? private static void antCaller(

Re: Retrieve the list of confs

2009-03-27 Thread Garima Bathla
OK , the only way I figured it out was by digging the ivy code - :-) . Since Ivy can be used as standalone tool - having Ivy JavaDoc around will be handy ( just a suggestion). For your pleasure the solution is below: Ivy ivy = Ivy.newInstance(); URL ivySettinsURL = new URL

Re: Retrieve the list of confs

2009-03-27 Thread Maarten Coene
You could take a look at the implementation of the ivy:info ant task, which can retrieve the list of configurations from a module: https://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyInfo.java Maarten - Original Message From: Garima Bathla To: ivy-u..

Re: Delete N directories that match a regexp

2009-03-27 Thread Matt Benson
See http://people.apache.org/~mbenson/sharedfiles/deldirs.xml for a working example. -Matt --- On Fri, 3/27/09, Michael Delaney wrote: > From: Michael Delaney > Subject: Re: Delete N directories that match a regexp > To: "Ant Users List" > Date: Friday, March 27, 2009, 3:25 PM > I tried you

Re: Delete N directories that match a regexp

2009-03-27 Thread Michael Delaney
I tried you're advice below, to the best of my understanding of it and I seem to have taken a step in the wrong direction. Now, nothing happens ... I already have a shell script ready, I'm wondering if that's the way I should go. Matt Benson wrote: Glad to know you're using the resourcecolle

RE: Modify file inside war

2009-03-27 Thread Chun Ji
Well, sometimes it does happen, such as one group is doing the coding on Window platform and the release work has been done on Unix/Linux. There is very difficult to say whose fault it is. -cji -Original Message- From: David Weintraub [mailto:qazw...@gmail.com] Sent: Friday, March 2

Re: Modify file inside war

2009-03-27 Thread David Weintraub
Okay: I have a firm belief in the "Finger o' Blame". The idea in development is to get the "Finger 'o Blame" pointing at someone else. Many times, one group pushes their issues upon another group further down the line. This allows the Finger 'o Blame to fall onto that next group instead of the fir

RE: Modify file inside war

2009-03-27 Thread Rémon van Gijn
How about fixing the generation? Why ever would it matter if there is an extra line in the .mf file? Rémon -Original Message- From: Troy Bull [mailto:troy.b...@gmail.com] Sent: vrijdag 27 maart 2009 15:09 To: user@ant.apache.org Subject: Modify file inside war Greetings, I am in c

Modify file inside war

2009-03-27 Thread Troy Bull
Greetings, I am in charge of deploying applications for my company. I am given war files by developers or cruise control builds. These builds some times have 1 extra line the META-INF/Manifest.mf file. Is there a way with ant I can remove this line from this file? Basically as I see it the wor

RE: exec on devenv.exe does not output anything

2009-03-27 Thread Martin Gainty
Benjamin 2 options 1) Running as an Administrative User If you wish to run as an administrative user, you must make the following changes to the configuration:Create an experimental hive by running the following vsregex command: vsregex getorig 9.0 exp Remove th

exec on devenv.exe does not output anything

2009-03-27 Thread Benjamin Calvot
Hi everyone, I am running an Ant script from Luntbuild in order to build an Visual Studio 8 solution (set of projects). When I run "devenv.exe Complete.sln /build Release" from a command line I get the output of the build in the DOS box, but when I run the same command with an task it does no

RE: echo + embedded newlines

2009-03-27 Thread Felix Dorner
This is why: http://www.w3.org/TR/2004/REC-xml-20040204/#sec-line-ends > > What might be going on here? - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

echo + embedded newlines

2009-03-27 Thread Felix Dorner
Hey, I have the following snippet in my ant file: This is the first line A This is the second line B When I look at the build file, after the A, I see a CR LF. When I look at the file that ant echoed to, I only see a LF. What might be going on here? Felix ---