Alan,

thanks very much for the clarification !
I will dive deeper in some future time.

Oti.

On 10/11/05, Alan Kennedy <jython-dev@xhaus.com> wrote:
[Mark Proctor]
> Would be good if Jython could support this:
> http://jakarta.apache.org/commons/sandbox/jci/

[Oti]
> what do you think is the difference or relationship between jci and
> JSR223 (http://www.jcp.org/aboutJava/communityprocess/pr/jsr223/) ?
> Just curious, I can't make the whole picture for me.

Oti,

From what I can see, there a number of differences.

JSR223 is supposed to support the use of various java scripting
languages in certain scenarios, i.e. web-page scripting. Which is a
pretty limited viewpoint, I think. Michel Pelletier summed it up well here

http://aspn.activestate.com/ASPN/Mail/Message/Jython-dev/1677088

JCI is an effort to provide a standardised interface to a java compiler,
for use in a variety of situations, e.g. an IDE such as Eclipse:

http://jakarta.apache.org/commons/sandbox/jci/apidocs/org/apache/commons/jci/compilers/eclipse/package-summary.html

or a scripting language such as Groovy:

http://jakarta.apache.org/commons/sandbox/jci/apidocs/org/apache/commons/jci/compilers/groovy/package-summary.html

JCI tries to standardise access to things such as compilation and access
to errors/warnings/etc

http://jakarta.apache.org/commons/sandbox/jci/apidocs/org/apache/commons/jci/problems/package-summary.html

and environmental issues, such as monitoring a source file for
modifications, etc.

http://jakarta.apache.org/commons/sandbox/jci/apidocs/org/apache/commons/jci/listeners/package-summary.html

As Mark P mentioned in his original email, if jython supported this API,
then it could be used without extra work in packages that support JCI.

But the JCI project doesn't seem to have matured enough to actually
provide a release. Which makes me wonder how commonly used it is in
other java projects.

Regards,

Alan.