jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ant elder" <ant.el...@gmail.com>
Subject BSF3 code status
Date Sat, 10 Mar 2007 00:35:19 GMT
I've applied the patches in BSF1 and BSF-2 Jiras and done a bit of cleaning
up, the code is now in:
https://svn.apache.org/repos/asf/jakarta/bsf/trunk/bsf3

That still includes the the old code which can still be built with ant, the
new code is built with Maven - check out the code, install Maven (
http://maven.apache.org/download.html), then from the top-level directory
type "mvn". The first time it will download all the dependencies, after then
you can do "mvn -o" to run offline which is a bit faster. Other commands are
"mvn clean install" to delete old artifacts and rebuild.

To setup  BSF in Eclipse from the top-level directory where you checked the
code out do "mvn eclipse:eclipse", then from an empty Eclipse workspace do
File -> Import, select General, then "Existing projects into Eclipse", click
Next then click Browse, and navigate to the BSF top-level directory, click
ok, it should find all the BSF projects and click ok. There will be errors
about a missing classpath variable "M2_REPO", on the menu bar click Windows
-> Preferences, then select Java, Build Path, Classpath Variables, click
New, for the name enter "M2_REPO", click Folder and navigate to your local
maven repo which will likely be in your home directory (mines "C:\Documents
and Settings\Administrator\.m2\repository"), click ok, ok, ok. Everything
should now build in Eclipse cleanly.

   ...ant

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message