diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-16 11:23:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-16 11:24:12 +0100 |
commit | 1327020b6723ef988fe4e8399a87ce70e21419d7 (patch) | |
tree | 7348fc3b98ebfd25da514c469aefc2bc27f6a82c /desktop/test/deployment/active | |
parent | c3353da0f0f3b09ae6d0dd0be734a0f889629f0c (diff) |
Re-enable building test-active.oxt
Change-Id: I56bd0630f8d238488d9d6598d87acefe1a08fdf0
Diffstat (limited to 'desktop/test/deployment/active')
-rw-r--r-- | desktop/test/deployment/active/META-INF/manifest.xml (renamed from desktop/test/deployment/active/manifest.xml) | 2 | ||||
-rw-r--r-- | desktop/test/deployment/active/active_native.cxx | 2 | ||||
-rw-r--r-- | desktop/test/deployment/active/com/sun/star/comp/test/deployment/Dispatch.java (renamed from desktop/test/deployment/active/Dispatch.java) | 0 | ||||
-rw-r--r-- | desktop/test/deployment/active/com/sun/star/comp/test/deployment/Provider.java (renamed from desktop/test/deployment/active/Provider.java) | 0 | ||||
-rw-r--r-- | desktop/test/deployment/active/com/sun/star/comp/test/deployment/Services.java (renamed from desktop/test/deployment/active/Services.java) | 0 | ||||
-rw-r--r-- | desktop/test/deployment/active/makefile.mk | 78 |
6 files changed, 2 insertions, 80 deletions
diff --git a/desktop/test/deployment/active/manifest.xml b/desktop/test/deployment/active/META-INF/manifest.xml index 001ca8db46cf..7cca7841d48b 100644 --- a/desktop/test/deployment/active/manifest.xml +++ b/desktop/test/deployment/active/META-INF/manifest.xml @@ -24,7 +24,7 @@ m:full-path="ProtocolHandler.xcu"/> <m:file-entry m:media-type="application/vnd.sun.star.uno-component;type=native;platform=@PLATFORM@" - m:full-path="@PATH@"/> + m:full-path="active_native.uno@SHARED_EXTENSION@"/> <m:file-entry m:media-type="application/vnd.sun.star.uno-component;type=Java" m:full-path="active_java.jar"/> diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx index 2242c6bb4d6a..f84336d8e973 100644 --- a/desktop/test/deployment/active/active_native.cxx +++ b/desktop/test/deployment/active/active_native.cxx @@ -252,7 +252,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( pImplName, pServiceManager, pRegistryKey, services); } -extern "C" sal_Bool SAL_CALL component_writeInfo( +extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void * pServiceManager, void * pRegistryKey) { if (!component_writeInfoHelper(pServiceManager, pRegistryKey, services)) { diff --git a/desktop/test/deployment/active/Dispatch.java b/desktop/test/deployment/active/com/sun/star/comp/test/deployment/Dispatch.java index f50cdeac59a5..f50cdeac59a5 100644 --- a/desktop/test/deployment/active/Dispatch.java +++ b/desktop/test/deployment/active/com/sun/star/comp/test/deployment/Dispatch.java diff --git a/desktop/test/deployment/active/Provider.java b/desktop/test/deployment/active/com/sun/star/comp/test/deployment/Provider.java index 3b9f8b88ee79..3b9f8b88ee79 100644 --- a/desktop/test/deployment/active/Provider.java +++ b/desktop/test/deployment/active/com/sun/star/comp/test/deployment/Provider.java diff --git a/desktop/test/deployment/active/Services.java b/desktop/test/deployment/active/com/sun/star/comp/test/deployment/Services.java index 1af3f42b7da9..1af3f42b7da9 100644 --- a/desktop/test/deployment/active/Services.java +++ b/desktop/test/deployment/active/com/sun/star/comp/test/deployment/Services.java diff --git a/desktop/test/deployment/active/makefile.mk b/desktop/test/deployment/active/makefile.mk deleted file mode 100644 index baa79381e371..000000000000 --- a/desktop/test/deployment/active/makefile.mk +++ /dev/null @@ -1,78 +0,0 @@ -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -PRJ = ../../.. -PRJNAME = desktop -TARGET = test_deployment_active - -ENABLE_EXCEPTIONS = TRUE - -PACKAGE = com/sun/star/comp/test/deployment/active_java -JAVAFILES = Dispatch.java Provider.java Services.java -JARFILES = juh.jar ridl.jar unoil.jar - -.INCLUDE: settings.mk - -DLLPRE = - -SLOFILES = $(SHL1OBJS) - -SHL1TARGET = active_native.uno -SHL1OBJS = $(SLO)/active_native.obj -SHL1RPATH = OXT -SHL1STDLIBS = $(CPPUHELPERLIB) $(CPPULIB) $(SALLIB) -SHL1VERSIONMAP = $(SOLARENV)/src/reg-component.map -DEF1NAME = $(SHL1TARGET) - -.INCLUDE: target.mk - -.IF "$(ENABLE_JAVA)" != "" - -ALLTAR : $(MISC)/active.oxt - -$(MISC)/active.oxt : manifest.xml description.xml Addons.xcu \ - ProtocolHandler.xcu $(SHL1TARGETN) $(MISC)/$(TARGET)/active_java.jar \ - active_python.py - $(RM) $@ - $(RM) -r $(MISC)/$(TARGET)/active.oxt-zip - $(MKDIR) $(MISC)/$(TARGET)/active.oxt-zip - $(MKDIRHIER) $(MISC)/$(TARGET)/active.oxt-zip/META-INF - $(SED) -e 's|@PATH@|$(SHL1TARGETN:f)|g' \ - -e 's|@PLATFORM@|$(RTL_OS:l)_$(RTL_ARCH:l)|g' < manifest.xml \ - > $(MISC)/$(TARGET)/active.oxt-zip/META-INF/manifest.xml - $(COPY) description.xml Addons.xcu ProtocolHandler.xcu $(SHL1TARGETN) \ - $(MISC)/$(TARGET)/active_java.jar active_python.py \ - $(MISC)/$(TARGET)/active.oxt-zip/ - cd $(MISC)/$(TARGET)/active.oxt-zip && zip ../../active.oxt \ - META-INF/manifest.xml description.xml Addons.xcu ProtocolHandler.xcu \ - $(SHL1TARGETN:f) active_java.jar active_python.py - -$(MISC)/$(TARGET)/active_java.jar : MANIFEST.MF $(JAVATARGET) - $(MKDIRHIER) $(@:d) - $(RM) $@ - $(RM) -r $(MISC)/$(TARGET)/active_java.jar-zip - $(MKDIR) $(MISC)/$(TARGET)/active_java.jar-zip - $(MKDIRHIER) $(MISC)/$(TARGET)/active_java.jar-zip/META-INF \ - $(MISC)/$(TARGET)/active_java.jar-zip/$(PACKAGE) - $(COPY) MANIFEST.MF $(MISC)/$(TARGET)/active_java.jar-zip/META-INF/ - $(COPY) $(foreach,i,$(JAVAFILES:b) $(CLASSDIR)/$(PACKAGE)/$i.class) \ - $(MISC)/$(TARGET)/active_java.jar-zip/$(PACKAGE)/ - cd $(MISC)/$(TARGET)/active_java.jar-zip && zip ../active_java.jar \ - META-INF/MANIFEST.MF $(foreach,i,$(JAVAFILES:b) $(PACKAGE)/$i.class) - -.ENDIF |