Re: How to create if condition task from maven

2008-10-15 Thread Miroslav Nachev
Actually in my pom file from where the ant script is called the following code is included: ant-contrib ant-contrib 20020829 Miro. Miroslav Nachev wrote: I put this but without success: Miro

Re: How to create if condition task from maven

2008-10-15 Thread Miroslav Nachev
I put this but without success: Miro. Miroslav Nachev wrote: How and where to put this taskdef? Why to use that? Miro. Gilles Scokart wrote: Try to add a taskdef. 2008/10/15 Miroslav Nachev <[EMAIL PROTECTED]>: Hi, I have one ant build file which is called from maven. I

Re: How to create if condition task from maven

2008-10-15 Thread Miroslav Nachev
How and where to put this taskdef? Why to use that? Miro. Gilles Scokart wrote: Try to add a taskdef. 2008/10/15 Miroslav Nachev <[EMAIL PROTECTED]>: Hi, I have one ant build file which is called from maven. In that ant file I would like to do something only if some condition is

How to create if condition task from maven

2008-10-15 Thread Miroslav Nachev
Hi, I have one ant build file which is called from maven. In that ant file I would like to do something only if some condition is false. In my current case the condition is: dest="${ant.base.dir}"/> The problem is whe

How to set Current Working Directory (CWD) from Java application

2008-09-03 Thread Miroslav Nachev
Hi, I need to start ANT from one OSGi Bundle in concurrent mode. The build xml files are passed as parameters to startAnt method of org.apache.tools.ant.Main. The first problem in that approach is that the current working directory (System.getProperty("user.dir")) must be different for each st