RE: Substring

2005-11-02 Thread Rebhan, Gilbert
Hi, Dale, in your example below = Property Prop2 is already set, so if you're able to write = does it mean, that the StringUtil task has a builtin propertycopy feature, as properties are immutable normally ? Regards, Gilbert -Original Message- From: Dale Anson [mailto:[EMAIL PROT

Re: help to convert makefile to build.xml

2005-11-02 Thread Sethu Prasad G
Jeff, I feel sorry for my mistake, --- the things at my end are like what is the equivlent of make's strip function in Ant and the like --- working on an urgent release --- which makes me to write to this list. Any information on a manual with combined stuff on make and ant will be more help

AW: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-02 Thread Jan.Materne
At JGuru was a thread on the same topic - "Sample multi-project build files utilising Ant 1.6 features?" [1]. And I posted a link [2] to the user list, where are links and a description of the Jakarta Commons. Jan [1] http://www.jguru.com/forums/view.jsp?EID=1269943 [2] http://marc.theaimsgroup

Re: help to convert makefile to build.xml

2005-11-02 Thread Jeffrey E Care
You might want to give this a read: http://www.catb.org/~esr/faqs/smart-questions.html On the Ant mailing lists it's generally considered bad form to reply directly; please confine your responses to the list. In any case I have no such examples, and even if I did I could not provide them, as t

CC -- Microsoft -- outtype -- multithreaded

2005-11-02 Thread Marc H. Graham
I'm compiling with outtype=executable and multithreaded=true. It's generating the compiler argument /MD, which is for dll's, not .exe's. Is this a bug? Or is there someway to get it to do the right thing? For completeness, here's the xml: And he

RE: ssh issue with ant

2005-11-02 Thread Marcus Zafarano
Well, I found the problem. -Original Message- From: Marcus Zafarano Sent: Wednesday, November 02, 2005 7:14 AM To: user@ant.apache.org Subject: ssh issue with ant Hi, I am trying to ssh to another system as one user say scm and run as another user dssjava on another and I get t

RE: Substring

