regex blah
authorjprocter <Jim Procter>
Tue, 12 Aug 2008 11:15:42 +0000 (11:15 +0000)
committerjprocter <Jim Procter>
Tue, 12 Aug 2008 11:15:42 +0000 (11:15 +0000)
utils/InstallAnywhere/jalview_buildinstaller.xml

index 0d5c293..f437a19 100644 (file)
@@ -2,7 +2,7 @@
 <project name="jalviewInstallAnywhere" default="build" basedir=".">\r
   <property name="IA_LOCATION" value="/homes/ws-dev1/Macrovision/InstallAnywhere_2008_VP1_Standard"/>\r
   <property name="IA_PROJECT" location="Jalview.iap_xml"/>\r
-  <property name="ABS_PATH" value=".+/jalview\/utils\/InstallAnywhere"/> <!--/homes/ws-dev1/jalview"/> -->\r
+  <property name="ABS_PATH" value="\/.+\/jalview\/utils\/InstallAnywhere"/> <!--/homes/ws-dev1/jalview"/> -->\r
   <!-- location of top level of jalview distribution directory -->\r
   <property name="CUR_PATH" location="../../." />\r
   <property name="USER_HOME" location="~" />\r
@@ -18,8 +18,8 @@
   <target name="build">\r
   <copy file="${IA_PROJECT}" tofile="${IA_PROJECT}_reloc.iap_xml"/>\r
   <replaceregexp\r
-    match="${ABS_PATH}"\r
-    replace="${CUR_PATH}">\r
+    match="\[${ABS_PATH}\/"\r
+    replace="[${CUR_PATH}/">\r
    <fileset file="${IA_PROJECT}_reloc.iap_xml" />\r
   </replaceregexp>\r
   <!--<replaceregexp\r