incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <daniel.k...@iona.com>
Subject Auto sun jars thing....
Date Fri, 07 Apr 2006 16:29:42 GMT

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