blob: fe40f8bad463fd62dddbc5307cf7acdba983d5e5 (
plain)
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
27
28
29
30
31
32
33
|
<?xml version="1.0" encoding="utf-8" ?>
<project name="project.deployment">
<property name="assembly.config" value="${build.config.dir}\AssemblyInfo.cs" />
<property name="log4net.config" value="${build.config.dir}\log4net.config.xml" />
<property name="log.dir" value="${build.compile.dir}\logs"/>
<property name="log.file.name" value="${log.dir}\log.txt"/>
<property name="log.level" value="DEBUG"/>
<target name="copy.app.dependencies">
<copy todir="${build.compile.dir}" flatten="true">
<fileset basedir="${build.lib.dir}\app">
<include name="\**\*.dll" />
</fileset>
</copy>
<property name="target" value="${log4net.config}" />
<call target="expand.template.file" />
<copy file="${log4net.config}" tofile="${build.compile.dir}\log4net.config.xml" />
</target>
<target name="deploy">
<property name="target" value="${assembly.config}" />
<call target="expand.template.file" />
<call target="app.compile" />
<call target="copy.app.dependencies" />
</target>
<target name="run" depends="deploy">
<exec program="${build.compile.dir}\${app.output}" commandline="" />
</target>
</project>
|