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 ant elder <an...@gmail.com> on 2007/03/10 01:35:19 UTC

BSF3 code status

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

Re: BSF3 code status

Posted by ant elder <an...@gmail.com>.
Thanks for the all the encouragement :) Be great if you can help, and a Rexx
engine sound good.

Fyi, i've got things to a state where it all seems to build and work ok now,
and I've published a beta1 SNAPSHOT build to the Apache maven snapshot
repository:

http://people.apache.org/repo/m2-snapshot-repository/org/apache/bsf/

There's 4 jars, bsf-api, bsf-engines, bsf-utils and bsf-all. The bsf-api is
just the javax.script APIs so people could use that if they just need to
compile their application against the APIs with out running anything.
Bsf-engines includes the 25 script language engines retrowoven to be
JDK 1.4compatible. Bsf-utils includes things like the script servlet
and command
line Main utility. The Bsf-all jar includes all those merged together into
one jar for ease of use. I've not tested all the available languages but
there's simple helloworld style testcases for JavaScript, E4X, JRuby, and
Jython  which all run ok.

I'm going to start trying to use this beta1 snapshot in other Apache
projects like Synapse and Tuscany now to help test things out.

    ...ant

On 3/10/07, Rony G. Flatscher <Ro...@wu-wien.ac.at> wrote:
>
> Hi ant,
>
> just *great* how your initiatives are working out!
>
> I appreciate especially this helpful information which will allow me to
> tackle that code base as well. (It just will take me a while before I
> get enough time available in one chunk to seriiously help in this code
> and also to create a Rexx engine version for BSF3. Hope that by Easter I
> will have enough time again; at the moment having too many "engagements"
> in different projects plus start of summer-semester with a lot of
> obligations to fulfill at the present peak.)
>
> Thanks again and kudos to you!
>
> ---rony
>
>
>
> ant elder wrote:
> > 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
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: bsf-dev-help@jakarta.apache.org
>
>

Re: BSF3 code status

Posted by "Rony G. Flatscher" <Ro...@wu-wien.ac.at>.
Hi ant,

just *great* how your initiatives are working out!

I appreciate especially this helpful information which will allow me to
tackle that code base as well. (It just will take me a while before I
get enough time available in one chunk to seriiously help in this code
and also to create a Rexx engine version for BSF3. Hope that by Easter I
will have enough time again; at the moment having too many "engagements"
in different projects plus start of summer-semester with a lot of
obligations to fulfill at the present peak.)

Thanks again and kudos to you!

---rony



ant elder wrote:
> 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org