JAL-3192 don’t pass full path of classlist file as name of core file!
authorJim Procter <jprocter@issues.jalview.org>
Fri, 1 Mar 2019 13:18:35 +0000 (13:18 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 1 Mar 2019 13:18:35 +0000 (13:18 +0000)
buildcore.xml

index 20eb275..8e6144b 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>