Kaydet (Commit) bf7df610 authored tarafından David Tardon's avatar David Tardon

install example java scripts using filelist

Change-Id: I3f5df5be726fe0788a17d632fe1021ccaf4c1951
üst 06bc7619
...@@ -713,9 +713,17 @@ End ...@@ -713,9 +713,17 @@ End
#ifdef SOLAR_JAVA #ifdef SOLAR_JAVA
File gid_File_Scripts_Java File gid_File_Scripts_Java
Dir = gid_Dir_Share_Scripts; Dir = FILELIST_DIR;
ARCHIVE_TXT_FILE_BODY; TXT_FILE_BODY;
Name = "ScriptsJava.zip"; Styles = (FILELIST);
Name = "scripting_java.filelist";
End
File gid_File_Scripts_Java_jars
Dir = FILELIST_DIR;
TXT_FILE_BODY;
Styles = (FILELIST);
Name = "scripting_java_jars.filelist";
End End
#ifndef WITHOUT_SCRIPTING_BEANSHELL #ifndef WITHOUT_SCRIPTING_BEANSHELL
......
...@@ -372,6 +372,7 @@ Module gid_Module_Root_Files_6 ...@@ -372,6 +372,7 @@ Module gid_Module_Root_Files_6
gid_File_Extra_Tplwizletter, gid_File_Extra_Tplwizletter,
gid_File_Scripts_Beanshell, gid_File_Scripts_Beanshell,
gid_File_Scripts_Java, gid_File_Scripts_Java,
gid_File_Scripts_Java_jars,
gid_File_Scripts_Javascript, gid_File_Scripts_Javascript,
gid_File_Basic_Depot, gid_File_Basic_Depot,
gid_File_Basic_Euro, gid_File_Basic_Euro,
......
...@@ -26,7 +26,8 @@ $(eval $(call gb_Module_add_targets,scripting,\ ...@@ -26,7 +26,8 @@ $(eval $(call gb_Module_add_targets,scripting,\
Jar_ScriptProviderForJavaScript \ Jar_ScriptProviderForJavaScript \
Rdb_scriptproviderforjavascript \ Rdb_scriptproviderforjavascript \
) \ ) \
Zip_ScriptsJava \ Package_java \
Package_java_jars \
) \ ) \
Package_scriptbindinglib \ Package_scriptbindinglib \
Package_scriptproviderforpython \ Package_scriptproviderforpython \
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
$(eval $(call gb_Package_Package,scripting_java,$(SRCDIR)/scripting/examples/java))
$(eval $(call gb_Package_set_outdir,scripting_java,$(INSTDIR)))
$(eval $(call gb_Package_add_files_with_dir,scripting_java,share/Scripts/java,\
HelloWorld/HelloWorld.java \
HelloWorld/parcel-descriptor.xml \
Highlight/HighlightText.java \
Highlight/parcel-descriptor.xml \
MemoryUsage/MemoryUsage.java \
MemoryUsage/parcel-descriptor.xml \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
$(eval $(call gb_Package_Package,scripting_java_jars,$(OUTDIR)/bin))
$(eval $(call gb_Package_set_outdir,scripting_java_jars,$(INSTDIR)))
$(eval $(call gb_Package_add_file,scripting_java_jars,share/Scripts/java/HelloWorld/HelloWorld.jar,HelloWorld.jar))
$(eval $(call gb_Package_add_file,scripting_java_jars,share/Scripts/java/Highlight/Highlight.jar,Highlight.jar))
$(eval $(call gb_Package_add_file,scripting_java_jars,share/Scripts/java/MemoryUsage/MemoryUsage.jar,MemoryUsage.jar))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
$(eval $(call gb_Zip_Zip,ScriptsJava,$(WORKDIR)/Zip/ScriptsJava))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/HelloWorld/HelloWorld.jar,\
$(OUTDIR)/bin/HelloWorld.jar \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/HelloWorld/HelloWorld.java,\
$(SRCDIR)/scripting/examples/java/HelloWorld/HelloWorld.java \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/HelloWorld/parcel-descriptor.xml,\
$(SRCDIR)/scripting/examples/java/HelloWorld/parcel-descriptor.xml \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/Highlight/Highlight.jar,\
$(OUTDIR)/bin/Highlight.jar \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/Highlight/HighlightText.java,\
$(SRCDIR)/scripting/examples/java/Highlight/HighlightText.java \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/Highlight/parcel-descriptor.xml,\
$(SRCDIR)/scripting/examples/java/Highlight/parcel-descriptor.xml \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/MemoryUsage/MemoryUsage.jar,\
$(OUTDIR)/bin/MemoryUsage.jar \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/MemoryUsage/MemoryUsage.java,\
$(SRCDIR)/scripting/examples/java/MemoryUsage/MemoryUsage.java \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/MemoryUsage/parcel-descriptor.xml,\
$(SRCDIR)/scripting/examples/java/MemoryUsage/parcel-descriptor.xml \
))
# vim: set noet sw=4 ts=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment