I'm doing some prototype work for the XSL Tools incubator project, using
DLTK as a possible replacement for our current launching and
debugging support for XSL development. XSL doesn't really have a
library concept, but java interpreters like Xalan or Saxon may require
some external jar files to be included when they are executed. In
particluar since the command lines for these interpreters are Java,
they'll execute the java command, but will require their appropriate jar
or folder that contains the classes to be included.

I haven't been able to see a way to specify that a library contains a
set of "jar's" As the library for the parser may not be in a specific
folder, it could be in any user folder, is there a way to get the
Libraries concept to recognize Java Jar files?

Any hints or help would be appreciated. I've been modeling off of the
Ruby implementation.

Also you should override "public boolean languageSupportZIPBuildpath() {
return true; }" in your LanguageToolkit to be able to select files too
(without this change you can select only folders). Most of the time it
works with *.zip files - in your case you probably want it to operate on
*.jar files instead - probably some places should be extended in DLTK.

Regards,
Alex

David Carver wrote:
> I'm doing some prototype work for the XSL Tools incubator project, using
> DLTK as a possible replacement for our current launching and debugging
> support for XSL development. XSL doesn't really have a library
> concept, but java interpreters like Xalan or Saxon may require some
> external jar files to be included when they are executed. In particluar
> since the command lines for these interpreters are Java, they'll execute
> the java command, but will require their appropriate jar or folder that
> contains the classes to be included.
>
> I haven't been able to see a way to specify that a library contains a
> set of "jar's" As the library for the parser may not be in a specific
> folder, it could be in any user folder, is there a way to get the
> Libraries concept to recognize Java Jar files?
>
> Any hints or help would be appreciated. I've been modeling off of the
> Ruby implementation.
>
> Dave

User Libraries aren't necessarily what I'm looking for as each processor
has it's own ways to add extension functionality. What I was looking
for was when adding an interpreter was a way to specify the format of
the External Libraries...it seems those on the interpret can only be
folders.

>
> Also you should override "public boolean languageSupportZIPBuildpath() {
> return true; }" in your LanguageToolkit to be able to select files too
> (without this change you can select only folders). Most of the time it
> works with *.zip files - in your case you probably want it to operate on
> *.jar files instead - probably some places should be extended in DLTK.

That is one thing I hadn't done was implement all the language toolkits.
I'll play around with this a bit more, but I think you are right that
I'll need to do a few extensions and overrides in some places. I'm
close to getting it going, just need to tweak in a few places.