Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2823 - in development/main/depot: console console/etc/bin test/brazil

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2823 - in development/main/depot: console console/etc/bin test/brazil
  • Date: Fri, 10 Jun 2005 23:15:56 -0400

Author: mcconnell AT dpml.net
Date: Fri Jun 10 23:15:54 2005
New Revision: 2823

Added:
development/main/depot/console/etc/bin/dpml-depot.exe (contents, props
changed)
development/main/depot/console/etc/bin/install-depot.bat
development/main/depot/console/etc/bin/uninstall-depot.bat
Modified:
development/main/depot/console/build.xml
development/main/depot/test/brazil/build.xml
Log:
add scripts supporting depot installation as an NT service

Modified: development/main/depot/console/build.xml
==============================================================================
--- development/main/depot/console/build.xml (original)
+++ development/main/depot/console/build.xml Fri Jun 10 23:15:54 2005
@@ -4,6 +4,8 @@
xmlns:transit="antlib:net.dpml.transit"
xmlns:x="plugin:dpml/magic/dpml-magic-core" >

+ <available property="depot.exe.available"
file="${dpml.system}/bin/dpml-depot.exe"/>
+
<transit:import uri="artifact:template:dpml/magic/standard"/>

<target name="init" depends="standard.init">
@@ -26,7 +28,7 @@
<filter token="DEPOT-PREFS-URI" value="${prefs.plugin}" />
</target>

- <target name="install" depends="standard.install">
+ <target name="install" depends="standard.install,win32-exe-install">
<echo>

#----------------------------------------------------------------------------------
# Updating DPML DATA ${dpml.data}/lib
@@ -49,6 +51,7 @@
<copy todir="${dpml.system}" preservelastmodified="true"
overwrite="true">
<fileset dir="target">
<include name="bin/**"/>
+ <exclude name="bin/*.exe"/>
</fileset>
</copy>
<chmod perm="755">
@@ -59,4 +62,13 @@
</chmod>
</target>

+ <target name="win32-exe-install" depends="standard.install"
unless="depot.exe.available">
+ <copy todir="${dpml.system}" preservelastmodified="true">
+ <fileset dir="target">
+ <include name="bin/*.exe"/>
+ </fileset>
+ </copy>
+ </target>
+
+
</project>

Added: development/main/depot/console/etc/bin/dpml-depot.exe
==============================================================================
Binary file. No diff available.

Added: development/main/depot/console/etc/bin/install-depot.bat
==============================================================================
--- (empty file)
+++ development/main/depot/console/etc/bin/install-depot.bat Fri Jun 10
23:15:54 2005
@@ -0,0 +1,5 @@
+@echo on
+
+win32\depot.exe -install DEPOT %JAVA_HOME%\jre\bin\server\jvm.dll
-Djava.class.path=%DPML_SYSTEM%\bin
-Djava.system.class.loader=net.dpml.depot.lang.DepotClassLoader
-Djava.security.policy=%DPML_SYSTEM%\bin\security.policy
-Djava.class.path=%DPML_HOME%\Data\lib\dpml-transit-main-SNAPSHOT.jar;%DPML_HOME%\Data\lib\dpml-depot-console-SNAPSHOT.jar
-start net.dpml.depot.Main -params start -stop net.dpml.depot.Main -method
stop -out %DPML_HOME%\Data\logs\depot-stdout.log -err
%DPML_HOME%\Data\logs\depot-stderr.log -current ;%DPML_HOME%\Data\work -manual
+
+@pause

Added: development/main/depot/console/etc/bin/uninstall-depot.bat
==============================================================================
--- (empty file)
+++ development/main/depot/console/etc/bin/uninstall-depot.bat Fri Jun 10
23:15:54 2005
@@ -0,0 +1,4 @@
+@echo off
+@echo on
+w32\depot.exe -uninstall DEPOT
+@pause

Modified: development/main/depot/test/brazil/build.xml
==============================================================================
--- development/main/depot/test/brazil/build.xml (original)
+++ development/main/depot/test/brazil/build.xml Fri Jun 10 23:15:54
2005
@@ -14,7 +14,7 @@
-->

<target name="package" depends="standard.package">
- <x:export class="net.dpml.depot.test.Client"/>
+ <x:export class="net.dpml.test.Client"/>
</target>

</project>



  • svn commit: r2823 - in development/main/depot: console console/etc/bin test/brazil, mcconnell, 06/10/2005

Archive powered by MHonArc 2.6.24.

Top of Page