metaborg / dynsem

DynSem
Apache License 2.0
12 stars 4 forks source link

Clean the generated code target directory #47

Closed vvergu closed 8 years ago

vvergu commented 8 years ago

Changing the signatures used in a specification leads to a different set of Java classes to be generated for the term library. The target directory of the generated code should be cleaned before generation of the new library.

By default cleaning of the output directory should be enabled, but the developer should be able to disable this in the dynsem.properties configuration file.

vvergu commented 8 years ago

There is now a new property in dynsem.properties, e.g.: target.clean = true. See http://spoofax.readthedocs.io/en/latest/source/langdev/meta/lang/dynsem/getting-started.html#configuring-the-interpreter-generator for an example.