Re: buildnumber Ant task & automated updates of ivy.xml

2008-11-19 Thread Daniel Becheanu
If you are using cruisecontrol you can use http://cruisecontrol.sourceforge.net/main/configxml.html#antpublisher which is automatically publishing properties described in below link http://cruisecontrol.sourceforge.net/main/configxml.html#buildproperties ( look at label property) Daniel On Wed,

Re: buildnumber Ant task & automated updates of ivy.xml

2008-11-19 Thread Mitch Gitman
Quick replies inline. On Wed, Nov 19, 2008 at 8:30 AM, Shawn Castrianni < [EMAIL PROTECTED]> wrote: > I started off using the buildnumber task to let IVY control the build > number for CI, but then found it difficult to tell the CI tool what the > version number was that IVY selected. Obvioulsy,

Re: buildnumber Ant task & automated updates of ivy.xml

2008-11-19 Thread Mitch Gitman
Thanks, Jonathan. This looks like precisely the simple, obvious approach that I had been overlooking. Anyway, this leads me to my next area where I seem to be missing something obvious. Suppose that *ivy:publish *is normally only invoked during a CI build. Now suppose that you want to be manually

Re: Help with C++ includepaths - Can I use wildcards? make a external repository list?

2008-11-19 Thread ihatethetv
Dominique Devienne-2 wrote: > > Sorry, I assumed you knew about Ant's import. It can only be used at > the top level of a build file. > > CppTasks supports defining named compiler/linker configurations (with > nested includepath and all), which you'd put into a common build file, > that you'd

Re: Help with C++ includepaths - Can I use wildcards? make a external repository list?

2008-11-19 Thread Dominique Devienne
> It seems as though import wont help as I get the following error when trying > to replace all the lines with a file and an statement. > > build.ant:23: cc doesn't support the nested "import" element. Sorry, I assumed you knew about Ant's import. It can only be used at the top level of a build f

Re: Help with C++ includepaths - Can I use wildcards? make a external repository list?

2008-11-19 Thread ihatethetv
Dominique Devienne-2 wrote: > > On Wed, Nov 19, 2008 at 11:01 AM, ihatethetv <[EMAIL PROTECTED]> > wrote: >> In a project I work on, we use ant to build C++. We have about 40 >> different >> "components" which exist in different directories each with it's own ant >> file. All of these compone

Re: AW: How to build an Ant path from a comma-seperated list?

2008-11-19 Thread snoofkin
Thanks for this idea! The problem is that the input list is of unknown size, and I could not find a regexp that will convert all items in this list correctly (I bet this can be done). So I came up with the following solution using , and :

Re: Help with C++ includepaths - Can I use wildcards? make a external repository list?

2008-11-19 Thread Dominique Devienne
On Wed, Nov 19, 2008 at 11:01 AM, ihatethetv <[EMAIL PROTECTED]> wrote: > In a project I work on, we use ant to build C++. We have about 40 different > "components" which exist in different directories each with it's own ant > file. All of these components inherit from a shared class which we use

classpath issues in custom task

2008-11-19 Thread teknokrat
I have a custom ant task with the following cast JavacTask jTask = (JavacTask) task; where task is a CompilationTask generated by JavaCompiler and JavacTask is an instance of com.sun.source.util.JavacTask from tools.jar When I am in eclipse everyhting works properly The following code

Help with C++ includepaths - Can I use wildcards? make a external repository list?

2008-11-19 Thread ihatethetv
In a project I work on, we use ant to build C++. We have about 40 different "components" which exist in different directories each with it's own ant file. All of these components inherit from a shared class which we use to connect them, and so all of them need to include a .h file from that dire

RE: buildnumber Ant task & automated updates of ivy.xml

2008-11-19 Thread Shawn Castrianni
I started off using the buildnumber task to let IVY control the build number for CI, but then found it difficult to tell the CI tool what the version number was that IVY selected. Obvioulsy, it is better if the version number used by CI matches the version used by IVY. Therefore, I switched to

Re: buildnumber Ant task & automated updates of ivy.xml

2008-11-19 Thread Jonathan Oulds
I too have been playing with this. Currently I have an ivy file (see below) that is configured and delivered during the publish task. Her is the publish task that will automatically add the correct build number. ${ivy.organisation} and ${ivy.module} are both s

buildnumber Ant task & automated updates of ivy.xml

2008-11-19 Thread Mitch Gitman
There's one Ivy Ant task that had been flying under my radar, the buildnumber task. It seems to me that the natural use for the *buildnumber *task is during a build invoked by continuous integration. A CI-invoked Ant target would go int

Re: Running a remote process in background

2008-11-19 Thread Susheel Raina
Hi Jurgen, Yes the server is starting and it then it waits there till the server doesnt stop. No other tasks are run till that moment. I have found a workaround for the same, i am using and nesting the sshexec inside it...so it comes out of it after default time which is 3 minutes. Thanks, Sush