JAL-3192 don’t pass full path of classlist file as name of core file!
[jalview.git] / 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>