| Line -... |
Line 1... |
| - |
|
1 |
<?xml version="1.0" ?>
|
| 1 |
<project name="TxnTestManager" default="build" basedir=".">
|
2 |
<project name="TxnTestManager" default="build" basedir=".">
|
| 2 |
|
3 |
|
| 3 |
<property name="env" environment="env" value="not used" />
|
4 |
<property name="env" environment="env" value="not used" />
|
| - |
|
5 |
<property name="buildtype" value="release"/>
|
| - |
|
6 |
<property name="buildtype_symbol" value="P"/>
|
| 4 |
<property name="release.dir" value="${basedir}/build/release"/>
|
7 |
<property name="release.dir" value="${basedir}/build/${buildtype}"/>
|
| 5 |
|
8 |
|
| 6 |
<import file="auto.xml" optional="true"/>
|
9 |
<import file="auto.xml" optional="true"/>
|
| 7 |
<import file="${ant.project.name}depends.xml"/>
|
10 |
<import file="${ant.project.name}depends.xml"/>
|
| 8 |
<import file="${env.GBE_DPKG}/ant-using/${ant-using}/ant-using.xml" />
|
11 |
<import file="${env.GBE_DPKG}/ant-using/${ant-using}/ant-using.xml" />
|
| - |
|
12 |
|
| - |
|
13 |
<echo message="======================================================================="/>
|
| - |
|
14 |
<echo message=""/>
|
| - |
|
15 |
<echo message="Build ${ant.project.name} ${ant.project.name}depends.xml"/>
|
| - |
|
16 |
<echo message=""/>
|
| - |
|
17 |
<echo message="======================================================================="/>
|
| - |
|
18 |
|
| 9 |
|
19 |
|
| - |
|
20 |
<!-- ==========================DIRECTORIES========================================= -->
|
| - |
|
21 |
|
| - |
|
22 |
<property name="src" value="${basedir}"/>
|
| - |
|
23 |
|
| - |
|
24 |
<property name="build" value="${basedir}\build"/>
|
| - |
|
25 |
|
| - |
|
26 |
<property name="objdir" value="${build}\obj"/>
|
| - |
|
27 |
<property name="objinclude" value="${objdir}\include"/>
|
| - |
|
28 |
<property name="objlibdir" value="${objdir}\lib.win32"/>
|
| - |
|
29 |
|
| - |
|
30 |
<property name="targetdir" value="${build}\target"/>
|
| - |
|
31 |
<property name="targetlibdir" value="${targetdir}\lib.win32"/>
|
| - |
|
32 |
<property name="targetbindir" value="${targetdir}\bin.win32${buildtype_symbol}"/>
|
| - |
|
33 |
|
| - |
|
34 |
<property name="pkgdir" value="${build}\pkg"/>
|
| - |
|
35 |
<property name="pkdir_etc" value="${pkgdir}\etc"/>
|
| - |
|
36 |
<property name="pkgbindir" value="${pkgdir}\bin.win32${buildtype_symbol}"/>
|
| - |
|
37 |
<property name="pkglibdir" value="${pkgdir}\lib.win32"/>
|
| - |
|
38 |
|
| 10 |
<usingall/>
|
39 |
<usingall/>
|
| - |
|
40 |
|
| - |
|
41 |
<target name="initialise">
|
| - |
|
42 |
<mkdir dir="${objdir}"/>
|
| - |
|
43 |
<mkdir dir="${objinclude}"/>
|
| - |
|
44 |
<mkdir dir="${objlibdir}"/>
|
| 11 |
|
45 |
|
| 12 |
<property name="build" value="${basedir}/build"/>
|
46 |
<mkdir dir="${targetdir}"/>
|
| 13 |
<property name="src" value="${basedir}/src"/>
|
47 |
<mkdir dir="${targetlibdir}"/>
|
| 14 |
<property name="objdir" value="${build}/obj"/>
|
48 |
<mkdir dir="${targetbindir}"/>
|
| - |
|
49 |
|
| - |
|
50 |
<mkdir dir="${pkgdir}"/>
|
| - |
|
51 |
<mkdir dir="${pkdir_etc}"/>
|
| 15 |
<property name="objbindir" value="${build}/obj/bin.win32"/>
|
52 |
<mkdir dir="${pkglibdir}"/>
|
| 16 |
<property name="pkgbindir" value="${build}/pkg/bin.win32"/>
|
53 |
<mkdir dir="${pkgbindir}"/>
|
| - |
|
54 |
</target>
|
| - |
|
55 |
|
| - |
|
56 |
<!-- ================================================================================================== -->
|
| 17 |
|
57 |
|
| - |
|
58 |
<!-- ======================== PATTERNSET DEFINESET ============== -->
|
| 18 |
<patternset id="txntestmanager_fileset">
|
59 |
<patternset id="txntestmanager_fileset">
|
| 19 |
<include name="*.cpp" if="windows"/>
|
60 |
<include name="*.cpp" if="windows"/>
|
| 20 |
<include name="auto.res" if="windows"/>
|
61 |
<include name="auto.res" if="windows"/>
|
| 21 |
</patternset>
|
62 |
</patternset>
|
| 22 |
|
63 |
|
| 23 |
<defineset id="txntestmanager_defineset">
|
64 |
<defineset id="txntestmanager_defineset">
|
| 24 |
<define name="DEBUG"/>
|
65 |
<define name="DEBUG"/>
|
| 25 |
<define name="WIN32"/>
|
66 |
<define name="WIN32"/>
|
| 26 |
</defineset>
|
67 |
</defineset>
|
| - |
|
68 |
|
| - |
|
69 |
<!-- ================================================================================================== -->
|
| 27 |
|
70 |
|
| 28 |
<target name="TxnTestManager">
|
71 |
<!-- ======================== Build a common package resource version bundle ============== -->
|
| 29 |
|
72 |
|
| 30 |
<copy todir="${objbindir}" preservelastmodified="true" >
|
73 |
<target name="txntestmanager_resource">
|
| 31 |
<fileset dir="${src}" includes="*.res,*.dfm" casesensitive="no"/>
|
- |
|
| 32 |
</copy>
|
- |
|
| 33 |
<copy todir="${objbindir}" preservelastmodified="true" >
|
74 |
<cc name="brc" path="${using.borland_bcb.basedir}\bin" objdir="${objdir}"
|
| 34 |
<fileset dir="${tmssoftware_lib}" includes="*.res,*.dcr,*.dfm" casesensitive="no"/>
|
75 |
outtype="resource" outfile="versioninfo.res" subsystem="console">
|
| 35 |
</copy>
|
- |
|
| 36 |
<copy todir="${objbindir}" preservelastmodified="true" >
|
- |
|
| 37 |
<fileset dir="${topgrid_lib}" includes="*.res,*.dcr,*.dfm" casesensitive="no"/>
|
76 |
<versioninfo companyname="ERG Ltd" legalcopyright="Copyright (C) ERG Ltd. 2001-2007"
|
| 38 |
</copy>
|
- |
|
| 39 |
|
- |
|
| 40 |
<echo
|
- |
|
| 41 |
file="${basedir}/src/auto.rc" append="false">
|
- |
|
| 42 |
MAINICON ICON IMPURE DISCARDABLE "erg.ico"${line.separator}
|
- |
|
| 43 |
1 VERSIONINFO${line.separator}
|
- |
|
| 44 |
FILEVERSION 2,2,3,98${line.separator}
|
- |
|
| 45 |
PRODUCTVERSION 2,2,3,98${line.separator}
|
- |
|
| 46 |
BEGIN${line.separator}
|
- |
|
| 47 |
BLOCK "StringFileInfo"${line.separator}
|
- |
|
| 48 |
BEGIN${line.separator}
|
- |
|
| 49 |
BLOCK "0C0904E4"${line.separator}
|
77 |
icon="${src}\images\erg.ico"
|
| 50 |
BEGIN${line.separator}
|
- |
|
| 51 |
VALUE "CompanyName", "ERG Group\0"${line.separator}
|
78 |
description="${packagename}" fileversion="${packageversion}"
|
| 52 |
VALUE "FileDescription", "Transaction Test Manager\0"${line.separator}
|
79 |
filecomments="${packagename} ${packageversion}"
|
| 53 |
VALUE "FileVersion", "2.2.4000.cr\0"${line.separator}
|
80 |
productname="${packagename}" productversion="${packageversion}"
|
| 54 |
VALUE "InternalName", "TxnTestManager\0"${line.separator}
|
81 |
patched="false" prerelease="false" specialbuild="false" language="en-AU"/>
|
| 55 |
VALUE "LegalCopyright", "This material is confidential to ERG and may not be disclosed in whole or in part to any third party nor used in any manner whatsoever other than for the purposes expressly consented to by ERG in writing. This material is copyright and may not be reproduced, stored in a retrieval system or transmitted in any form or by any means in whole or in part without the express written consent of ERG.\0"${line.separator}
|
82 |
|
| 56 |
VALUE "LegalTrademarks", "Copyright © ERG 2001-2005\0"${line.separator}
|
- |
|
| 57 |
VALUE "OriginalFilename", "TxnTestManager\0"${line.separator}
|
- |
|
| 58 |
VALUE "ProductName", "Transaction Test Manager\0"${line.separator}
|
- |
|
| 59 |
VALUE "ProductVersion", "2.2.4000.cr\0"${line.separator}
|
- |
|
| 60 |
END${line.separator}
|
- |
|
| 61 |
END${line.separator}
|
- |
|
| 62 |
BLOCK "VarFileInfo"${line.separator}
|
- |
|
| 63 |
BEGIN${line.separator}
|
- |
|
| 64 |
VALUE "Translation", 0xc09, 1252${line.separator}
|
- |
|
| 65 |
END${line.separator}
|
- |
|
| 66 |
END${line.separator}
|
- |
|
| 67 |
</echo>
|
83 |
</cc>
|
| 68 |
|
- |
|
| 69 |
<exec executable="brc32" dir="${bcpp_bin}" vmlauncher="false">
|
- |
|
| 70 |
<arg line="-r -fo${basedir}/src/auto.res ${basedir}/src/auto.rc"/>
|
- |
|
| 71 |
</exec>
|
84 |
</target>
|
| 72 |
|
85 |
|
| - |
|
86 |
<!-- ================================================================================================== -->
|
| - |
|
87 |
<!-- ================================================================================================== -->
|
| - |
|
88 |
<!-- =================================== COMPILATION TxnTestManager ================================== -->
|
| - |
|
89 |
<!-- ================================================================================================== -->
|
| - |
|
90 |
<!-- ================================================================================================== -->
|
| - |
|
91 |
|
| - |
|
92 |
<target name="txntestmanager">
|
| 73 |
<cppcompile name="${ant.project.name}" targetname="txntestmanager" version="${packageversion}"
|
93 |
<cppcompile name="${ant.project.name}" targetname="txntestmanager" version="${packageversion}"
|
| 74 |
compiler="bcpp" buildtype="debug" outtype="executable" subsystem="gui" pkgdir="${objdir}">
|
94 |
compiler="bcpp" buildtype="${buildtype}" outtype="executable" subsystem="gui"
|
| - |
|
95 |
objdir="${objdir}" pkgdir="${targetdir}">
|
| 75 |
<defineset refid="txntestmanager_defineset"/>
|
96 |
<defineset refid="txntestmanager_defineset"/>
|
| 76 |
|
97 |
|
| 77 |
<compilerarg value="-w-bei"/>
|
98 |
<!-- compilerarg value="-w-bei"/ -->
|
| 78 |
<compilerarg value="-pc"/>
|
99 |
<compilerarg value="-pc"/>
|
| 79 |
<compilerarg value="-tW"/>
|
100 |
<!-- compilerarg value="-tW"/ -->
|
| 80 |
<compilerarg value="-g0"/> <!-- Switch off default "stop after 100 warnings" -->
|
101 |
<!-- compilerarg value="-g0"/ --> <!-- Switch off default "stop after 100 warnings" -->
|
| 81 |
|
102 |
|
| 82 |
<includepath path="${tmssoftware_include}"/>
|
103 |
<includepath path="${tmssoftware_include}"/>
|
| 83 |
<includepath path="${topgrid_include}"/>
|
104 |
<includepath path="${topgrid_include}"/>
|
| - |
|
105 |
<includepath path="${odac_include}"/>
|
| 84 |
<includepath path="${using.InfraBase.basedir}/include"/>
|
106 |
<includepath path="${using.InfraBase.basedir}/include"/>
|
| - |
|
107 |
<includepath path="${using.SecurityWrapper.basedir}/include"/>
|
| 85 |
<includepath path="${using.XMLSchema_Interfaces.basedir}/include"/>
|
108 |
<includepath path="${using.XMLSchema_Interfaces.basedir}/include"/>
|
| 86 |
<includepath path="${using.XmlSchemaWrapperInterface.basedir}/include"/>
|
109 |
<includepath path="${using.XmlSchemaWrapperInterface.basedir}/include"/>
|
| 87 |
|
110 |
|
| 88 |
<fileset dir="src" casesensitive="no">
|
111 |
<fileset dir="src" casesensitive="no">
|
| 89 |
<patternset refid="txntestmanager_fileset"/>
|
112 |
<patternset refid="txntestmanager_fileset"/>
|
| 90 |
</fileset>
|
113 |
</fileset>
|
| 91 |
|
114 |
|
| 92 |
<libset dir="${tmssoftware_lib}" libs="${tmssoftware_libraries}"/>
|
115 |
<libset dir="${tmssoftware_lib}" libs="${tmssoftware_libraries}"/>
|
| 93 |
<libset dir="${topgrid_lib}" libs="${topgrid_libraries}"/>
|
116 |
<libset dir="${topgrid_lib}" libs="${topgrid_libraries}"/>
|
| - |
|
117 |
<libset dir="${odac_lib}" libs="${odac_libraries}"/>
|
| 94 |
|
118 |
|
| 95 |
<fileset dir="${objbindir}" casesensitive="no">
|
119 |
<fileset dir="${objdir}" includes="versioninfo.res" casesensitive="no"/>
|
| 96 |
<include name="dataviewer.res" if="windows"/>
|
- |
|
| 97 |
</fileset>
|
- |
|
| 98 |
|
- |
|
| 99 |
</cppcompile>
|
120 |
</cppcompile>
|
| 100 |
|
- |
|
| 101 |
<delete>
|
- |
|
| 102 |
<fileset dir="${objbindir}" includes="*.dfm,*.dcr,*.res" casesensitive="no"/>
|
- |
|
| 103 |
</delete>
|
- |
|
| 104 |
</target>
|
121 |
</target>
|
| 105 |
|
122 |
|
| 106 |
<target name="run_tests"/>
|
123 |
<!-- ====================================PACKAGE ONLY RELEASE VERSION============================================================== -->
|
| 107 |
|
124 |
|
| - |
|
125 |
<target name="build" depends="clean,initialise,txntestmanager" description="Build Runtime Elements">
|
| - |
|
126 |
<copy todir="${pkgbindir}" failonerror="false" flatten="true" preservelastmodified="true">
|
| 108 |
<target name="build" depends="TxnTestManager"/>
|
127 |
<fileset dir="${targetbindir}" includes="*.exe"/>
|
| - |
|
128 |
</copy>
|
| - |
|
129 |
</target>
|
| - |
|
130 |
|
| - |
|
131 |
<target name="make_package" depends="build" description = "Called during build using the automated build tool" >
|
| - |
|
132 |
<echo message="======================================================================="/>
|
| - |
|
133 |
<echo message="Build ${ant.project.name} components"/>
|
| - |
|
134 |
<echo message="======================================================================="/>
|
| - |
|
135 |
<summarise-manifest package="${packagename}" version="${packageversion}"/>
|
| - |
|
136 |
</target>
|
| 109 |
|
137 |
|
| 110 |
</project>
|
138 |
</project>
|