pick version from xml node and replace to another xml file

2009-07-13 Thread jhoomsharabi
Hi All, does it possible to pick the version from xml node 3.4.02.02 in format such that each digit gets picked up assuming decimal "." as seprator and than write it into different format in another xml file like this: Any idea how I can achive this?

Re: include-require

2009-07-13 Thread Horvath Adam
I want to define properties: Common static properties (xmlproperty is great for this) Dynamic property (property value from timestamp or from other properties) > Do you really want the contents of common.xml copied into a build.xml > file or just be able to call the targets defined in common.xml?

Re: include-require

2009-07-13 Thread Rod Mackenzie
Do you really want the contents of common.xml copied into a build.xml file or just be able to call the targets defined in common.xml? The import task may help, http://ant.apache.org/manual/CoreTasks/import.html Rod - To unsubscri

Re: Cross-compiler cpptasks

2009-07-13 Thread Dominique Devienne
On Mon, Jul 13, 2009 at 10:44 AM, Blank, Roman wrote: > I need to use a compiler that is not supported for the cc task. > > I'm currently using the  task for example and I need to > replace the gcc compiler with another one that is not supported on that list. >  Does anyone know of how I can do

Re: ant under cygwin

2009-07-13 Thread David Weintraub
On Mon, Jul 13, 2009 at 4:09 AM, Lars Schouw wrote: > > Hi, > > I am having some problems with my ant when I compile log4cxx. > Could not launch gcc: java.io.IOException: Cannot run program "gcc" > > Well, is the program "gcc" installed under Cygwin? If so, do you have the searchpath parameter se

Cross-compiler cpptasks

2009-07-13 Thread Blank, Roman
I need to use a compiler that is not supported for the cc task. I'm currently using the task for example and I need to replace the gcc compiler with another one that is not supported on that list. Does anyone know of how I can do that? Roman Blank Software Engineer Lockheed Martin - MS2 199

Re: ant unable to find build.xml in another directory?

2009-07-13 Thread starkc
Stefan Bodewig wrote: > > On 2009-07-10, starkc wrote: > >> Stefan Bodewig wrote: > > Maybe there is an ant.bat somewhere prior to c:\dev-jboss\ant\bin in > your PATH? > > So far I have been unable to locate any other ant.bat in the path that would interfere. The one possible exception i

RE: include-require

2009-07-13 Thread Martin Gainty
you can use XInclude http://www.jeckle.de/freeStuff/xia/index.html Viel Gluck Martin Gainty __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine

include-require

2009-07-13 Thread Horvath Adam
Hi! How can I create build xml from more file? Like 'require' or 'include' in php. E.g. common.xml: And I like to include this in more other build.xml, e.g.: ... The result should be: ... Thanks, Adam - To u

Re: ant unable to find build.xml in another directory?

2009-07-13 Thread Stefan Bodewig
On 2009-07-10, starkc wrote: > Stefan Bodewig wrote: >> On 2009-07-10, starkc wrote: >>> As part of compiling my projects in windows, I am required to execute a >>> second ant task, defined in my build.xml as follows: >>> >>> >>> >>> >>> >> See the "Windows Users" section at the

ant under cygwin

2009-07-13 Thread Lars Schouw
Hi, I am having some problems with my ant when I compile log4cxx. Could not launch gcc: java.io.IOException: Cannot run program "gcc" When I run ant -diagnostics I get this output, is my ant installed correct? --- Ant diagnostics report --- Apache Ant version 1.7.1 compiled on June 27