Hi ant,

just tried to build the distribution from your sources.

As BSF 3.0 is targeted to be avaialble for Java 1.4 installations, I
tried to run the build process with "Java 1.4.2_12", which was
unsuccessful in building:

    * cannot resolve symbol
      symbol  : method valueOf (int)
      location: class java.lang.Integer

      Indeed, "valueOf(int)" got introduced with Java 1.5 and is not
      available with Java 1.4. Will file a JIRA issue.

      This was while trying to compile:
          o javax\script\SimpleScriptContext.java:[46,80]
          o javax\script\SimpleScriptContext.java:[46,111]

---

So in the next iteration I tried to build the package with "Java
1.5.0_10" and "Java 1.6.0_02-b06", which went on, but both stop the
build with a compilation failure:

    [INFO]
    ----------------------------------------------------------------------------
    [INFO] Building Apache BSF Utils
    [INFO]    task-segment: [install]
    [INFO]
    ----------------------------------------------------------------------------
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    [INFO] [compiler:compile]
    Compiling 14 source files to
    F:\download\Apache\bsf\bsf3\bsf-3.0-beta2-src\bsf-utils\target\classes
    [INFO]
    ------------------------------------------------------------------------
    [ERROR] BUILD FAILURE
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Compilation failure

    
F:\download\Apache\bsf\bsf3\bsf-3.0-beta2-src\bsf-utils\src\main\java\org\apache\bsf\xml\JavaScriptE4XAxiomHelper.java:[95,20]
    cannot find symbol
    symbol  : class Factory
    location: class org.mozilla.javascript.xml.XMLLib

    
F:\download\Apache\bsf\bsf3\bsf-3.0-beta2-src\bsf-utils\src\main\java\org\apache\bsf\xml\JavaScriptE4XAxiomHelper.java:[96,48]
    cannot find symbol
    symbol  : variable Factory
    location: class org.mozilla.javascript.xml.XMLLib

---

Please advise.

Regards,

---rony



ant elder wrote:
> Please review and vote on the BSF 3.0-beta2 release.
>
> The source and binary distributions, RAT reports, and maven artifacts are
> at: http://people.apache.org/~antelder/bsf/3.0-beta2-rc2/
>
> The svn tag is at:
> https://svn.apache.org/repos/asf/jakarta/bsf/tags/bsf-3.0-beta2/
>
> Here's my +1.
>
>    ...ant
>   

Reply via email to