Re: bsf maven questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/5/27 Orion Poplawski <orion@xxxxxxxxxxxxx>:
>
> I don't think that is quite correct.  The package builds just fine without bsf
> 3.0 because the javax.script API (that bsf 3.0 is/provides) is in Java 1.6.
>
> It seems to me that jexl should be requiring bsf-api 3.0 OR java 1.6 (don't
> know if a pom can express that), or maybe java-1.6.0-openjdk should provide
> bsf-api 3.0?
>


Afaik, bsf-api is a module built along apache-bsf-3.0 which is
intended to be used
with jdks prior to 1.6.0 (it provides the JSR-223 api defined in 1.6
with javax.script).

If your package only needs the api and you dont mind requiring java >= 1.6.0,
just strip away the dep from the pom. If you also need the
implementation, you need
to package bsf-3.0 and install its poms for maven (possible java
package names clash
if both javax.script from jdk *and* javax.script from bsf-api go into
classhpath?)
bsf 2.x wont do because it is based on a different api.

hope that helps

-- 
Guido Grazioli <guido.grazioli@xxxxxxxxx>
Via Parri 11 48011 - Alfonsine (RA)
Mobile: +39 347 1017202 (10-18)
Key FP = 7040 F398 0DED A737 7337  DAE1 12DC A698 5E81 2278
Linked in: http://www.linkedin.com/in/guidograzioli
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux