Re: FilterChains - grep and sed

2002-12-02 Thread Magesh Umasankar
- Original Message - From: "Matt Benson" <[EMAIL PROTECTED]> > Nice thought here--why not adapt the various angles of > Jakarta ORO as FilterReaders? Another class I have > thought of writing for quite some time, but whose > implementation would be quite tricky, is an > InverseFilterRea

Re: FilterChains - grep and sed

2002-12-02 Thread Magesh Umasankar
- Original Message - From: "Scott Stirling" <[EMAIL PROTECTED]> > Seems like sed and grep could be implemented as filterreaders (see > ). The > LineContainsRegExp filterreader is already a solid foundation for grep. A > li

no optional.jar in %ANT_HOME%/lib implies regexp doesn't work

2002-12-02 Thread Øyvind Roth
Goal: - Remove as many jars as possible from the classpath before calling %ANT_HOME%\bin\ant.bat Reasons: 1) The command input line becomes too long (java has a limit of about 2KB). 2) Loosing control over what actual targets through the build process really need. 3) a) Want the batch

RE: Re[4]: Best practice for numerous javac calls?

2002-12-02 Thread Dominique Devienne
Answers below. --DD -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 4:35 PM To: Ant Users List Subject: Re[4]: Best practice for numerous javac calls? Hello Dominique, Thanks, that looks like it will work. Where do I find ? I've heard of

Re[4]: Best practice for numerous javac calls?

2002-12-02 Thread Jacob Kjome
Hello Dominique, Thanks, that looks like it will work. Where do I find ? I've heard of the task. Is that the same or different? BTW, thanks so much for the task you wrote. :-) Very nice. Are you making any updates or anything to it? Just wondering in case JAXB changes and requires the task

RE: Re[2]: Best practice for numerous javac calls?

2002-12-02 Thread Dominique Devienne
Have you tried a recent build from CVS HEAD? Stefan has probably fixed that!?!? As a work around for Ant 1.5.1, I use a property to avoid re-taskdef'ing in the sub-build: --- master.xml --- ... ... --- subbuild.xml --- ... ...

Re[2]: Best practice for numerous javac calls?

2002-12-02 Thread Jacob Kjome
I have this issue when I use a to call another build file. I specify . I don't specify inheritRefs because it defaults to false. Yet, when I define a custom taskdef in the called file, I get a message saying that I am overriding the a previous definition of a taskdef. I had defined it in the c

removed optional.jar from %ANT_HOME%/lib => regexp doesn't work

2002-12-02 Thread Øyvind Roth
Goal: - Remove as many jars as possible from the classpath before calling %ANT_HOME%\bin\ant.bat Reasons: 1) The command input line becomes too long (java has a limit of about 2KB). 2) Loosing control over what actual targets through the build process really need. 3) a) Want the batch

Re: Best practice for numerous javac calls?

2002-12-02 Thread Erik Hatcher
You are welcome, and this is one of the reasons I am releasing this project to the world so that folks can steal little gems like this :) Erik Steve Allan wrote: Ah, this is what I need: Thanks Erik! -- To unsubscribe, e-mail: For additional commands, e-ma

RE: Best practice for numerous javac calls?

2002-12-02 Thread Steve Allan
Ah, this is what I need: Thanks Erik! -- Steve // WRQ has 21 years of experience providing integration software and // services for host-intensive environments. To learn more about our // Reflection and Verastream products, visit http://www.wrq.com/products/ > -Original Message-

Re: Best practice for numerous javac calls?

2002-12-02 Thread Erik Hatcher
I do this very thing in my sample project: http://www.ehatchersolutions.com/downloads/ (get the latest version, whatever that happens to be at the time) Look at my build.xml and how I use . I do not override references, I just create a new reference for that particular call. Erik Steve Al

Re: Ant Perversions [was RE: Properties are causing problem in 1.5]

2002-12-02 Thread Steve Loughran
- Original Message - From: "Scott Stirling" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Sunday, December 01, 2002 15:32 Subject: RE: Ant Perversions [was RE: Properties are causing problem in 1.5] > > The .NET tasks aren't necessarily interactive, or controlling >

RE: Ant Perversions [was RE: Properties are causing problem in 1.5]

2002-12-02 Thread Jim Krygowski
Cruise Control has been improved over the last year or so. Release 2.x is quite good and incorporates xml configuration files and the ability to integrate with your ant build.xml files with little or no modification to those build files necessary. > -Original Message- > From: Steve Loughr

