You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ej...@upromise.com> on 2008/01/03 14:57:15 UTC
Support of ant 1.6+ conditions
Is there a newer version of the maven-antrun-plugin?
We would like to pass long a true/false property. If I have:
<condition property="is.preview">
<istrue property="preview"/>
</condition>
I get this error:
Class org.apache.tools.ant.taskdefs.condition.IsTrue doesn't support the
"property" attribute
Any suggestions?
RE: Support of ant 1.6+ conditions
Posted by EJ Ciramella <ej...@upromise.com>.
Hmm - ok, nvm - istrue tests "value" not "property"....
Sorry about the noise!
-----Original Message-----
From: EJ Ciramella [mailto:ejciramella@upromise.com]
Sent: Thursday, January 03, 2008 9:27 AM
To: Maven Users List
Subject: RE: Support of ant 1.6+ conditions
I wish it was that easy, I have this in my pom:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
<executions> .....
And still get the message:
Class org.apache.tools.ant.taskdefs.condition.IsTrue doesn't support the
"property" attribute
Did I misunderstand your suggestion?
-----Original Message-----
From: Tom Huybrechts [mailto:tom.huybrechts@gmail.com]
Sent: Thursday, January 03, 2008 9:05 AM
To: Maven Users List
Subject: Re: Support of ant 1.6+ conditions
Maybe specifying a upgraded <dependency/> on ant for the antrun plugin
in
your POM would help too ?
On Jan 3, 2008 2:57 PM, EJ Ciramella <ej...@upromise.com> wrote:
> Is there a newer version of the maven-antrun-plugin?
>
> We would like to pass long a true/false property. If I have:
>
> <condition property="is.preview">
> <istrue property="preview"/>
> </condition>
>
> I get this error:
>
> Class org.apache.tools.ant.taskdefs.condition.IsTrue doesn't support
the
> "property" attribute
>
> Any suggestions?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Support of ant 1.6+ conditions
Posted by EJ Ciramella <ej...@upromise.com>.
I wish it was that easy, I have this in my pom:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
<executions> .....
And still get the message:
Class org.apache.tools.ant.taskdefs.condition.IsTrue doesn't support the
"property" attribute
Did I misunderstand your suggestion?
-----Original Message-----
From: Tom Huybrechts [mailto:tom.huybrechts@gmail.com]
Sent: Thursday, January 03, 2008 9:05 AM
To: Maven Users List
Subject: Re: Support of ant 1.6+ conditions
Maybe specifying a upgraded <dependency/> on ant for the antrun plugin
in
your POM would help too ?
On Jan 3, 2008 2:57 PM, EJ Ciramella <ej...@upromise.com> wrote:
> Is there a newer version of the maven-antrun-plugin?
>
> We would like to pass long a true/false property. If I have:
>
> <condition property="is.preview">
> <istrue property="preview"/>
> </condition>
>
> I get this error:
>
> Class org.apache.tools.ant.taskdefs.condition.IsTrue doesn't support
the
> "property" attribute
>
> Any suggestions?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Support of ant 1.6+ conditions
Posted by Tom Huybrechts <to...@gmail.com>.
Maybe specifying a upgraded <dependency/> on ant for the antrun plugin in
your POM would help too ?
On Jan 3, 2008 2:57 PM, EJ Ciramella <ej...@upromise.com> wrote:
> Is there a newer version of the maven-antrun-plugin?
>
> We would like to pass long a true/false property. If I have:
>
> <condition property="is.preview">
> <istrue property="preview"/>
> </condition>
>
> I get this error:
>
> Class org.apache.tools.ant.taskdefs.condition.IsTrue doesn't support the
> "property" attribute
>
> Any suggestions?
>
RE: Support of ant 1.6+ conditions
Posted by EJ Ciramella <ej...@upromise.com>.
Yeah, just replied saying sorry for the noise.
Hate when I strangle my maven with ant..
-----Original Message-----
From: Ian Springer [mailto:ian.springer@redhat.com]
Sent: Thursday, January 03, 2008 9:33 AM
To: Maven Users List
Subject: Re: Support of ant 1.6+ conditions
According to the Ant docs
(http://ant.apache.org/manual/CoreTasks/conditions.html), the syntax is:
<condition property="is.preview">
<istrue value="${preview}"/>
</condition>
EJ Ciramella wrote:
> Is there a newer version of the maven-antrun-plugin?
>
> We would like to pass long a true/false property. If I have:
>
> <condition property="is.preview">
> <istrue property="preview"/>
> </condition>
>
> I get this error:
>
> Class org.apache.tools.ant.taskdefs.condition.IsTrue doesn't support
the
> "property" attribute
>
> Any suggestions?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Support of ant 1.6+ conditions
Posted by Ian Springer <ia...@redhat.com>.
According to the Ant docs
(http://ant.apache.org/manual/CoreTasks/conditions.html), the syntax is:
<condition property="is.preview">
<istrue value="${preview}"/>
</condition>
EJ Ciramella wrote:
> Is there a newer version of the maven-antrun-plugin?
>
> We would like to pass long a true/false property. If I have:
>
> <condition property="is.preview">
> <istrue property="preview"/>
> </condition>
>
> I get this error:
>
> Class org.apache.tools.ant.taskdefs.condition.IsTrue doesn't support the
> "property" attribute
>
> Any suggestions?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org