RE: conditions in antlib?

2010-11-12 Thread Ludwig, Michael
> have you given something like > > > > > > > > a try? What do you get?? I haven't tried that. I have yet to explore . I was thinking of something like this: But I don't know if you can adapt it to your purposes. Michael

RE: Apply argument wrapping with msiexec

2010-11-12 Thread Bailey, Darragh
> > [1] From ProcessImpl.java version 1.32, 06/03/22, > > from my version of JDK 1.6: > > > > StringBuilder cmdbuf = new StringBuilder(80); > > for (int i = 0; i < cmd.length; i++) { > > if (i > 0) { > > cmdbuf.append(' '); > > } > > String s = cmd[i

Re: conditions in antlib?

2010-11-12 Thread Stefan Bodewig
On 2010-11-12, Stefan Bodewig wrote: > On 2010-11-12, wolfgang haefelinger wrote: >> I want to provide a *single antlib* with the following requirements: >> (a) must work with Ant 1.7.x and newer >> (b) uses appearing to be a 1.8.x feature. > I'm sorry but I don't know of any way to do that.

Re: conditions in antlib?

2010-11-12 Thread Stefan Bodewig
On 2010-11-12, wolfgang haefelinger wrote: > I want to provide a *single antlib* with the following requirements: > (a) must work with Ant 1.7.x and newer > (b) uses appearing to be a 1.8.x feature. I'm sorry but I don't know of any way to do that. > In other words, don't we need a conditional

Re: conditions in antlib?

2010-11-12 Thread wolfgang haefelinger
Sorry, for hitting the wrong button! Michael, have you given something like a try? What do you get?? This is what I get: tryme.xml:4: The following error occurred while executing this line: Invalid task in antlib condition class org.apache.tools.ant.TaskAdapter does not extend o

Re: conditions in antlib?

2010-11-12 Thread wolfgang haefelinger
Hello Michael, have you given something like On Fri, Nov 12, 2010 at 2:04 PM, Ludwig, Michael wrote: > Moin Wolfgang, > >> I want to provide a *single antlib* with the following requirements: >> (a) must work with Ant 1.7.x and newer >> (b) uses  appearing to be a 1.8.x feature. > >> do

RE: conditions in antlib?

2010-11-12 Thread Ludwig, Michael
Moin Wolfgang, > I want to provide a *single antlib* with the following requirements: > (a) must work with Ant 1.7.x and newer > (b) uses appearing to be a 1.8.x feature. > don't we need a conditional component-, type-, > macrodef and taskdef definition?? You could parse ${ant.version}. ant.

conditions in antlib?

2010-11-12 Thread wolfgang haefelinger
Hello, I want to provide a *single antlib* with the following requirements: (a) must work with Ant 1.7.x and newer (b) uses appearing to be a 1.8.x feature. How would I do this? In other words, don't we need a conditional component-, type-, macrodef and taskdef definition?? Something like