Prevent unused and demo files beeing included in jar / war files.
git-svn-id: https://svn.libreccm.org/ccm/trunk@416 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
e5b503780f
commit
c432218345
|
|
@ -1,5 +1,7 @@
|
||||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
|
||||||
|
<!-- Template used up to ccm version 6.4 / aplaws 1.0..5 to create the build script. -->
|
||||||
|
|
||||||
<xsl:stylesheet version="1.0"
|
<xsl:stylesheet version="1.0"
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
xmlns:common="http://exslt.org/common"
|
xmlns:common="http://exslt.org/common"
|
||||||
|
|
|
||||||
|
|
@ -693,8 +693,13 @@
|
||||||
<target depends="init" name="copy-src-{$name}">
|
<target depends="init" name="copy-src-{$name}">
|
||||||
<copy todir="{$name}/${{build.classes.dir}}">
|
<copy todir="{$name}/${{build.classes.dir}}">
|
||||||
<fileset dir="{$name}/${{src.dir}}">
|
<fileset dir="{$name}/${{src.dir}}">
|
||||||
|
<exclude name="**/overview.html"/>
|
||||||
<exclude name="**/package.html"/>
|
<exclude name="**/package.html"/>
|
||||||
<exclude name="**/*.java"/>
|
<exclude name="**/*.java"/>
|
||||||
|
<!-- exclude files which are no longer used - during
|
||||||
|
transation and code clean-up phase only -->
|
||||||
|
<exclude name="**/*.java.nolongerInUse"/>
|
||||||
|
<exclude name="**/**.nolongerInUse"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
@ -704,7 +709,11 @@
|
||||||
|
|
||||||
<jar destfile="{$name}/${{build.dir}}/${{apps.{$name}.name}}-${{apps.{$name}.version}}.jar"
|
<jar destfile="{$name}/${{build.dir}}/${{apps.{$name}.name}}-${{apps.{$name}.version}}.jar"
|
||||||
update="true">
|
update="true">
|
||||||
<fileset dir="{$name}/${{build.classes.dir}}"/>
|
<fileset dir="{$name}/${{build.classes.dir}}">
|
||||||
|
<!-- exclude demo material to be included in jar (and war) files and war -->
|
||||||
|
<exclude name="**/demo**"/>
|
||||||
|
<exclude name="**/examples**"/>
|
||||||
|
</fileset>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$haspdldir">
|
<xsl:when test="$haspdldir">
|
||||||
<manifest>
|
<manifest>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue