As far as I can see, I can only set one external jar for Spoofax plugins. In the WebDSL project, we have two. Would be nice if multiple external jars (or an external jar file set) is supported.

Submitted by Sander Vermolen on 29 November 2010 at 10:08

On 29 November 2010 at 10:44 Lennart Kats commented:

At this point you can only copy one jar file, using the externaljar property in build.main.xml. Copying more is a special use case, if you want to do that then you just have to add a copy task to the Ant file (look at copy-jar in build.generated.xml for an example). What Spoofax does support, however, is importing multiple jar files, using the externaljarflags property. You can specify multiple jars there, separated by :.


On 29 November 2010 at 10:44 Lennart Kats closed this issue.

On 29 November 2010 at 10:47 Sander Vermolen commented:

Yes, I implemented the copying ‘manually’ using a copy task. The reason to request the feature, is to standardize as much of the WebDSL plugin build as possible. The WebDSL jar is currently copied by Spoofax, other jars are not. Copying all jars automatically would ease the build.


On 29 November 2010 at 10:59 Lennart Kats commented:

I don’t think you can parametrize everything; there’s always cases that will not be supported. This is one of those cases :) Ant provides you with a lot of flexibility, and indeed, in many plugins various extensions to the default Ant file have been written.


On 29 November 2010 at 11:01 Sander Vermolen commented:

:p ok, I’ll adapt WebDSL build file to make the changes permanent.

Log in to post comments