RE: ant UI

2004-12-22 Thread Radha Sangal
Can anthill provide a facility to report differences with history between 2 tags in cvs? If so , u saved my day. -Original Message- From: Charles Hudak [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 22, 2004 1:47 PM To: Ant Users List Subject: RE: ant UI We have over a dozen proj

RE: ant UI

2004-12-22 Thread Charles Hudak
We have over a dozen projects with interproject dependancies. Anthill is able to deal with interproject dependancies as well as build multiple branches of the projects at the same time reliably, hour after hour every day without human intervention. Our builds also rebuild our database during

Replacing text in a binary file?

2004-12-22 Thread Matt Harp
I have some CVS ,v archive files that I want to make some changes to and have been trying to do it with an Ant script. The problem I'm having is when the ,v archive file is a binary file like an image. The ,v file has version info and the file deltas in it. When I use ReplaceRegExp to replace a s

RE: ant UI

2004-12-22 Thread Radha Sangal
Process is explored around that area too. But our Build files are too complex to be called by just one build.xml ;-) There are dozen of ant scripts, interdependent and there is a heavy link to log data in blobs. Now that certainly would need time to configure any tool. -Original Message- F

RE: ant UI

2004-12-22 Thread Charles Hudak
Sounds like you guys are reinventing the wheel. Why not just use a continous integration tool like Anthill or CruiseControl that has a web interface for configuring and launching builds or building automatically based on a schedule? they doall of the CVS work including checkout and tagging and

Re: ant UI

2004-12-22 Thread Douglas Lochart
I have not implemented on the web yet but that is the next on the agenda. Having a web interface 'begs' for the interaction with ant to be done through Java classes and not batch scripts. This was also a factor in my decision to implement the ant runner class. good luck! Doug Radha Sangal w

RE: ant UI

2004-12-22 Thread Radha Sangal
Thanks Douglas, That was quite some help. Deciding on the technology takes half of the time than to bring it to results. And every solution just gets stuck somewhere without giving the error message :). I changed the "cmd" to "call ant. bat ." and it works fine. Also I am using a Jsp on my t

Re: ant UI

2004-12-22 Thread Douglas Lochart
Radha, If the previous solution does not work for you then I believe its the fact that you are calling ant using "cmd /c" semantics, and most likely from a task scheduler of some sorts. I had many issues using .cmd files with Windows Task scheduler and decided to go in a different direction.

Classpath Issue

2004-12-22 Thread Shane Furlong
All, I recognize that this may be an elementary question but I'm stuck with what I know is a Classpath problem and I can't figure out how to fix it. I'm trying to learn ant and I have some tutorials but they won't build. The error says: BUILD FAILED java.lang.NoClassDefFoundError:

applet not loaded in the ear file made by ant

2004-12-22 Thread Mack Tooteh
Hello Everyone: I am creating an ear file containing some applets using ant. However, when I deploy the ear file, the applets fail to load the class. Basically the browser says can not find the applet class. when I check all the classes are there. I have even used IBM Wephere Studio Application

applet not loaded in the ear file made by ant

2004-12-22 Thread Mack Tooteh
Hello Everyone: I am creating an ear file containing some applets using ant. However, when I deploy the ear file, the applets fail to load the class. Basically the browser says can not find the applet class. when I check all the classes are there. I have even used IBM Wephere Studio Application

RE: ant UI

2004-12-22 Thread James Abley
ant -DDevBuild1=firstOverride -DDevBuild2=secondOverride On Wed, 2004-12-22 at 15:22, Radha Sangal wrote: > Do u know how to pass multiple properties ? like dev.build2 ... space > /comma does not work > > -Original Message- > From: Jacob, Anil - MWT [mailt

RE: ant UI

2004-12-22 Thread Radha Sangal
I donno what is going wrong here: Bat file is : cmd /c ant -f automated_CvsTagDiff.xml -Ddev.build1=Build_0402_0012 CVSDiffReport > C:\Tomcat_2\webapps\ROOT\test_log.txt Ant file is : -Original Message- From: Jacob, Anil - MWT [mailto:[EMAIL PROTECTED] Sent: Tue

RE: ant UI

2004-12-22 Thread Radha Sangal
Do u know how to pass multiple properties ? like dev.build2 ... space /comma does not work -Original Message- From: Jacob, Anil - MWT [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 8:49 PM To: Ant Users List Subject: RE: ant UI --- --- ant -f test.xml -

Re: XML to Java

2004-12-22 Thread Erik Hatcher
On Dec 22, 2004, at 4:04 AM, Robert Soesemann wrote: On requirement is to write as few code as possible. Therefore I am looking for an existing way to: 1 iterate over XML files 2 identify node 3 identify their @type attribute 4 pass the text value of each child node to its appropriate Java Functi

recursion in xmltask

2004-12-22 Thread Robert Soesemann
What am I doing wrong here? I want to iterate over the structure of an input xml and for a POC just ouput its structure with xmltask. This might look complicated but I need to do it inside Ant. The main target calls for each top-level ...

Re: Using ReplaceRegExp

2004-12-22 Thread Peter Reilly
Antoine Levy-Lambert wrote: What I wonder is whether you can even define a custom filter reader on the fly in a build file using JavaScript (not sure, might be possible only for tasks ???). One can apply an in-line filter reader by using a scriptfilter. http://ant.apache.org/manual/CoreTypes/filt

AW: Conditional flow on error

2004-12-22 Thread Jan . Materne
the warn messages in a file, and use with a to set a property if there is a warn message. (So the prop isnt set if all is ok). Then use the unless-attribute of the target. Jan > -Ursprüngliche Nachricht- > Von: Robert Soesemann [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 22. Dez

AW: XML to Java

2004-12-22 Thread Jan . Materne
There is a possibility to iterate over a DOM using XPath. But only as proposal. And it´s old - so you have to investigate a little bit work there :) http://cvs.apache.org/viewcvs.cgi/ant/proposal/embed/ Or transform the xml to a properties file and use Ant-Contrib for iterating. Jan > -Ur

Conditional flow on error

2004-12-22 Thread Robert Soesemann
In my Ant pipeline I do XSD validation of XML document. When a document is not valid a log of type WARN is written. Is there an easy way to count log messages and call tasks depending if there was any error. What I want is to only call somne targets when there was NO validation error. Can you hel

XML to Java

2004-12-22 Thread Robert Soesemann
Hallo, In my CMS migration project I have a Ant pipeline which gets HTML files as input and perform mainly XSL preprocessing and validation on them. The last step of the pipeline is responsible for bringing the values of the XML structure into a CMS via a Java API. On requirement is to write as f

AW: Ant Image Task Questions

2004-12-22 Thread Jan . Materne
> I just started using Ant 1.6.2 due to its Image task, which > suits my needs > perfectly. Unfortunately, I'm having some troubles. I'm > hoping other more > experienced Ant users/developers might have some insights to > offer me. I'm > willing to contribute to the Ant code myself, if that's th