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