Skip to content
Snippets Groups Projects
Commit e898cb17 authored by david_williams's avatar david_williams
Browse files

simplify scripts

parent d28ca1f8
No related branches found
No related tags found
No related merge requests found
...@@ -12,10 +12,6 @@ ...@@ -12,10 +12,6 @@
<property environment="env" /> <property environment="env" />
<property
name="component"
value="patches" />
<property <property
name="resultDir" name="resultDir"
value="${buildDirectory}/${buildLabel}" /> value="${buildDirectory}/${buildLabel}" />
...@@ -26,7 +22,7 @@ ...@@ -26,7 +22,7 @@
<property <property
name="templateDir" name="templateDir"
value="${wtp.builder.home}/distribution/${component}.site" /> value="${wtp.builder.home}/distribution/${build.distribution}.site" />
<property <property
name="resultingIndex" name="resultingIndex"
value="${resultDir}/${indexFileName}" /> value="${resultDir}/${indexFileName}" />
...@@ -46,7 +42,7 @@ ...@@ -46,7 +42,7 @@
<target name="default"> <target name="default">
<copy <copy
overwrite="true" overwrite="true"
file="${wtp.builder.home}/distribution/${component}.site/templateFiles/${indexTemplateFilename}" file="${wtp.builder.home}/distribution/${build.distribution}.site/templateFiles/${indexTemplateFilename}"
tofile="${resultingIndex}" /> tofile="${resultingIndex}" />
<antcall target="countFiles" /> <antcall target="countFiles" />
<antcall target="generateCompileIndex" /> <antcall target="generateCompileIndex" />
...@@ -242,7 +238,7 @@ ...@@ -242,7 +238,7 @@
<!-- get our authored, tokenized site.xml file --> <!-- get our authored, tokenized site.xml file -->
<copy <copy
file="${wtp.builder.home}/distribution/${component}.site/templateFiles/siteWTP.xml" file="${wtp.builder.home}/distribution/${build.distribution}.site/templateFiles/siteWTP.xml"
tofile="${buildDirectory}/${buildLabel}/updateSite/site.xml" tofile="${buildDirectory}/${buildLabel}/updateSite/site.xml"
overwrite="true" overwrite="true"
failonerror="true" /> failonerror="true" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment