summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas O'Connor <toconnor@openoffice.org>2003-02-25 15:21:34 +0000
committerTomas O'Connor <toconnor@openoffice.org>2003-02-25 15:21:34 +0000
commit97888e5980956e95bb9a4a77aa48a0d2fd3c1ec8 (patch)
tree1979bb02f052c1451f85381e1f0312ac5b581b1d
parent5422e59a9720ecefc1bca56ed91b965239511c1d (diff)
Update version info, and make ProtocolHandler.xcu part of UNO package
-rwxr-xr-xscripting/workben/build.xml8
-rw-r--r--scripting/workben/installer/ProtocolHandler.xcu10
-rw-r--r--scripting/workben/installer/Register.java4
3 files changed, 17 insertions, 5 deletions
diff --git a/scripting/workben/build.xml b/scripting/workben/build.xml
index af62558f32a5..e77f057077fa 100755
--- a/scripting/workben/build.xml
+++ b/scripting/workben/build.xml
@@ -3,9 +3,9 @@
#
# $RCSfile: build.xml,v $
#
-# $Revision: 1.19 $
+# $Revision: 1.20 $
#
-# last change: $Author: dfoster $ $Date: 2003-02-18 18:16:07 $
+# last change: $Author: toconnor $ $Date: 2003-02-25 16:21:32 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -73,7 +73,7 @@
<property name="installerclasses" value="${out}/class/sframeworkinstall"/>
<property name="jardir" value="${out}/class"/>
<property name="bindir" value="${out}/bin"/>
- <property name="sfversion" value="0.1"/>
+ <property name="sfversion" value="0.2"/>
<property name="installerjarname" value="SFrameworkInstall.jar"/>
<property environment="env"/>
@@ -263,6 +263,8 @@
</target>
<target name="buildunopackage" depends="buildunopackage_win9,buildunopackage_linux,buildunopackage_solaris">
<!-- <target name="buildunopackage" depends="buildunopackage_win9,buildunopackage_win7,buildunopackage_linux,buildunopackage_solaris"> -->
+ <copy file="installer/ProtocolHandler.xcu"
+ todir="${out}/class/sframework/"/>
<zip zipfile="${out}/class/sframeworkinstall/sframework/ooscriptframe.zip"
basedir="${out}/class/sframework">
</zip>
diff --git a/scripting/workben/installer/ProtocolHandler.xcu b/scripting/workben/installer/ProtocolHandler.xcu
new file mode 100644
index 000000000000..21fd2379f569
--- /dev/null
+++ b/scripting/workben/installer/ProtocolHandler.xcu
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:node xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="ProtocolHandler" oor:package="org.openoffice.Office">
+ <node oor:name="HandlerSet">
+ <node oor:name="com.sun.star.comp.ScriptProtocolHandler" oor:op="replace">
+ <prop oor:name="Protocols">
+ <value>script:*</value>
+ </prop>
+ </node>
+ </node>
+</oor:node>
diff --git a/scripting/workben/installer/Register.java b/scripting/workben/installer/Register.java
index 2ec4b6e571a2..507407b424d0 100644
--- a/scripting/workben/installer/Register.java
+++ b/scripting/workben/installer/Register.java
@@ -113,11 +113,11 @@ public class Register{
// return false;
// }
// updating ProtocolHandler
- statusLabel.setText("Updating ProtocolHandler...");
+ /* statusLabel.setText("Updating ProtocolHandler...");
if(!FileUpdater.updateProtocolHandler(path, statusLabel)) {
statusLabel.setText("Updating ProtocolHandler failed, please view SFrameworkInstall.log");
return false;
- }
+ } */
// updating StarBasic libraries
statusLabel.setText("Updating StarBasic libraries...");