diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-12-27 16:42:55 +0100 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-12-27 16:44:52 +0100 |
commit | df4384aa2fc07c399e313d40ca00817c2f3163c5 (patch) | |
tree | a8905dd7e5b33e3fa9c60a7bf11cff36f6982b92 /codegenerator.mk | |
parent | b90d7c9b64b36170ebadb3a16076d74295b978a9 (diff) |
Work around groovy failure with some JRE-s
by compiling some .groovy files instead of interpreting them
Diffstat (limited to 'codegenerator.mk')
-rw-r--r-- | codegenerator.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/codegenerator.mk b/codegenerator.mk index 9615aa3f80..0b49cc8503 100644 --- a/codegenerator.mk +++ b/codegenerator.mk @@ -33,6 +33,8 @@ vpath %.i $(INTERFACES_DIR)/swig $(GENDIR)/%.cpp: $(GENDIR)/%.xml $(JAVA) $(SWIG) $(DOXY_XML_PATH) $(JAVA) -cp "$(GROOVY_DIR)/groovy-all-2.1.7.jar:$(GROOVY_DIR)/commons-lang-2.6.jar:$(TOPDIR)/tools/codegenerator:$(INTERFACES_DIR)/python" \ + org.codehaus.groovy.tools.FileSystemCompiler -d $(TOPDIR)/tools/codegenerator $(TOPDIR)/tools/codegenerator/Helper.groovy $(TOPDIR)/tools/codegenerator/SwigTypeParser.groovy $(INTERFACES_DIR)/python/MethodType.groovy $(INTERFACES_DIR)/python/PythonTools.groovy + $(JAVA) -cp "$(GROOVY_DIR)/groovy-all-2.1.7.jar:$(GROOVY_DIR)/commons-lang-2.6.jar:$(TOPDIR)/tools/codegenerator:$(INTERFACES_DIR)/python" \ groovy.ui.GroovyMain $(TOPDIR)/tools/codegenerator/Generator.groovy $< $(INTERFACES_DIR)/python/PythonSwig.cpp.template $@ $(DOXY_XML_PATH) rm $< |