I've created an example build for BSF 3.0 in my vendor track
Subversion repository.
Requrements for build:
Ant 1.6.X - Out for well over a year, but the build could
support 1.5 with a few extra attributes.
http://ant.apache.org/
Ivy 1.2 - A Java dependencies manager managing dependencies
of dependenices with conflict resolution and
Eclipse integration.
http://jayasoft.org/ivy
I've put the necessary ivy.jar in the Subversion repository. It
is called ivy-1.2a.jar .
Ivy is installed like so...
cp ivy-1.2a.jar $ANT_HOME/lib
or
copy ivy-1.2a.jar %ANT_HOME%\lib
...depending on the flavor of your command shell.
I could have created an Ivy taskdef, but I think more and more
people are going to install Ivy by default.
And so, building BSF 3.0 on OS X or Linux ...
--- BUILDING ---
svn co http://engrm.com/svn/track/trunk/apache/jakarta/bsf/bsf3
cd bsf3
cp ivy-1.2a.jar $ANT_HOME/lib
ant
--- BUILDING ---
Done. Servlet, Rhino, and whatever else. Ant says:
Total time: 15 seconds
Now you have a simple Ant file you invoke use from Eclipse, just
like the lean JRuby build configuration. All the dependency
complexity is offloaded to Ivy.
Easy to retrofit 2.3.0. I started, but didn't feel like tracking
down all those dependencies.
Thoughts?
--
Alan Gutierrez - [EMAIL PROTECTED]
- http://engrm.com/blogometer/index.html
- http://engrm.com/blogometer/rss.2.0.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]