Simplify import of strategoxt-antlib.xml
Vlad came up with some nice Ant macros for meta-language related Ant tasks such as
sdf2table
andstrj
. They are shipped withinstrategoxt.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
Issue Log
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.
Log in to post comments