forked from fhoehnel/webfilesys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-hotdeploy.xml
executable file
·26 lines (20 loc) · 1.09 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="D:/Projekte/webfilesys/maven-project/webfilesys" />
<property name="deploy-target-basedir" value="D:/Programme/apache-tomcat-6.0.20/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="css/**/*,xsl/**/*,javascript/**/*,images/**/*,icons/**/*,help/**/*,html/**/*,WEB-INF/languages/**/*" />
</copy>
</target>
</project>