JAL-1889 hack to ensure endRes is computed in setUp
[jalview.git] / buildcore.xml
index 20eb275..9520f9e 100644 (file)
@@ -15,7 +15,8 @@
   </target>
 
   <target name="CallToJs" id="CallToJs" description="Don't call this directly - used by build-all-cores to configure the toJs task for each set of classes in classlist">
-    <propertyregex property="core.name" input="${classlist}" replace="" regexp="\.txt"/>
+    <basename property="core.name.txt" file="${classlist}"/>
+    <propertyregex property="core.name" input="${core.name.txt}" replace="" regexp="\.txt"/>
     <antcall target="toJs"/>
   </target>
 
@@ -49,6 +50,8 @@
     </antcall>
 
     <echo>......Now copy an html file in site/ and add   core:"${core.name}",    to the Info block.</echo>
+    <copy file="site/jalview_bin_Jalview.html" tofile="site/JalviewJS_${core.name}.html"/>
+    <replace token="NONE" value="${core.name}" file="site/JalviewJS_${core.name}.html"/>
 
   </target>