Re: Rename directories in Ant

2007-06-15 Thread Gilbert Rebhan
Hi, as there's still no post how to achieve what you need with vanilla ant ... Gilbert Rebhan wrote: Finally will do the job. sorry for now ...

... i wrote a small ruby script for that purpose
might be used for backups too

you need available for 

Re: ANT Build script for J2EE projects(in RAD) with cyclic dependancies! Urgent please help!

Any solution will be specific to the appserver which is hosting the ejb So an example is BEA Weblogic 8.1 (assuming WL_HOME is set to the folder where weblogic is installed) cwd $WL_HOME/samples/server/medrec/build/physicianEar/physSessionEjbs/ejb-jar.xml

RE: ANT Build script for J2EE projects(in RAD) with cyclic dependancies! Urgent please help!

RAD comes with its own set of ant tasks, which should handle most of this for you. buildWorkspace should do it all in one shot, or you can go project by project with projectBuild. http://publib.boulder.ibm.com/infocenter/radhelp/v6r0m1/index.jsp?topic= /com.ibm.etools.j2eeapp.doc/topics/tantwor

Re: ANT Build script for J2EE projects(in RAD) with cyclic dependancies! Urgent please help!

Ideally I would like to have 1 build script and multiple jars for each project. The way I reference the other classes is through the javabuild path. That is I right click on the ejb project in RAD..and go to the Java Build path, where I see the rest of the ejb projects in my RAD workspace,then sel

Re: ANT Build script for J2EE projects(in RAD) with cyclic dependancies! Urgent please help!

So, you want one build script or many? Additionally, how do each project refer to the classes in the other? Do you do something with the source path? How do you want to compile this thing? Different jars...one jar? UCU wrote: Hello all! I have about 8 J2EE/ejb projects in a RAD environmen

Re: in ant-contrib-1.03b.jar

Sorry I mean, its a type-o use [EMAIL PROTECTED] wrote: - Original Message - From: "Dwayne Walker" <[EMAIL PROTECTED]> To: user@ant.apache.org Subject: in ant-contrib-1.03b.jar Date: Fri, 15 Jun 2007 12:21:29 -0500 ok I have just started using ant-contrib. I have got the workin

Re: in ant-contrib-1.03b.jar

Yep - you are right on this :) [EMAIL PROTECTED] wrote: - Original Message - From: "Dwayne Walker" <[EMAIL PROTECTED]> To: user@ant.apache.org Subject: in ant-contrib-1.03b.jar Date: Fri, 15 Jun 2007 12:21:29 -0500 ok I have just started using ant-contrib. I have got the working but

ANT Build script for J2EE projects(in RAD) with cyclic dependancies! Urgent please help!

Hello all! I have about 8 J2EE/ejb projects in a RAD environment for which I am trying to create a build script, and almost all of them are interdependant. For example, a.Project 1 references classes in Project 2,Project 3. Project 8. b.Project 2 references classes from Project 1 and Project Pro

Re: in ant-contrib-1.03b.jar

> - Original Message - > From: "Dwayne Walker" <[EMAIL PROTECTED]> > To: user@ant.apache.org > Subject: in ant-contrib-1.03b.jar > Date: Fri, 15 Jun 2007 12:21:29 -0500 > > > ok I have just started using ant-contrib. I have got the working > but I am now trying to get the working > >

Re: in ant-contrib-1.03b.jar

Does the need to be Dwayne Walker wrote: ok I have just started using ant-contrib. I have got the working but I am now trying to get the working this is the coad in my ant script ${mvregCom

in ant-contrib-1.03b.jar

ok I have just started using ant-contrib. I have got the working but I am now trying to get the working this is the coad in my ant script

Re: replaceregex

You normally need the "s" flag to get the pattern to match "\n": from the manual: """ s : Singleline. Treat the string as a single line of input, using "." to match any character, including a newline, which normally, it would not match. """ Peter On 6/15/07, Erica A Ramsey <[EMAIL PROTECTED]> wr

RE: replaceregex

I think that I see the probem regex is not interpreting newline character properly. I tryied pattern="[\x0a\x0d]+" and it did not find anything. Why will it not find it? -Original Message- From: Erica A Ramsey [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 10:20 PM To: Ant Users L

Re: replaceregex

Try your expression with the "s" flag (you won't need the "\n") --- "Scot P. Floess" <[EMAIL PROTECTED]> wrote: > My apologies. Clearly your email didn't describe > what you did at > all... The way it was worded didn't express that > information. I see > you have posted some information in a

RE: Whats the best syntax to use for a directory copy?

iirc, that would copy the *contents* of ${source} under ${tdestination} try this: /t >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf >Of yitzle >Sent: Friday, June 15, 2007

RE: Getting execution times for each target

Someone recently posted the information below: see = antcontrib 1.0b3 manual / Performance Monitoring and Tasks http://ant-contrib.sourceforge.net/tasks/tasks/performance_monitor.html http://ant-contrib.sourceforge.net/tasks/tasks/stopwatch_task.html there is also a lot of other monitoring st

Re: Whats the best syntax to use for a directory copy?

On 6/14/07, Jim C. <[EMAIL PROTECTED]> wrote: I have directory X and I want to copy it such that the copy becomes a subdirectory of directory Y. What's the easiest way to accomplish this? I suggest:

Re: replaceregex

My apologies. Clearly your email didn't describe what you did at all... The way it was worded didn't express that information. I see you have posted some information in a subsequent email... Erica A Ramsey wrote: Of course I tested it but it is failing. can someone tell me what is wrong? -

Re: Unable to execute a command mysql with a < symbol

I used something like below, This seems to work fine. Thanks, Kannan

Re: Unable to execute a command mysql with a < symbol

Kannan Ekanath wrote: Hi, ANT - 1.6.5 I am trying to execute the following command line from ANT "D:\>mysql -u root -pwelcome --database=warranty < target/create-schema.sql" Basically the create-schema sql file has to be loaded using mysql command. I understand that there is a problem with "

Re: Virtual Ant Beta Released - Mind bending new GUI for Ant !

I forgot to put a short description of Virtual Ant in the last mail. So here it is for people who want to know about it even before browsing to the site - " With Virtual Ant you no longer have to get your hands dirty with XML to create or edit Ant build scripts. Work in a completely virtualized

Virtual Ant Beta Released - Mind bending new GUI for Ant !

Hi, We have just released the beta version of our crazy new GUI for Ant. You can get it at - http://placidsystems.com/virtualant I would recommend watching the short demo video first. Waiting for your comments :) -- Prashant Deva Founder, Placid Systems, www.placidsystems.com

Getting execution times for each target

Hi, I am trying to get execution times (in terms of milliseconds) for each ant target, and report it (for performance reasons). Can someone tell me if there is any way of doing this. I was trying to echo the as milliseconds but calculations seem to be very difficult. Has someone done something s