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

Re: ant dependency on jython and antlr



> I'm not familiar with jython either. What I am assuming is the
> following: that the jython ant task provides a way to write build files
> for jython projects.

What do you mean "build files for jython projects"?  Do you just mean it
provides an editor with jython syntax highlighting/etc?  Or do you mean
it compiles jython files?

Note that jython is an implentation of python, and so most jython scripts
are run directly (with no compilation required).  You can use jythonc to
compile jython scripts to .class files, though AIUI this is less common.
Is this what you're talking about?

> I don't believe ant can be scripted by jython. Is it the case?

I don't believe so.  (Well, the answer is yes, in as much as any java
app can be scripted by jython automagically through jython's use of
introspection.)

> I would not mind ant suggesting jython. I object it _depending_ on
> jython, because it causes bloat (and a policy violation).

I'm not asking for this dependency, but out of interest: what policy
violation?

Ben.



Reply to: