You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by Alan Gutierrez <al...@engrm.com> on 2005/09/25 15:22:34 UTC
Ant+Ivy for BSF 3.0
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 - alan@engrm.com
- http://engrm.com/blogometer/index.html
- http://engrm.com/blogometer/rss.2.0.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org
Re: Ant+Ivy for BSF 3.0
Posted by Alan Gutierrez <al...@engrm.com>.
* Alan Gutierrez <al...@engrm.com> [2005-09-25 09:22]:
> 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 .
svn co http://engrm.com/svn/track/trunk/apache/jakarta/bsf/bsf3
cd bsf3
cp ivy-1.2a.jar $ANT_HOME/lib
ant
Did anyone try it? Try it.
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
- http://engrm.com/blogometer/rss.2.0.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org