Re: Unable to use maven-ant-tasks

2012-01-03 Thread Scott Shambarger
I tried the latest binary ant release from ant.apache.org and my original build.xml test works perfectly (with just the xmlns). It appears that there's some problem with the Fedora 16 rpm release of ant that is causing the problem. I'll probably need to find a good testcase and report an issue

Re: Unable to use maven-ant-tasks

2012-01-03 Thread Guillaume Polet
If I add the following line to your script, it works smoothly (if the maven-ant-tasks jar is on ant classpath): uri="antlib:org.apache.maven.artifact.ant"/> Cheers, Guillaume Le 27/12/2011 01:41, Scott Shambarger a écrit : I'm new to ant and maven, so I'm sure this is a silly questionstill,

RE: Unable to use maven-ant-tasks

2012-01-03 Thread Matt Walsh
I'm using maven-ant-tasks 2.1.3 with just the xmlns specification with no problems. I have it installed in ANT_HOME/lib, but initially used it from HOME/.ant/lib with no problems. Haven't tried it with the -lib parameter, but no reason to believe it wouldn't work that way as well. Maybe try upg

Re: Unable to use maven-ant-tasks

2011-12-29 Thread Benson Margulies
On Thu, Dec 29, 2011 at 9:55 AM, Wayne Fay wrote: >> listing in ant -diagnostics).  I was hoping that since maven-ant-tasks >> is developed as part of maven, that someone on the list would be using >> it and have some insight as to what I was doing wrong. > > I agree with your premise. Sorry I cou

Re: Unable to use maven-ant-tasks

2011-12-29 Thread Wayne Fay
> listing in ant -diagnostics). I was hoping that since maven-ant-tasks > is developed as part of maven, that someone on the list would be using > it and have some insight as to what I was doing wrong. I agree with your premise. Sorry I couldn't be more help but I haven't used Ant in a while. >

Re: Unable to use maven-ant-tasks

2011-12-28 Thread Scott Shambarger
On Wed, 28 Dec 2011 19:41:31 -0800, Scott Shambarger wrote: On Tue, 27 Dec 2011 21:50:34 -0600, Wayne Fay wrote: http://example.com";> As a followup, I can confirm that adding: to the project does cause the error to go away, but none of the "put the jar in the .ant/lib" or "pass i

Re: Unable to use maven-ant-tasks

2011-12-28 Thread Scott Shambarger
Thanks for the suggestion, however it didn't appear to change anything. I'm guessing the "remoteRepository" is the name that's undefined, so I'm guessing that maven-ant-tasks.jar isn't being loaded (despite it's listing in ant -diagnostics). I was hoping that since maven-ant-tasks is developed

Re: Unable to use maven-ant-tasks

2011-12-27 Thread Wayne Fay
First off, I don't use maven-ant-tasks, so I have no idea if this is helpful or not... > BUILD FAILED > /opt/devel/test/build.xml:4: Problem: failed to create task or type > antlib:org.apache.maven.artifact.ant:remoteRepository > Cause: The name is undefined. This suggests to me that line 4 in yo