-
Notifications
You must be signed in to change notification settings - Fork 13
/
build-hotdeploy.xml
26 lines (20 loc) · 1.16 KB
/
build-hotdeploy.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<project name="webfilesys-hotdeploy" default="hotdeploy" basedir=".">
<description>
deploy changed classes and webcontent to the development server
</description>
<property name="project-basedir" value="/home/frank/projekte/webfilesys/maven-project/webfilesys" />
<property name="deploy-target-basedir" value="/home/frank/tomcat-development/webapps/webfilesys" />
<property name="project-classes-dir" value="${project-basedir}/target/classes" />
<property name="classes-deploy-target" value="${deploy-target-basedir}/WEB-INF/classes" />
<property name="webcontent-src" value="${project-basedir}/src/main/webapp" />
<property name="webcontent-deploy-target" value="${deploy-target-basedir}" />
<target name="hotdeploy">
<copy todir="${classes-deploy-target}" verbose="true">
<fileset dir="${project-classes-dir}" />
</copy>
<copy todir="${webcontent-deploy-target}" verbose="true">
<fileset dir="${webcontent-src}"
includes="styles/**/*,xsl/**/*,javascript/**/*,images/**/*,img-skin/**/*,icons/**/*,emoticons/**/*,help/**/*,html/**/*,fonts/**/*,WEB-INF/languages/**/*,WEB-INF/web.xml" />
</copy>
</target>
</project>