2
0
Fork 0
imxmi/src/eclipse/ant/deploy-workspace.xml
2014-08-24 12:22:32 +02:00

55 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project basedir="../../../"
default="deploy-workspace"
name="Deploy Eclipse Vasc Workspace Settings"
>
<property name="project.basedir" value="." />
<property name="launch.postfix" value=".launch" />
<property name="launch.postfix.template" value=".launch-template" />
<property name="launch.dir.from" value="${project.basedir}/src/eclipse/launch-template" />
<property name="launch.dir.to" value="${project.basedir}/.settings/vasc" />
<property name="config.dir.from" value="${project.basedir}/src/eclipse/settings" />
<property name="config.file.jdt" value="org.eclipse.jdt.core.prefs" />
<property name="config.file.jdt.template" value="org.eclipse.jdt.core.prefs-template" />
<target name="deploy-workspace" description="Deploying eclipse project settings.">
<echo>Copy Launchers</echo>
<mkdir dir="${launch.dir.to}" />
<copy overwrite="true" file="${launch.dir.from}/vasc-demo-server${launch.postfix.template}" tofile="${launch.dir.to}/vasc-demo-server${launch.postfix}"/>
<copy overwrite="true" file="${launch.dir.from}/vasc-demo-client-swing${launch.postfix.template}" tofile="${launch.dir.to}/vasc-demo-client-swing${launch.postfix}"/>
<echo>Copy java compiler settings to projects</echo>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-api/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-jdbc/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-jpa/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-ldap/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-metamodel/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-mongodb/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-backend/vasc-backend-test/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-core/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-frontend/vasc-frontend-swing/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-frontend/vasc-frontend-swt/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-frontend/vasc-frontend-web-export/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-frontend/vasc-frontend-web-jsf/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-lib/vasc-lib-i18n/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-lib/vasc-lib-jr40/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-lib/vasc-lib-xpql/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-opt/vasc-opt-editor/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-opt/vasc-opt-metamodel/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-test/vasc-test-backend/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-test/vasc-test-frontend/.settings/${config.file.jdt}"/>
<copy overwrite="true" file="${config.dir.from}/${config.file.jdt.template}" tofile="vasc-test/vasc-test-i18n/.settings/${config.file.jdt}"/>
</target>
</project>