32 lines
No EOL
1.9 KiB
XML
Executable file
32 lines
No EOL
1.9 KiB
XML
Executable file
<project name="example-dist" basedir="." default="all">
|
|
|
|
<target name="all">
|
|
<delete dir="target/examples"/>
|
|
<copy todir="target/examples/preconfigured-demo" overwrite="true">
|
|
<fileset dir="../../examples/demo-template">
|
|
<exclude name="**/target/**"/>
|
|
<exclude name="**/*.iml"/>
|
|
<exclude name="**/*.unconfigured"/>
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="target/examples/unconfigured-demo" overwrite="true">
|
|
<fileset dir="../../examples/demo-template">
|
|
<exclude name="**/*.wildfly"/>
|
|
<exclude name="**/*.as7"/>
|
|
<exclude name="**/WEB-INF/jboss-web.xml"/>
|
|
<exclude name="**/WEB-INF/keycloak.json"/>
|
|
<exclude name="**/target/**"/>
|
|
<exclude name="**/*.iml"/>
|
|
<exclude name="**/README.md"/>
|
|
<exclude name="**/subsystem-config.xml"/>
|
|
</fileset>
|
|
</copy>
|
|
<move file="target/examples/unconfigured-demo/README.md.unconfigured" tofile="target/examples/unconfigured-demo/README.md"/>
|
|
<move file="target/examples/unconfigured-demo/customer-app/src/main/webapp/WEB-INF/web.xml.unconfigured" tofile="target/examples/unconfigured-demo/customer-app/src/main/webapp/WEB-INF/web.xml"/>
|
|
<move file="target/examples/unconfigured-demo/product-app/src/main/webapp/WEB-INF/web.xml.unconfigured" tofile="target/examples/unconfigured-demo/product-app/src/main/webapp/WEB-INF/web.xml"/>
|
|
<move file="target/examples/unconfigured-demo/database-service/src/main/webapp/WEB-INF/web.xml.unconfigured" tofile="target/examples/unconfigured-demo/database-service/src/main/webapp/WEB-INF/web.xml"/>
|
|
<copy todir="target/examples/themes" overwrite="true">
|
|
<fileset dir="../../examples/themes"/>
|
|
</copy>
|
|
</target>
|
|
</project> |