2014-01-17 03:16:50 +00:00
|
|
|
<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/**"/>
|
2014-01-23 15:46:04 +00:00
|
|
|
<exclude name="**/*.iml"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
<move file="target/examples/as7-eap-demo/README.md.as7" tofile="target/examples/as7-eap-demo/README.md"/>
|
2014-01-23 15:46:04 +00:00
|
|
|
<move file="target/examples/as7-eap-demo/customer-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml.as7" tofile="target/examples/as7-eap-demo/customer-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml"/>
|
|
|
|
<move file="target/examples/as7-eap-demo/product-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml.as7" tofile="target/examples/as7-eap-demo/product-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml"/>
|
|
|
|
<move file="target/examples/as7-eap-demo/database-service/src/main/webapp/WEB-INF/jboss-deployment-structure.xml.as7" tofile="target/examples/as7-eap-demo/database-service/src/main/webapp/WEB-INF/jboss-deployment-structure.xml"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
<copy todir="target/examples/wildfly-demo" overwrite="true">
|
|
|
|
<fileset dir="../../examples/demo-template">
|
2014-01-23 15:54:24 +00:00
|
|
|
<exclude name="**/*.as7"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
<exclude name="**/WEB-INF/jboss-web.xml"/>
|
|
|
|
<exclude name="**/WEB-INF/web.xml"/>
|
2014-01-23 15:46:04 +00:00
|
|
|
<exclude name="**/target/**"/>
|
|
|
|
<exclude name="**/*.iml"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
</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"/>
|
2014-01-23 15:46:04 +00:00
|
|
|
<move file="target/examples/wildfly-demo/customer-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml.wildfly" tofile="target/examples/wildfly-demo/customer-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
<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"/>
|
2014-01-23 15:46:04 +00:00
|
|
|
<move file="target/examples/wildfly-demo/product-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml.wildfly" tofile="target/examples/wildfly-demo/product-app/src/main/webapp/WEB-INF/jboss-deployment-structure.xml"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
<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"/>
|
2014-01-23 15:46:04 +00:00
|
|
|
<move file="target/examples/wildfly-demo/database-service/src/main/webapp/WEB-INF/jboss-deployment-structure.xml.wildfly" tofile="target/examples/wildfly-demo/database-service/src/main/webapp/WEB-INF/jboss-deployment-structure.xml"/>
|
|
|
|
<move file="target/examples/wildfly-demo/third-party/src/main/webapp/WEB-INF/web.xml.wildfly" tofile="target/examples/wildfly-demo/third-party/src/main/webapp/WEB-INF/web.xml"/>
|
|
|
|
<move file="target/examples/wildfly-demo/third-party-cdi/src/main/webapp/WEB-INF/web.xml.wildfly" tofile="target/examples/wildfly-demo/third-party-cdi/src/main/webapp/WEB-INF/web.xml"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
<copy todir="target/examples/unconfigured-demo" overwrite="true">
|
|
|
|
<fileset dir="../../examples/demo-template">
|
|
|
|
<exclude name="**/*.wildfly"/>
|
2014-01-23 15:54:24 +00:00
|
|
|
<exclude name="**/*.as7"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
<exclude name="**/WEB-INF/jboss-web.xml"/>
|
|
|
|
<exclude name="**/WEB-INF/keycloak.json"/>
|
2014-01-23 15:46:04 +00:00
|
|
|
<exclude name="**/target/**"/>
|
|
|
|
<exclude name="**/*.iml"/>
|
2014-01-17 03:16:50 +00:00
|
|
|
</fileset>
|
|
|
|
</copy>
|
2014-01-28 11:52:18 +00:00
|
|
|
<copy todir="target/examples/themes" overwrite="true">
|
|
|
|
<fileset dir="../../examples/themes"/>
|
|
|
|
</copy>
|
2014-01-17 03:16:50 +00:00
|
|
|
</target>
|
|
|
|
</project>
|