</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>