Re: Maven Antrun doesn't compile the project well.

2011-10-28 Thread Stephen Connolly
why not add a separate ant file that calls the ruby one and then forks maven to do the install to your repo - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 28 Oct 2011

Maven Antrun doesn't compile the project well.

2011-10-27 Thread Wayne Fay
I have tried adding the ant jars to the maven project itself, but that yielded no results may be because the maven project does not compile any java files itself, it delegates the responsibility to Ant via AntRun. This is kind of a ridiculous way to build a project with Maven IMO. This is

Re: Maven Antrun doesn't compile the project well.

2011-10-27 Thread Benson Margulies
I would add one bit of emphasis. If your goal is to build it and push the results, use the ant tasks or ivy. On the other hand, any execution of 'ant' that works outside of maven should work inside of maven using antrun, so long as the dependencies of antrun expand the classpath to include *all

Re: Maven Antrun doesn't compile the project well.

2011-10-27 Thread vra5107
Wayne Fay wrote: You should ask the JRuby folks for help with this since its their code that you're working with. But don't be surprised when they say that they simply do not support what you are trying to do since they officially use Ant for builds:

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread vra5107
Thanks for the quick reply Wayne. I must not have selected the checkbox below the post which is why I never got the prompt when you replied. I thought so too, but I was able to build the code well just by running ant. The problem arises when I try to build it with maven. The project has a

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Wayne Fay
 I thought so too, but I was able to build the code well just by running ant. The problem arises when I try to build it with maven. I honestly don't care what happens when you run Ant or any other build tool. Add the dependencies to the ant artifacts in your pom and try running your build

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread vra5107
=nodenode=4939957i=1 -- If you reply to this email, your message will be added to the discussion below: http://maven.40175.n5.nabble.com/Maven-Antrun-doesn-t-compile-the-project-well-tp4930208p4939957.html To unsubscribe from Maven Antrun doesn't compile

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Benson Margulies
--  If you reply to this email, your message will be added to the discussion below: http://maven.40175.n5.nabble.com/Maven-Antrun-doesn-t-compile-the-project-well-tp4930208p4939957.html  To unsubscribe from Maven Antrun doesn't compile the project well., click

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Wayne Fay
Fair enough! I have the following jars as dependencies listed on the plugin as the url below says. But, for some reason they don't show up on the effective pom ( Well, honestly I don't know if plugin dependencies show up on the effective pom ). I don't know why you have those as plugin

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Benson Margulies
It's typical to put dependencies on the antrun plugin. If you need any tasks that aren't part of the stock ant artifact, you add dependencies to the plugin. In 2.x, then, you had to be sure that all of your plugin declarations across multiple aggregated projects agree.

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Wayne Fay
It's typical to put dependencies on the antrun plugin. If you need any tasks that aren't part of the stock ant artifact, you add dependencies to the plugin. Yup, I use Antrun in several of my own projects. But it does not seem to apply in this situation, instead it seems like the problem is

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Benson Margulies
On Wed, Oct 26, 2011 at 5:02 PM, Wayne Fay wayne...@gmail.com wrote: It's typical to put dependencies on the antrun plugin. If you need any tasks that aren't part of the stock ant artifact, you add dependencies to the plugin. Yup, I use Antrun in several of my own projects. But it does not

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread vra5107
I am using maven 3.0.3 I have tried adding the ant jars to the maven project itself, but that yielded no results may be because the maven project does not compile any java files itself, it delegates the responsibility to Ant via AntRun. Wayne Fay wrote: I don't know why you have those as

Maven Antrun doesn't compile the project well.

2011-10-23 Thread vra5107
HI I have the following configuration for antrun. For some reason during the build ant is unable to see the ant.jar file. How do I fix this. Thanks for your help in advance. http://maven.40175.n5.nabble.com/file/n4930208/antrun_configuration antrun_configuration

Re: Maven Antrun doesn't compile the project well.

2011-10-23 Thread Wayne Fay
          I have the following configuration for antrun. For some reason during the build ant is unable to see the ant.jar file. How do I fix this. Thanks for your help in advance. It looks like your code has an undeclared dependency on ant itself. Add the missing dependency and try again.