]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-6585: Update failure messages, target description.
authorAron Roberts <aron@socrates.berkeley.edu>
Thu, 19 Mar 2015 23:02:49 +0000 (16:02 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Thu, 19 Mar 2015 23:02:49 +0000 (16:02 -0700)
tenant-utils-build.xml

index 9d357a8642e385de3f0e6b59e6a8d4704e350395..0929e8d2a312269fd9f30bfd68e535e299691601 100644 (file)
@@ -23,7 +23,7 @@
     rename-files-in-cloned-tenant,
     delete-files-in-cloned-tenant,
     update-text-in-cloned-tenant"
-    description="Make a copy ('clone') of an existing tenant (used as a template) to create a new tenant">
+    description="Make a copy ('clone') of an existing tenant (effectively using it as a template) to create a new tenant">
   </target>
   
   <!-- Main sub-targets -->
@@ -98,7 +98,7 @@
   </target>
  
   <target name="check-property-is-defined">
-    <fail message="'${property-to-check}' property is not defined. It is usually defined in either a 'tenant.properties' file, present in the same directory as this Ant build.xml file, or by adding a '-D${property-to-check}=somevalue' argument when running 'ant'.">
+    <fail message="'${property-to-check}' property is not defined. It is usually defined in either a 'tenant.properties' file, present in the same directory as this Ant build.xml file, or by adding a '-D${property-to-check}=somevalue' argument when running 'ant clone-tenant'.">
       <condition>
           <not><isset property="${property-to-check}"/></not>
       </condition>
   </target>
    
   <target name="check-property-value-is-not-blank">
-    <fail message="'${property-to-check}' property is defined, but its value is blank (is empty or contains only whitespace characters). This property must contain a non-blank value, and must match the name of an existing tenant. Its value is usually set in either a 'tenant.properties' file, present in the same directory as this Ant build.xml file, or by adding a '-D${property-to-check}=somevalue' argument when running 'ant'.">
+    <fail message="'${property-to-check}' property is defined, but its value is blank (is empty or contains only whitespace characters). This property must contain a non-blank value, and must match the name of an existing tenant. Its value is usually set in either a 'tenant.properties' file, present in the same directory as this Ant build.xml file, or by adding a '-D${property-to-check}=somevalue' argument when running 'ant clone-tenant'.">
       <condition>
           <equals arg1="${property-to-check-value}" arg2="" trim="true"/>
       </condition>
   </target>
   
   <target name="template-tenant-does-not-exist-error-check" depends="template-exists" unless="${template.exists}">
-    <fail message="Could not find 'template' tenant folder '${template.tenant.shortname}' in ${tenants.dir} ...   Check the name of the 'template' tenant, which must match the name of an existing tenant. Its value is usually set in a 'template.tenant.shortname' property, either in a 'tenant.properties' file, present in the same directory as this Ant build.xml file, or by adding a '-Dtemplate.tenant.shortname=somevalue' argument when running 'ant'."/>
+    <fail message="Could not find 'template' tenant folder '${template.tenant.shortname}' in ${tenants.dir} ...   Check the name of the 'template' tenant, which must match the name of an existing tenant. Its value is usually set in a 'template.tenant.shortname' property, either in a 'tenant.properties' file, present in the same directory as this Ant build.xml file, or by adding a '-Dtemplate.tenant.shortname=somevalue' argument when running 'ant clone-tenant'."/>
   </target>
   
   <target name="tenant-already-exists-error-check" depends="tenant-exists" if="${tenant.exists}">
-    <fail message="Tenant folder '${tenant.shortname}' already exists as ${tenants.dir}/${tenant.shortname} ... To create a new tenant named '${tenant.shortname}', please move the existing folder outside of the CollectionSpace source code tree and re-run 'ant'. Or you can create a new tenant with a different name, by changing the 'tenant.shortname' value, in either a 'tenant.properties' file, present in the same directory as this Ant build.xml file, or by adding a '-Dtenant.shortname=somevalue' argument when running 'ant'."/>
+    <fail message="Tenant folder '${tenant.shortname}' already exists as ${tenants.dir}/${tenant.shortname} ... To create a new tenant named '${tenant.shortname}', please move the existing folder outside of the CollectionSpace source code tree and re-run 'ant clone-tenant'. Or you can create a new tenant with a different name, by changing the 'tenant.shortname' value, in either a 'tenant.properties' file, present in the same directory as this Ant build.xml file, or by adding a '-Dtenant.shortname=somevalue' argument when running 'ant clone-tenant'."/>
   </target>
   
 </project>
\ No newline at end of file