<include name="**/*"/>
</fileset>
</copy>
- <replace token="http://www.jalview.org/services/launchApp" value="http://www.jalview.org/services/launchApp?version=${JALVIEW_VERSION}">
- <fileset dir="${packageDir}/examples">
- <include name="**/*.html"/>
- </fileset>
- </replace>
<jar update="true" index="true" jarfile="${packageDir}/examples/${jalviewLiteJar}"/>
<jar update="true" index="true" jarfile="${packageDir}/examples/${jmolJar}">
<manifest>
</signjar>
<!-- bizarre bug causes JmolApplet to always get signed, even if excluded from above. so copy explicitly -->
<copy file="appletlib/${jmolJar}" tofile="${packageDir}/examples/u_${jmolJar}" overwrite="true" />
+ <!-- finally, replace any launchApp servlet tags with a version specification -->
+ <replace value="http://www.jalview.org/services/launchApp?version=${JALVIEW_VERSION}"">
+ <replacetoken><![CDATA[http://www.jalview.org/services/launchApp"]]></replacetoken>
+ <fileset dir="${packageDir}/examples">
+ <include name="**/*.html"/>
+ </fileset>
+ </replace>
+ <replace value="http://www.jalview.org/services/launchApp?version=${JALVIEW_VERSION}'">
+ <replacetoken><![CDATA[http://www.jalview.org/services/launchApp']]></replacetoken>
+ <fileset dir="${packageDir}/examples">
+ <include name="**/*.html"/>
+ </fileset>
+ </replace>
+
</target>
<target name="sourcedoc" description="Create jalview source documentation pages" depends="init">
<javadoc destdir="${javadocDir}">