Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r362 - trunk/sites/psi

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r362 - trunk/sites/psi


Chronological Thread 
  • From: "AFS account Florian Huebner" <huebner AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r362 - trunk/sites/psi
  • Date: Tue, 12 May 2009 15:45:21 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: huebner
Date: Tue May 12 15:45:20 2009
New Revision: 362

Log:
Added a faster deployment option for dms02

Modified:
trunk/sites/psi/build.xml

Modified: trunk/sites/psi/build.xml
==============================================================================
--- trunk/sites/psi/build.xml (original)
+++ trunk/sites/psi/build.xml Tue May 12 15:45:20 2009
@@ -164,6 +164,58 @@
</antcall>
</target>

+ <target name="debug-install"
+ depends="dist-dms"
+ description="a smaller install into AFS project directory for
the 'devel' server">
+
+ <!-- Copy UNIX shell scripts to install dir -->
+ <copy todir="${install.dir}" flatten="false" overwrite="true">
+ <fileset dir="${psi-idok.basedir}/scripts/unix" />
+ </copy>
+ <copy file="${psi-idok.basedir}/python/svn_hooks/mailer.py"
+ todir="${install.dir}" />
+ <copy file="${psi-idok.basedir}/oodaemon/iDocConv.sh"
+ tofile="${install.dir}/conv" />
+ <chmod perm="u+x" verbose="yes">
+ <fileset dir="${install.dir}" casesensitive="yes">
+ <include name="*.sh" />
+ <include name="*.py" />
+ <include name="conv" />
+ <include name="idok" />
+ <include name="idok_admin" />
+ <include name="idok_kdestroy" />
+ <include name="idok_kinit" />
+ <include name="idok_klist" />
+ <include name="idok_thin" />
+ <include name="nagios_check_dmsd_status" />
+ </fileset>
+ </chmod>
+
+ <!-- Copy jars if newer than destination -->
+ <copy todir="${install.dir}" flatten="true">
+ <!-- idok jars -->
+ <fileset dir="${dist.dir}" includes="**/*" />
+ <!-- 3rd party jars -->
+ <fileset refid="idok.libs.runtime" />
+ </copy>
+
+ <!-- Copy additional files to install dir -->
+ <copy todir="${install.dir}" flatten="true" overwrite="true">
+ <fileset
file="${psi-idok.basedir}/java/ch/psi/idok/common/config/krb5.conf" />
+ </copy>
+ <copy todir="${install.dir}" flatten="false" overwrite="true">
+ <fileset file="${psi-idok.basedir}/www/**" />
+ </copy>
+ <copy file="${psi-idok.basedir}/scripts/admin/logging.conf"
+ todir="${install.dir}" />
+
+ <antcall target="copy-pydok">
+ </antcall>
+ <!-- <antcall target="sign-debug-jars">
+ </antcall> -->
+ </target>
+
+
<target name="copy-dmsd" description="">
<!-- Copy the dmsd files to the dmsd directory -->
<echo message="Copying files..." />
@@ -355,6 +407,30 @@
<fileset dir="${install.dir}" includes="*.jar" />
</signjar>
</target>
+
+ <target name="sign-debug-jars"
+ description="sign all idok related jar files for Java
webstart">
+ <exec executable="/bin/bash">
+ <arg value="-c" />
+ <arg value="for j in ${install.dir}/idok*.jar; do
echo $j; zip -d $j 'META-INF/INDEX.LIST' 'META-INF/*.MF' 'META-INF/*.SF' '
+META-INF/*.RSA' 'META-INF/*.DSA'; done" />
+ </exec>
+ <exec executable="/bin/bash">
+ <arg value="-c" />
+ <arg value="for j in ${install.dir}/qtg*.jar; do echo
$j; zip -d $j 'META-INF/INDEX.LIST' 'META-INF/*.MF' 'META-INF/*.SF' '
+META-INF/*.RSA' 'META-INF/*.DSA'; done" />
+ </exec>
+ <signjar alias="jarsign"
+ storepass="${keystore.passwd}"
+ keystore="${keystore.psi.file}">
+ <fileset dir="${install.dir}" includes="idok*.jar" />
+ </signjar>
+ <signjar alias="jarsign"
+ storepass="${keystore.passwd}"
+ keystore="${keystore.psi.file}">
+ <fileset dir="${install.dir}" includes="qtg*.jar" />
+ </signjar>
+ </target>

<target name="show-migration-help"
description="Show files in open source part of the code that
potentially contain PSI specific code">



  • [idok-commit] idok commit r362 - trunk/sites/psi, AFS account Florian Huebner, 05/12/2009

Archive powered by MHonArc 2.6.19.

Top of Page