summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2009-12-10 18:37:36 +0100
committerVladimir Glazunov <vg@openoffice.org>2009-12-10 18:37:36 +0100
commitb52228e9399cbc5236c5db194f41124ec7249399 (patch)
treeabe253262a4351babc1a2edc1faed6e8463643f5 /xmlhelp
parent31e9085866cfe9e97abbcd91a0a93f41f80ed9c6 (diff)
parent29922c024fdcacc958e460e6bff22bffc45e4e84 (diff)
CWS-TOOLING: integrate CWS cmcfixes67
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/com/sun/star/help/MANIFEST.MF1
-rw-r--r--xmlhelp/source/com/sun/star/help/makefile.mk12
2 files changed, 3 insertions, 10 deletions
diff --git a/xmlhelp/source/com/sun/star/help/MANIFEST.MF b/xmlhelp/source/com/sun/star/help/MANIFEST.MF
index bf0e4ab46c..a4c5d50fde 100644
--- a/xmlhelp/source/com/sun/star/help/MANIFEST.MF
+++ b/xmlhelp/source/com/sun/star/help/MANIFEST.MF
@@ -1,2 +1 @@
RegistrationClassName: com.sun.star.help.HelpComponent
-Class-Path: lucene-core-2.3.jar lucene-analyzers-2.3.jar
diff --git a/xmlhelp/source/com/sun/star/help/makefile.mk b/xmlhelp/source/com/sun/star/help/makefile.mk
index db6e619b31..8ba5d9a3a9 100644
--- a/xmlhelp/source/com/sun/star/help/makefile.mk
+++ b/xmlhelp/source/com/sun/star/help/makefile.mk
@@ -76,14 +76,15 @@ ADDFILES = $(subst,$(SOLARBINDIR)$/help,$(CLASSDIR) $(TRANSEX3FILES))
JARFILES = ridl.jar jurt.jar unoil.jar juh.jar
.IF "$(SYSTEM_LUCENE)" == "YES"
XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(LUCENE_CORE_JAR)$(PATH_SEPERATOR)$(LUCENE_ANALYZERS_JAR)
-COMP=fix_system_lucene
+JARCLASSPATH = file://$(LUCENE_CORE_JAR) file://$(LUCENE_ANALYZERS_JAR)
.ELSE
JARFILES += lucene-core-2.3.jar lucene-analyzers-2.3.jar
+JARCLASSPATH = lucene-core-2.3.jar lucene-analyzers-2.3.jar
.ENDIF
JARTARGET = LuceneHelpWrapper.jar
JARCOMPRESS = TRUE
-CUSTOMMANIFESTFILE = MANIFEST.MF
+CUSTOMMANIFESTFILE = MANIFEST.MF
# --- Targets ------------------------------------------------------
@@ -94,15 +95,8 @@ ALLTAR : $(ADDFILES)
.IF "$(JARTARGETN)"!=""
$(JAVATARGET) : $(ADDFILES)
$(JARTARGETN) : $(ADDFILES)
-$(JARTARGETN) : $(COMP)
.ENDIF
$(CLASSDIR)$/$(PACKAGE)$/%.class : $(SOLARBINDIR)$/help$/$(PACKAGE)$/%.class
$(MKDIRHIER) $(@:d)
$(COPY) $< $@
-
-
-fix_system_lucene:
- @echo "Fix Java Class-Path entry for Lucene libraries from system."
- @$(SED) -r -e "s#^(Class-Path:).*#\1 file://$(LUCENE_CORE_JAR) file://$(LUCENE_ANALYZERS_JAR)#" \
- -i ../../../../../$(INPATH)/class/HelpLinker/META-INF/MANIFEST.MF