incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kosuru, Prasadarao" <Prasadarao.Kos...@iona.com>
Subject RE: Auto sun jars thing....
Date Tue, 18 Apr 2006 13:57:37 GMT
I've made necessary changes to the build.xml and it works now on windows
as well. I'll commit the changes now.

Cheers,
Prasad 

-----Original Message-----
From: Kosuru, Prasadarao 
Sent: 07 April 2006 12:37
To: yoko-dev@incubator.apache.org
Subject: RE: Auto sun jars thing....

Thanks Dan,

I'll try and make sure this works on windows as well.

Cheers,
Prasad 

-----Original Message-----
From: Kulp, John Daniel
Sent: 07 April 2006 17:30
To: yoko-dev@incubator.apache.org
Subject: Auto sun jars thing....


I've attached (since I don't have commit access) a tar.gz with the files
and changes that will allow auto-install of the required sun jars.

Basically, I've created a new "sunjars" subproject to handle this.  The
stuff could go into the top level pom, but putting it into a subproject
I thought was a little "cleaner" and makes it easer to remove later.

What it does is uses the maven-dependency-plugin to download the
1.0-SNAPSHOT of the EPL version of the celtix distribution and copy it
to 
target.   It then uses the antrun plugin to call an ant script that 
checks to see if the jars are already installed.   If not, the ant
script 
will fork "mvn" to install the jars.   This is tested only on Linux
right 
now.   I'm not sure if the calls to mvn will work on Windows (might need

to be "mvn.bat").   

I've also only tested this with maven 2.0.3.   I'm not sure it works
with 
2.0.2 which is what you all list on your build requirements page.   I 
know some of the properties changed between 2.0.2 and 2.0.3 so I'm not
really sure.

Enjoy!
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727  C: 508-380-7194
daniel.kulp@iona.com





Mime
View raw message