summaryrefslogtreecommitdiff
path: root/odk/examples/java/PropertySet
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2002-05-08 15:32:12 +0000
committerJuergen Schmidt <jsc@openoffice.org>2002-05-08 15:32:12 +0000
commit8516500bf709c44a3f734d019e7879dc110d9137 (patch)
tree180da3dfe1a4f80ee384a6c4641e45cb4d0e6e81 /odk/examples/java/PropertySet
parentd5ab3c130d97605bc0876efce27782036fa2f315 (diff)
#99053# change CLASSPATH
Diffstat (limited to 'odk/examples/java/PropertySet')
-rw-r--r--odk/examples/java/PropertySet/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/odk/examples/java/PropertySet/Makefile b/odk/examples/java/PropertySet/Makefile
index 323efc229123..1b0852073fef 100644
--- a/odk/examples/java/PropertySet/Makefile
+++ b/odk/examples/java/PropertySet/Makefile
@@ -24,19 +24,18 @@ JAVAFILES = PropTest.java
CLASSFILES = $(patsubst %.java,$(OUT_COMPONENT)$(PS)$(PACKAGE)$(PS)%.class,$(JAVAFILES))
-DK_CLASSPATH = $(subst $(EMPTYSTRING) $(EMPTYSTRING),,\
- $(CLASSES_DIR)$(PS)jurt.jar\
- $(PATH_SEPARATOR)$(CLASSES_DIR)$(PS)unoil.jar\
- $(PATH_SEPARATOR)$(CLASSES_DIR)$(PS)ridl.jar\
- $(PATH_SEPARATOR)$(CLASSES_DIR)$(PS)sandbox.jar\
- $(PATH_SEPARATOR)$(CLASSES_DIR)$(PS)java_uno.jar\
- $(PATH_SEPARATOR)$(CLASSES_DIR)$(PS)juh.jar\
- $(PATH_SEPARATOR)$(CLASSES_DIR)$(PS)jut.jar\
+SDK_CLASSPATH = $(subst $(EMPTYSTRING) $(EMPTYSTRING),,\
+ $(OFFICE_CLASSES_DIR)$(PS)jurt.jar\
+ $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)$(PS)unoil.jar\
+ $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)$(PS)ridl.jar\
+ $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)$(PS)sandbox.jar\
+ $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)$(PS)java_uno.jar\
+ $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)$(PS)juh.jar\
+ $(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)$(PS)jut.jar\
$(PATH_SEPARATOR)$(OUT_COMPONENT)\
)
OFFICE_FILEURL = $(subst \,/,$(OFFICE_PROGRAM_PATH))
-OFFICE_CLASSPATH = $(subst \\,\,$(subst $(CLASSES_DIR),$(OFFICE_PROGRAM_PATH)$(PS)classes,$(DK_CLASSPATH)))
# Targets
@@ -49,7 +48,7 @@ $(OUT_COMPONENT) : $(OUT)
$(MKDIR) $@
$(CLASSFILES) : $(OUT_COMPONENT) $(JAVAFILES)
- javac -classpath "$(DK_CLASSPATH)" -d $(OUT_COMPONENT) $(JAVAFILES)
+ javac -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMPONENT) $(JAVAFILES)
$(COMPONENTJARFLAG) : $(CLASSFILES)
jar cvfm $(COMPONENT_JAR) $(COMPONENT_MANIFESTFILE) -C $(OUT_COMPONENT) .
@@ -58,8 +57,8 @@ $(COMPONENTJARFLAG) : $(CLASSFILES)
$(REGISTERFLAG) : $(COMPONENTJARFLAG)
ifneq "$(OFFICE_PROGRAM_PATH)" ""
- $(COPY) $(COMPONENT_JAR) "$(OFFICE_PROGRAM_PATH)/classes"
- java -classpath "$(OFFICE_CLASSPATH)" com.sun.star.tools.uno.RegComp "$(URLPREFIX)$(OFFICE_FILEURL)/applicat.rdb" register "$(URLPREFIX)$(OFFICE_FILEURL)/classes/PropTest.jar" com.sun.star.loader.Java2
+ $(COPY) $(COMPONENT_JAR) "$(OFFICE_CLASSES_DIR)"
+ java -classpath "$(SDK_CLASSPATH)" com.sun.star.tools.uno.RegComp "$(URLPREFIX)$(OFFICE_FILEURL)/applicat.rdb" register "$(URLPREFIX)$(OFFICE_FILEURL)/classes/PropTest.jar" com.sun.star.loader.Java2
@echo bla > $@
else
@echo ----------------------------------------------------------------------------------------