2005-11-02 Thread Remo Liechti
Thanks to all answers! It works fine now ;) Remo > -Original Message- > From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 2. November 2005 14:39 > To: Ant Users List > Subject: RE: Substring > > > Hi, > > ok i played a bit with PropertyRegex and it's much easie

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-02 Thread Lawrie Gallardo
Hi Jan, The project structure you describe sounds very similar to what I have been thinking of. My problem is finding an open source project with this structure and which has Ant 1.6 build files (or a kindly sole who has done something similar on a commercial project and is willing to share th

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-02 Thread Lawrie Gallardo
Hi Ron, I have searched through the Apache projects, but none of them seem to do anything like I am trying to do with Ant (i.e. project containing multiple WAR and JAR modules awith common build file which the individual module's build files import and override, plus a master build file that r

Re: Substring

2005-11-02 Thread Dale Anson
You can also use the StringUtil task from Antelope. Then you could do something like: ${Prop1}${Prop2} will print out /my/folder/my other folder/ Or ${Prop3} will print out the same. See http://antelope.tigris.org. Dale Rebhan, Gilbert wrote: Hi, the only alte

Re: style task howto supply XML Schema URLS

2005-11-02 Thread Douglas Hubler
I'll assume it can't be done. for those interested in a hack workaround, I use ant's replace string to remove the xmlns links before XSLT and add them back after XSLT. Douglas Hubler wrote: Anyone know how to specify local schema files in style tasks? style task lets you use xmlcatalog to

ssh issue with ant

2005-11-02 Thread Marcus Zafarano
Hi, I am trying to ssh to another system as one user say scm and run as another user dssjava on another and I get this error (Linux). I do source the .bashrc when I ssh over but I still get this problem. I have checked all it suggests, but still no go. I do it manually ssh [EMAIL P

RE: Substring

2005-11-02 Thread Rebhan, Gilbert
Hi, ok i played a bit with PropertyRegex and it's much easier as i thought, no writing of a new file required as with filterchains and no complex regular expression needed. So, if you still need it = $${bla} is ${bla} Gilbert -Original Message- From: Remo

AW: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-02 Thread Jan.Materne
Hi Lawrie, having the Jakarta Commons in mind I would think about - one project (svn+Ant) per jar/war build.xml: import common/common.xml - one project per ear build.xml: import common/common.xml svn:external-->jar/war - one project for common files I´m not the svn-guru, so I stress to "thi

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-02 Thread Ron Wheeler
Did you look at the Apache projects? Many of them are using Maven which may be closer to what you want. What about Ant itself? Ron Lawrie Gallardo wrote: Hi, I need to put together Ant 1.6 build files for a project which will have an EAR module and several WAR and JAR modules. I ideally want

Re: Ant fails to delete jars under "lib"

2005-11-02 Thread Peter Reilly
That bug (28046) was for the current working directory. So to see it you would have to launch ant from that directory. Are you sure that you are not using the contents of lib as a classpath for something? I think that ant keeps the classpaths in a cache, and if this is the case, the jar files will

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-02 Thread Yves Martin
"Lawrie Gallardo" <[EMAIL PROTECTED]> writes: > Hi, > > I need to put together Ant 1.6 build files for a project which will have an > EAR > module and several WAR and JAR modules. I ideally want to make good use of Ant > 1.6 features such as import, macrodef and subant tasks to produce a common >

AW: Substring

2005-11-02 Thread Jan.Materne
Hi Remo, * first I would think about if it´s really needs modification. Do the build work? That´s the main point here. * second I would think if you _really_ need the slashes in the property. You could also write a ${prop1}/${prop2} somewhere else. * then you could define a 3rd property using

RE: Substring

2005-11-02 Thread Rebhan, Gilbert
Hi, the only alternative i know of would be using the PropertyRegex task from antcontrib. My suggestion is the most easiest. Would be nice if you could just write it like = in core ant, but the property task doesn't support the nested filte

Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-02 Thread Lawrie Gallardo
Hi, I need to put together Ant 1.6 build files for a project which will have an EAR module and several WAR and JAR modules. I ideally want to make good use of Ant 1.6 features such as import, macrodef and subant tasks to produce a common build file (which each individual module's build file ca

Re: Substring

2005-11-02 Thread Nicolas Vervelle
You can try (or something like that). I think it's part of ant-contrib. Remo Liechti wrote: Hi Gil Is there no easy way to do it? :/ It's a bit overhead to write files for this, isn't it ;) If there is no other possibility I'll do it this way... Thanks anyway, Remo -Original Mess

RE: Substring

2005-11-02 Thread Remo Liechti
Hi Roland Thanks for this. I need to remove this slash cause my boss told me so. Because it looks ugly... The pathconvert works fine, thank you! Remo > -Original Message- > From: Roland Asmann [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 2. November 2005 09:47 > To: user@ant.apache.org

RE: Substring

2005-11-02 Thread Roland Asmann
Hi Remo, Why do you want to remove the slash anyway? Any doesn't mind, and your paths will be reachable anyway... Sure, it doesn't look nice in the putput, but it works And, if it is a path, maybe you could try using 'pathconvert'. And then you can use the property 'combinedPath

RE: Substring

2005-11-02 Thread Remo Liechti
Hi Gil Is there no easy way to do it? :/ It's a bit overhead to write files for this, isn't it ;) If there is no other possibility I'll do it this way... Thanks anyway, Remo > -Original Message- > From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 2. November 2005 09:31

RE: Substring

2005-11-02 Thread Rebhan, Gilbert
Hi, echo ${Prop1}${Prop2} to yourfile.txt then use a filterchain when loading the contents of that file in a new property = ${bla} gives you >>> /my/folder/my other folder/ Gilbert -Original Message- From: Remo Liechti [mailto: