Ant script with clearcase

2006-04-25 Thread Irfan J Sayed
Hi, We are using clearcase as version control system . I need to write a Ant script to take the updated code from clearcase repository and then start build. Can anybody please tell me how to write a script to achieve the same.? Regards Irfan Sayed

Re: Refid Not Being Recognized

2006-04-25 Thread Dominique Devienne
I have looked around at the ant-contrib documentation, and I'm wondering if this is a problem with Ant itself. I'm trying to use a refid to reference a within my task (shown below). When I run this build, I get the following error: build.xml:13: std.defs doesn't denote a DefineSet This is v

Refid Not Being Recognized

2006-04-25 Thread jason heddings
Hello- I have looked around at the ant-contrib documentation, and I'm wondering if this is a problem with Ant itself. I'm trying to use a refid to reference a within my task (shown below). When I run this build, I get the following error: build.xml:13: std.defs doesn't denote a DefineSet I'v

Re: Building from a list...

2006-04-25 Thread Dominique Devienne
> Sounds too good to be true Steve ;-) Yes and no. [...] There are some posts of the DPML support list [1] related to the native subject which may be relevant (including some demonstrations of how to achieve this). [..] Just initially I would Think that runtime concerns could best be addressed wit

RE: Building from a list...

2006-04-25 Thread Steve
> -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 26 April 2006 4:56 AM > To: Ant Users List > Subject: Re: Building from a list... > > > [...] While Depot is not final, it does provide: > > > > 1. transitive dependency management > > 2. plu

Re: Building from a list...

2006-04-25 Thread Andrew Goodnough
>>> On Tue, Apr 25, 2006 at 12:52 pm, in message <[EMAIL PROTECTED]>, "Andrew Close" <[EMAIL PROTECTED]> wrote: > On 4/25/06, Andrew Goodnough <[EMAIL PROTECTED]> wrote: >> >>> On Tue, Apr 25, 2006 at 11:13 am, in message >> <[EMAIL PROTECTED]>, "Andrew >> Close" >> <[EMAIL PROTECTED]> wrote: >> >

Re: Building from a list...

2006-04-25 Thread Dominique Devienne
[...] While Depot is not final, it does provide: 1. transitive dependency management 2. plugin build system deployment 3. automated path management (build, test and runtime) 4. source normalization 5. automated filtering, compilation, jar production, testing, etc. 6. build automation suppor

RE: Building from a list...

2006-04-25 Thread Steve
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 26 April 2006 1:43 AM > To: user@ant.apache.org > Subject: Building from a list... > > hello, > > i'm having a bit of a brain-fart coming up with a solution to > this situation. we have about 130

update from CVS

2006-04-25 Thread Alan Andrade
Hi I am trying to update the sourcecode from cvs using the ant script before a build Here is my task: It fails saying cvs [update aborted]: cannot find RR/Development/common: No such file or directory But in the same build I could label the files

Re: Building from a list...

2006-04-25 Thread Andrew Close
On 4/25/06, Andrew Goodnough <[EMAIL PROTECTED]> wrote: >>> On Tue, Apr 25, 2006 at 11:13 am, in message <[EMAIL PROTECTED]>, "Andrew Close" <[EMAIL PROTECTED]> wrote: > hello, > > i'm having a bit of a brain- fart coming up with a solution to this > situation. we have about 130 JAR files that w

Re: Exception in Style

2006-04-25 Thread Ron Jeffries
On Tuesday, April 25, 2006, at 11:30:55 AM, bill/wilandra wrote: > Have you looked at the Forrest project to see how they use ant. > http://forrest.apache.org/ > They generate a web site from XML input files and use ant to control the > process. I have not drilled down into their use of ant but it

Re: Building from a list...

2006-04-25 Thread Andrew Goodnough
>>> On Tue, Apr 25, 2006 at 11:13 am, in message <[EMAIL PROTECTED]>, "Andrew Close" <[EMAIL PROTECTED]> wrote: > hello, > > i'm having a bit of a brain- fart coming up with a solution to this > situation. we have about 130 JAR files that we are building for a > particular project. most of thes

Re: Property dereference via id gives odd result

2006-04-25 Thread Steve Loughran
barf barf wrote: I am attempting to make use of the property deferencing trick described in "Java Development with Ant", and am seeing something odd. Here's a short example: pattern="MM/dd/ hh:mm aa" id="ts"/> produces the following output with

RE: Property dereference via id gives odd result

