HI All,
Thanks for your help.
I am able to build my JAR file by using following command.
org.codehaus.mojo
exec-maven-plugin
1.2
install
install
What is the purpose for moving from Ant to Maven in such environments?
The purpose is to maintain different versions and to identify which version
of JAR or EAR has issue so we can identify it quickly.
Thanks,
daivish.
On Thu, Aug 11, 2011 at 10:30 AM, Wayne Fay wrote:
> > We can't move all p
> We can't move all projects to MAVEN at this moment so idea is to convert
> some projects from ANT to MAVEN and slowly slowly we can implement or
> convert all project from ANT to MAVEN.
You don't understand my point. I am not asking why you can't move ALL
your projects from Ant to Maven. I am as
HI Stephen,
I tried the way your way...
org.codehaus.mojo
exec-maven-plugin
1.2
install
install
exec
Hi Wayne,
We can't move all projects to MAVEN at this moment so idea is to convert
some projects from ANT to MAVEN and slowly slowly we can implement or
convert all project from ANT to MAVEN.
So this is just a start and to make people happy. I know this is not
realistic solution but have to do i
HI Stephen,
Use http://mojo.codehaus.org/exec-maven-plugin/exec-mojo.html to run
ANT and you can provide the ENV variables to your hearts content.
For this can you give me example how can i setup JAVA_HOME by using
exec-maven-plugin ? I think I can apply "ant -f WPSEjb_build.xml build"
command i
> I can't apply JAVAC in my BUILD.XML as i am using Weblogic Workshop related
> .WORK file under my build.xml and there is no way to specify JAVAC for this
> wlwBuild Command.
There *are* projects where Maven is simply unsuited for the task at
hand (or using Maven simply overcomplicates things wit
Use http://mojo.codehaus.org/exec-maven-plugin/exec-mojo.html to run
ANT and you can provide the ENV variables to your hearts content.
Or use the http://ant.apache.org/manual/Tasks/exec.html to fork ANT
with the correct environment variables set.
On 11 August 2011 17:06, Daivish Shah wrote:
> Hi
Hi Barrie,
I can't apply JAVAC in my BUILD.XML as i am using Weblogic Workshop related
.WORK file under my build.xml and there is no way to specify JAVAC for this
wlwBuild Command.
My code for build.xml is something like this.
I agree with Stephen. The issues come from the fact that the ant job does
too much, i.e. both generates the classes and compiles them. I have had my
fair share of these issues using tools in Maven which originated from Ant
land. Maven has a different approach.
One possible half-way approach is to s
sounds like he'd be better off pitching the ant build for a full maven build
and using toolchains to get m-compiler-p compiling with 1.4... or pitching
maven and using ant.
- Stephen
---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct
On Thu, Aug 11, 2011 at 9:47 AM, Daivish Shah wrote:
> Hi,
>
> I tried giving JRE and TOOLS JAR from build.xml file. But it's working fine
> if i run as ANT script.
>
> But when i execute as MAVEN it's taking JAVA_HOME variable which is setup as
> system variable so my system JAVA_HOME is 1.5 and
Hi,
I tried giving JRE and TOOLS JAR from build.xml file. But it's working fine
if i run as ANT script.
But when i execute as MAVEN it's taking JAVA_HOME variable which is setup as
system variable so my system JAVA_HOME is 1.5 and i want to compile with
1.4.2 from MAVEN Only.
Even i gave depende
On Thu, Aug 11, 2011 at 9:01 AM, Daivish Shah wrote:
> I'm using an ant build.xml that generates classes and compiles them with the
> tools.jar from the JDK.
>
> I am using MAVEN 2.2.1 version. JDK 1.5 to execute MAVEN. As maven 2.2.1
> version supports higher then JDK 1.5 only so I have to use it
I'm using an ant build.xml that generates classes and compiles them with the
tools.jar from the JDK.
I am using MAVEN 2.2.1 version. JDK 1.5 to execute MAVEN. As maven 2.2.1
version supports higher then JDK 1.5 only so I have to use it.
This maven-antrun-plugin doesn't allow to specify neither so
15 matches
Mail list logo