Vlad came up with some nice Ant macros for meta-language related Ant tasks such as sdf2table and strj. They are shipped within strategoxt.jar and can be imported into (Eclipse-based) Spoofax projects as follows:

<taskdef
  resource="org/strategoxt/antcontrib/strategoxt-antlib.xml" 
  classpath="${eclipse.spoofaximp.strategojar}" 
/>

This is nice, since you do not need to copy them from somewhere into your project. Instead, you can use the up-to-date version that comes with your Spoofax installation. However, the macros depend on Ant Contrib tasks, which currently still need to be copied into your project. If the license allows it, we should ship these tasks as well.

Submitted by Guido Wachsmuth on 12 July 2014 at 01:04

On 12 July 2014 at 01:05 Guido Wachsmuth tagged build

On 12 July 2014 at 01:05 Guido Wachsmuth tagged eclipse

On 12 July 2014 at 01:05 Guido Wachsmuth tagged @vvergu

On 18 July 2014 at 09:51 Vlad Vergu commented:

Ant Contrib is licensed Apache License v1.1. Hydra is not building a strategoxt.jar which includes Ant Contrib. The Spoofax build will inherit this automatically at the next build. As required by Ant-Contrib for redistribution, i’ve included the statement:

   "This product includes software developed by the 
    Ant-Contrib project (http://sourceforge.net/projects/ant-contrib)."

in the Spoofax license as shown during the installation at the license agreement stage.

I’ll post here and close the issue as soon as i’ve had the chance to test using this redistributed Ant-Contrib.


On 4 November 2014 at 15:38 Gabriël Konat closed this issue.

Log in to post comments