Jalview-JS/JAL-3253-applet Creating
site/swingjs/j2s/com/stevesoft/core.js
Applying a simple trick to use a custom core file.
1) In buildcore.xml:
<!-- concatentate the stevesoft files -->
<concat destfile="${site.path}/j2s/com/stevesoft/core.js">
<fileset dir="${site.path}/j2s/com/stevesoft">
<include name="**/*.js" />
<exclude name="core.js" />
<exclude name="Regex.js" />
</fileset>
</concat>
<antcall target="call-core">
<param name="call-core.name" value="_stevesoft" />
<param name="call-core.list" value="com/stevesoft/core.js" />
</antcall>
2) In com/stevesoft, add a line that loads j2s/core/core_stevesoft.z.js
static
{
/**
* @j2sNative
*
* swingjs.JSUtil.loadStaticResource$S("core/core_stevesoft.z.js");
*/
}