diff options
author | Jim Carroll <thecarrolls@jiminger.com> | 2013-12-27 09:18:22 -0800 |
---|---|---|
committer | Jim Carroll <thecarrolls@jiminger.com> | 2013-12-27 09:18:22 -0800 |
commit | 97e915b8b5a9e93e5da61453604ef6b04c26e757 (patch) | |
tree | c2b0c96f0b1b250d3c75a5f8c95c8c854d85306d | |
parent | bcac867529a2c189c7f18fff6547bf68c826f21e (diff) | |
parent | 27aa68af7659bfe880b6e0c143adc91147c45339 (diff) |
Merge pull request #3907 from rbalint/groovy-workaround
Work around groovy failure with some JRE-s
-rw-r--r-- | codegenerator.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/codegenerator.mk b/codegenerator.mk index 9615aa3f80..6689777d6d 100644 --- a/codegenerator.mk +++ b/codegenerator.mk @@ -32,6 +32,9 @@ GENERATE_DEPS += $(TOPDIR)/xbmc/interfaces/legacy/*.h $(TOPDIR)/xbmc/interfaces/ vpath %.i $(INTERFACES_DIR)/swig $(GENDIR)/%.cpp: $(GENDIR)/%.xml $(JAVA) $(SWIG) $(DOXY_XML_PATH) + # Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234 + $(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 $< |