RE: NO class files build\classes

2006-03-28 Thread Stephen McConnell
> -Original Message- > From: Manas_Das [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 29 March 2006 6:18 PM > To: Ant Users List > Subject: NO class files build\classes > > > Dear all, > I tried to use the ant but I am facing some probs. The > problem is that I am not getting the class

NO class files build\classes

2006-03-28 Thread Manas_Das
Dear all, I tried to use the ant but I am facing some probs. The problem is that I am not getting the class file in my build\classes dir . Any pointer would be highly appreciated. Thanks and regards Manas Ranjan Das Satyam Computer Service Limited Chennai Satyam Center, Chennai. Phone : (044) 32

RE: Urgent : Send me some Initial Docs

2006-03-28 Thread Manas_Das
Dear all, I tried to use the ant but I am facing some probs. The problem is that I am not getting the class file in my build\classes dir . Any pointer would be highly appreciated. Thanks and regards Manas Ranjan Das Satyam Computer Service Limited Chennai Satyam Center, Chennai. Phone : (044) 329

AW: Urgent : Send me some Initial Docs

2006-03-28 Thread Jan.Materne
http://ant.apache.org/manual/ http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html Jan >-Ursprüngliche Nachricht- >Von: Vipin Batra [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 28. März 2006 23:15 >An: Ant Users List >Betreff: Urgent : Send me some Initial Docs > >Hello all !

Urgent : Send me some Initial Docs

2006-03-28 Thread Vipin Batra
Hello all ! I am a new user to the group. I wanna use ANT for automated testing (In Webservices). Please send me the Initial docs on ANT covering all the basics and Examples. I need to understand the use of ANT with examples so that I am able to bridge my project. Thanks in advance, Vipin Batra.

AW: Get the modification time of a file into a property.

2006-03-28 Thread Jan.Materne
>> 1. If lastrun.txt exists, get the modification time into a property. >> 2. Extract the documents based on the property if it exists. >If property >> does not exist, just get everything. >> 3. Touch the file lastrun.txt >> >> I don't know how to accomplish step 1. I could write a >wrapper scrip

How to use stdin/stdout with exec

2006-03-28 Thread gboysko
I am using Ant to automate the creation of some Java classes and compile them. I also want to be able to execute one of these generated Java classes (which has a builtin command processor). The commands are entered by the user (interactively) and the output is sent back to the console (via System.

Classpath Question

2006-03-28 Thread Adam Stroud
I am kind of new to ant and I was wondering I was doing something wrong in my build.xml file. Basically I am trying to build code in two parallel packages heirarchies and use the classpath to select the correct .class file to be used in further compilation. To make a long story short, I am se

Re: Ant task to replace special characters

2006-03-28 Thread Ivan \"Rambius\" Ivanov
Hello, There is task in ant-contrib that takes a "string" (or a value of a property) as input and (re)set a property with the new value. I personally do not use it. Instead, I use the following trick (the reg exp in it is untested): ${foo.bar} Regards Ivan --- Thod Nguyen <[EMAIL PRO

Re: Ant task to replace special characters

2006-03-28 Thread Jeffrey E Care
I can't speak to , but I know that does not require a token file; try reading the docs again. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lea

Re: Ant task to replace special characters

2006-03-28 Thread Thod Nguyen
Thanks Ivan. it seems that both or requires a file as an input. In my case, i just want to format the string with some replaceable token(s). --- "Ivan \"Rambius\" Ivanov" <[EMAIL PROTECTED]> wrote: > Hello, > > Perhaps you need or tasks. > > Regards > Ivan > > --- Thod Nguyen <[EMAI

Re: Ant task to replace special characters

2006-03-28 Thread Ivan \"Rambius\" Ivanov
Hello, Perhaps you need or tasks. Regards Ivan --- Thod Nguyen <[EMAIL PROTECTED]> wrote: > is there a simple way in build.xml to replace for > instance, a filename foo.bar(1).memory with > foo.bar_1.memory using one of the existing Ant task > ? > > Thanks > T.N. > > ___

Ant task to replace special characters

2006-03-28 Thread Thod Nguyen
is there a simple way in build.xml to replace for instance, a filename foo.bar(1).memory with foo.bar_1.memory using one of the existing Ant task ? Thanks T.N. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http:/

Re: Get the modification time of a file into a property.

2006-03-28 Thread Dale Anson
If you're not opposed to more custom tasks, there is a FileUtil task in Antelope (antelope.tigris.org) that will get the last modified time. Dale On Thu, 23 Mar 2006, Anderson, Rob (Global Trade) wrote: I have a custom Ant task that I am using to extract documents from a document management

AW: Absolute path properties...

2006-03-28 Thread Jan.Materne
>I am working on a project that consists of multiple modules. >Each module has an identical folder structure within it. >Initially I started by having multiple build scripts (one for >each module) but this was a little problematic because there >are some dependancies between the modules. It see

Re: Absolute path properties...

2006-03-28 Thread Wesley Hall
On 3/28/06, Matt Benson <[EMAIL PROTECTED]> wrote: > > --- Wesley Hall <[EMAIL PROTECTED]> wrote: > > > Hello all, > > > > I am in a situation where it makes sense for my ant > > script to compile two > > path properties into one but because ant resolves > > all location properties to > > absolute

inconsistent behavior when running from Command line console VS using code

2006-03-28 Thread asaf.lahav
Hi,   I'm having a problem of inconsistent behavior when I'm using ANT for a build process. When I'm running a certain build process from a command line console the build process succeeds. But when I'm running the same build process from code (using the code snippet below) the same proce

RE: Removing only the Children of a folder

2006-03-28 Thread Fletcher, Michael \(Calgary\)
I posted the email and it never appeared on the MARC website. I assumed it was because I was not a member of the list so I signed up and posted it again. Sorry for the trouble. I forgot one important detail in the email. I do not have permission to create the folder so I couldn't just run .

Re: Absolute path properties...

2006-03-28 Thread Matt Benson
--- Wesley Hall <[EMAIL PROTECTED]> wrote: > Hello all, > > I am in a situation where it makes sense for my ant > script to compile two > path properties into one but because ant resolves > all location properties to > absolute paths this is problematic. Let's say I > have... > > > > > then >

Absolute path properties...

2006-03-28 Thread Wesley Hall
Hello all, I am in a situation where it makes sense for my ant script to compile two path properties into one but because ant resolves all location properties to absolute paths this is problematic. Let's say I have... then ${parent.dir}/${child.dir} will resolve to two absolute paths seperat

AW: Removing only the Children of a folder

2006-03-28 Thread Jan.Materne
>Just a helpful tip: the gurus on this list who hang out to help the newbs usually >find it really annoying when people post the same question twice in one day. >Please allow at least 48 hours before posting your question again. Thanks Coffee? ;-) Jan -

Re: Removing only the Children of a folder

2006-03-28 Thread Jeffrey E Care
Just a helpful tip: the gurus on this list who hang out to help the newbs usually find it really annoying when people post the same question twice in one day. Please allow at least 48 hours before posting your question again. _

AW: how to return a String object in custom Ant

2006-03-28 Thread Jan.Materne
See also the tutorial http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html#propertyaccess http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html#returning-list Jan >-Ursprüngliche Nachricht- >Von: Thod Nguyen [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 2