[eclipse-wtp] 09/10: DITA-OT JAR has to be on CLASSPATH when generating Eclipse help

Jakub Adam xhaakon-guest at moszumanska.debian.org
Tue May 12 12:02:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

xhaakon-guest pushed a commit to branch master
in repository eclipse-wtp.

commit e67dbee4834fd96f14dbbf5dec902460b581037a
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Mon May 11 22:15:05 2015 +0200

    DITA-OT JAR has to be on CLASSPATH when generating Eclipse help
---
 debian/changelog | 1 +
 debian/rules     | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3e19337..afcad17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ eclipse-wtp (3.6.3-1) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.6.
   * Remove unused Lintian overrides.
   * Fix space-in-std-shortname-in-dep5-copyright Lintian warning.
+  * DITA-OT JAR has to be on CLASSPATH when generating Eclipse help.
 
  -- Jakub Adam <jakub.adam at ktknet.cz>  Mon, 04 May 2015 07:34:40 +0200
 
diff --git a/debian/rules b/debian/rules
index ed0d83e..3ba994e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,10 +36,10 @@ override_jh_compilefeatures:
 	cd debian/.eclipse-build/org.eclipse.wst.xml.xpath2.processor && ant generate_parser
 
 	# Regenerate eclipse help plugins from DITA files
-	for plugin in $(HELP_PLUGINS); do            \
-		cd "debian/.eclipse-build/$$plugin"; \
-		ant -f DocBuild.xml;                 \
-		cd "$$OLDPWD";                       \
+	for plugin in $(HELP_PLUGINS); do                                      \
+		cd "debian/.eclipse-build/$$plugin";                           \
+		CLASSPATH=/usr/share/dita-ot/lib/dost.jar ant -f DocBuild.xml; \
+		cd "$$OLDPWD";                                                 \
 	done
 
 	# Regenerate Javascript parser from language grammar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/eclipse-wtp.git



More information about the pkg-java-commits mailing list