Re: Ant Perversions [was RE: Properties are causing problem in 1.5]

2002-12-02 Thread Steve Loughran
- Original Message - From: "Scott Stirling" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Sunday, December 01, 2002 15:20 Subject: RE: Ant Perversions [was RE: Properties are causing problem in 1.5] > Yeah, but why call them from Ant? It makes more sense to me to c

PropertyFile & Echo tasks help needed

2002-12-02 Thread Yaron Ruckenstein
Hi, I'm trying to use these "exactly what I needed" tasks, and I have some minor problems that I hope someone can help me to solve: 1. Where can I learn about the syntax of the "pattern" in the propertyfile task ? I'm trying the format the date to look like 02DEC2002 2. When I use the e

Best practice for numerous javac calls?

2002-12-02 Thread Steve Allan
Hi, I hava a java project where all the different components are under one source root. To accommodate the developers' request to be able to build certain subsections of the code and their dependencies, there are 10 different compile targets. To avoid duplicating all the calls, I wrote a single

Re: Help!

2002-12-02 Thread Jacob Kjome
Hello Khadeeja, You need to put the servlet.jar in your system classpath or add the following to the build file... Jake Monday, December 02, 2002, 10:12:25 AM, you wrote: KI> I have been following a tutorial to make Apache communicate with Tomcat and KI> got to the point of in

Re: Creating CallTarget in BSH to make a antcall

2002-12-02 Thread Stefan Bodewig
On Mon, 2 Dec 2002, Andersson Jan <[EMAIL PROTECTED]> wrote: > xyz = project.createTask("CallTarget"); > xyz.setTarget("apply.patch_file"); //xyz seems to be null here... Sure it is. createTask takes the name of the task, not the name of the class implementing the task. xyz = project.createTas

Creating CallTarget in BSH to make a antcall

2002-12-02 Thread Jan, Andersson
Hi! I'm trying to do an antcall in BeanShell as an alternative to project.executeTarget("X"). This to be able to pass in parameters. This is the way I tried to do it:

Help!

2002-12-02 Thread Khadeeja Ismael
I have been following a tutorial to make Apache communicate with Tomcat and got to the point of installing Ant and and setting the environment variables. When I type the "%ANT_HOME%"/bin/ant I got the message of buiid failed, with 3 errors saying that the Java Servlet Package and its classes do

Re: Java Development with Ant examples

2002-12-02 Thread Erik Hatcher
Just a quick update... I've posted an 0.2 release. A build issue was reported (see docs/ReleaseNotes.txt for details) and corrected. The new release is available at http://www.ehatchersolutions.com/downloads/ Also, you will need JUnit 3.8(.1) as I take advantage of the new lack of required

Re: FilterChains - grep and sed

2002-12-02 Thread Matt Benson
Nice thought here--why not adapt the various angles of Jakarta ORO as FilterReaders? Another class I have thought of writing for quite some time, but whose implementation would be quite tricky, is an InverseFilterReader which would perform the opposite of a contained FilterReader. I couldn't thin

failureProperty of junit Task Not Working With Ant 1.5

2002-12-02 Thread CORUM, M E [AG/1000]
The failureProperty gets set to "true" even though all the tests in the batchtest pass and the log file shows all tests having the line: build fail At that point, a patch was offered. Has the bug come back? If so, is there a patch? If not, what else besides JUnit failures and errors can caus

Re: Unknown Source in Stack Trace

2002-12-02 Thread Erik Hatcher
Affan Qureshi wrote: The stack trace I get while running on tomcat shows (Unknown Source) in the place where it should show the line no of the file where the error has occured. My javac task simply compiles my source to the WEB-INF/classes dir. Do i need to generate source files om that path to

AW: Unknown Source in Stack Trace

2002-12-02 Thread Ilja Preuss
> The stack trace I get while running on tomcat shows (Unknown > Source) in the > place where it should show the line no of the file where the error has > occured. My javac task simply compiles my source to the > WEB-INF/classes dir. > Do i need to generate source files om that path to get the line

RE: Ant Perversions [was RE: Properties are causing problem in 1.5]

2002-12-02 Thread Jon Skeet
> I've never used VSS, so I'll take your word for it. I hear > it's a crummy > SCM tool. Why do people use it? Believe me, I wonder how the hell > StarTeam, which sucks compared to Perforce or even CVS IMNSHO, got > entrenched at where I work. Happened before my time. That's exactly why peopl