2006-04-25 Thread Anderson, Rob (Global Trade)
Try , since ${ant.project.name} is set to "test". -Rob Anderson > -Original Message- > From: barf barf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 25, 2006 9:01 AM > To: user@ant.apache.org > Subject: Property dereference via id gives odd result > > I am attempting to make use of t

Building from a list...

2006-04-25 Thread Andrew Close
hello, i'm having a bit of a brain-fart coming up with a solution to this situation. we have about 130 JAR files that we are building for a particular project. most of these JARs are dependent on each other so they require a specific build order. i was hoping to create a list of the projects t

Property Task's timestamp

2006-04-25 Thread Vinny
Is there anyway Ant to not put timestamps on the top of a created/modified property file via the Property Task? Thank You -- Ghetto Java: http://www.ghettojava.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Property dereference via id gives odd result

2006-04-25 Thread barf barf
I am attempting to make use of the property deferencing trick described in "Java Development with Ant", and am seeing something odd. Here's a short example: id="ts"/> produces the following output with ant 1.6.5: Buildfile: build.xml [echo] [EM

Re: Replace task value can't take less than sign.

2006-04-25 Thread Jeffrey E Care
You need to use entity escapes for characters that have special meaning in XML (like <, >, ", ', &). Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyx

RE: Replace task value can't take less than sign.

2006-04-25 Thread Roman Gavrilov
>>> How can I escape the "<" sign in my value properly? < Regards, Roman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Replace task value can't take less than sign.

2006-04-25 Thread Keith Hatton
XML escapes are just like HTML. So < = < > = > & = & etc. Keith -Original Message- From: Michael Atlas [mailto:[EMAIL PROTECTED] Sent: 25 April 2006 16:36 To: user@ant.apache.org Subject: Replace task value can't take less than sign. This is the task I am trying to run:

Replace task value can't take less than sign.

2006-04-25 Thread Michael Atlas
This is the task I am trying to run: CONFIDENTIAL

RE: Exception in Style

2006-04-25 Thread bill/wilandra
Ron, Have you looked at the Forrest project to see how they use ant. http://forrest.apache.org/ They generate a web site from XML input files and use ant to control the process. I have not drilled down into their use of ant but it may give you some ideas. Bill -Original Message- From: Ron

Re: Exception in Style

2006-04-25 Thread Ron Jeffries
On Tuesday, April 25, 2006, at 8:00:53 AM, Steve Loughran wrote: >> That would be handy ... in fact it would be handy if Ant just let me >> assert the end state and did the job. ;-> > I dont disagree, since that is effectively what the latest generation of > configuration management tools do. The

Re: Exception in Style

2006-04-25 Thread Steve Loughran
Ron Jeffries wrote: On Tuesday, April 25, 2006, at 5:53:51 AM, Steve Loughran wrote: What's known "out there" about how to test and regression test an Ant script? the purpose of a sequence of tasks is to move a build from one state "clean" to another "ready-to-ship" or "deployed". All you n

Re: Repace String by ignoring the case.

2006-04-25 Thread Jakob Fix
On 4/25/06, Navaneethakrishnan, S <[EMAIL PROTECTED]> wrote: > Is it possible to replace the occurence of a given string in a file with > another string by ignoring the case? > > I tried with tasks, but it does not workout. http://ant.apache.org/manual/OptionalTasks/replaceregexp.html use the fl

Repace String by ignoring the case.

2006-04-25 Thread Navaneethakrishnan, S
Hi All, Is it possible to replace the occurence of a given string in a file with another string by ignoring the case? I tried with tasks, but it does not workout. Anyone have solution for this? Thanks, Best Regards, Navanee.

Re: Exception in Style

2006-04-25 Thread Ron Jeffries
On Tuesday, April 25, 2006, at 5:53:51 AM, Steve Loughran wrote: >> What's known "out there" about how to test and regression test an >> Ant script? > the purpose of a sequence of tasks is to move a build from one state > "clean" to another "ready-to-ship" or "deployed". All you need is > asser

Re: Exception in Style

2006-04-25 Thread Steve Loughran
Ron Jeffries wrote: On Monday, April 24, 2006, at 5:51:54 AM, Steve Loughran wrote: A better man would take the hour or two it would require to do all that. My learning, teaching, and proselytizing go in other directions, and I think that's where my energy needs to be put. Right now, I think I'

any side effects in using fork=true with javac

2006-04-25 Thread Juergen Biebl
Hi all, I have been reading a couple of manuals but couldn't find an answere to the following question: Are there any side effects or any constraints in using fork="true" with the javac target compared to fork="false"? Thanks Juergen