| 2236 |
mhunt |
1 |
<project name="TxnTestManager" default="-default" basedir=".">
|
|
|
2 |
|
|
|
3 |
<import file="depends.xml"/>
|
|
|
4 |
|
|
|
5 |
<property name="env" environment="env" value="not used"/>
|
|
|
6 |
<import file="${env.JATS_HOME}/ant-using/${ant-using}/ant-using.xml"/>
|
|
|
7 |
<using name="ant-defaultbuild" version="${ant-defaultbuild}"/>
|
|
|
8 |
<using name="ant-junit" version="${ant-junit}"/>
|
|
|
9 |
<using name="ant-bcpp" version="${ant-bcpp}"/>
|
|
|
10 |
<using name="InfraBase" version="${InfraBase}"/>
|
|
|
11 |
<using name="TMSSoftware" version="${TMSSoftware}"/>
|
|
|
12 |
<using name="TopGrid" version="${TopGrid}"/>
|
|
|
13 |
<using name="SecurityWrapper" version="${SecurityWrapper}"/>
|
|
|
14 |
<using name="XMLSchema_Interfaces" version="${XMLSchema_Interfaces}"/>
|
|
|
15 |
<using name="XmlSchemaWrapperInterface" version="${XmlSchemaWrapperInterface}"/>
|
|
|
16 |
|
|
|
17 |
<target name="build">
|
|
|
18 |
|
|
|
19 |
<copy todir="${basedir}/src">
|
|
|
20 |
<fileset dir="${using.TopGrid.basedir}/lib.win32">
|
|
|
21 |
<include name="TSGrid.res" />
|
|
|
22 |
<include name="TSGrid.dcr" />
|
|
|
23 |
<include name="TSImageList.dcr" />
|
|
|
24 |
<include name="TSMask.dcr" />
|
|
|
25 |
<include name="TSDBGrid.dcr" />
|
|
|
26 |
</fileset>
|
|
|
27 |
<fileset dir="${using.TMSSoftware.basedir}/lib.win32">
|
|
|
28 |
<include name="AsgFindDialog.dfm" />
|
|
|
29 |
<include name="ADVSPIN.RES" />
|
|
|
30 |
<include name="advgrid.res" />
|
|
|
31 |
<include name="asgres.RES" />
|
|
|
32 |
<include name="AdvDirectoryEdit.res" />
|
|
|
33 |
<include name="dbadvnav.RES" />
|
|
|
34 |
<include name="AdvMemo.res" />
|
|
|
35 |
<include name="asgspin.res" />
|
|
|
36 |
</fileset>
|
|
|
37 |
</copy>
|
|
|
38 |
</target>
|
|
|
39 |
|
|
|
40 |
<target name="make_package">
|
|
|
41 |
|
|
|
42 |
<echo
|
|
|
43 |
file="${basedir}/src/auto.rc"
|
|
|
44 |
append="false">MAINICON ICON IMPURE DISCARDABLE "erg.ico"${line.separator}
|
|
|
45 |
1 VERSIONINFO${line.separator}
|
|
|
46 |
FILEVERSION 2,2,3,98${line.separator}
|
|
|
47 |
PRODUCTVERSION 2,2,3,98${line.separator}
|
|
|
48 |
BEGIN${line.separator}
|
|
|
49 |
BLOCK "StringFileInfo"${line.separator}
|
|
|
50 |
BEGIN${line.separator}
|
|
|
51 |
BLOCK "0C0904E4"${line.separator}
|
|
|
52 |
BEGIN${line.separator}
|
|
|
53 |
VALUE "CompanyName", "ERG Group\0"${line.separator}
|
|
|
54 |
VALUE "FileDescription", "Transaction Test Manager\0"${line.separator}
|
|
|
55 |
VALUE "FileVersion", "2.2.4000.cr\0"${line.separator}
|
|
|
56 |
VALUE "InternalName", "TxnTestManager\0"${line.separator}
|
|
|
57 |
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}
|
|
|
58 |
VALUE "LegalTrademarks", "Copyright © ERG 2001-2005\0"${line.separator}
|
|
|
59 |
VALUE "OriginalFilename", "TxnTestManager\0"${line.separator}
|
|
|
60 |
VALUE "ProductName", "Transaction Test Manager\0"${line.separator}
|
|
|
61 |
VALUE "ProductVersion", "2.2.4000.cr\0"${line.separator}
|
|
|
62 |
END${line.separator}
|
|
|
63 |
END${line.separator}
|
|
|
64 |
BLOCK "VarFileInfo"${line.separator}
|
|
|
65 |
BEGIN${line.separator}
|
|
|
66 |
VALUE "Translation", 0xc09, 1252${line.separator}
|
|
|
67 |
END${line.separator}
|
|
|
68 |
END${line.separator}
|
|
|
69 |
</echo>
|
|
|
70 |
|
|
|
71 |
<!--cc in a perfect world, brc32.exe would return 0 on all platforms, it returns non zero it seems on Windows Server 2003
|
|
|
72 |
path = "${bcpp_bin}"
|
|
|
73 |
exceptions = "true"
|
|
|
74 |
incremental = "false"
|
|
|
75 |
name = "brc"
|
|
|
76 |
objdir = "${basedir}/src"
|
|
|
77 |
rebuild = "true">
|
|
|
78 |
|
|
|
79 |
<fileset dir="${basedir}/src">
|
|
|
80 |
<include name="auto.rc"/>
|
|
|
81 |
</fileset>
|
|
|
82 |
|
|
|
83 |
</cc-->
|
|
|
84 |
|
|
|
85 |
<exec executable="brc32" dir="${bcpp_bin}" vmlauncher="false">
|
|
|
86 |
<arg line="-r -fo${basedir}/src/auto.res ${basedir}/src/auto.rc"/>
|
|
|
87 |
</exec>
|
|
|
88 |
|
|
|
89 |
<cc
|
|
|
90 |
path = "${bcpp_bin}"
|
|
|
91 |
exceptions = "true"
|
|
|
92 |
incremental = "false"
|
|
|
93 |
name = "bcc"
|
|
|
94 |
objdir = "${basedir}/src"
|
|
|
95 |
outfile = "${basedir}/src/TxnTestManager"
|
|
|
96 |
outtype = "executable"
|
|
|
97 |
subsystem="gui"
|
|
|
98 |
rebuild = "true">
|
|
|
99 |
|
|
|
100 |
<!-- To see the command line, run ant with the args -logger org.apache.tools.ant.DefaultLogger -verbose -->
|
|
|
101 |
|
|
|
102 |
<compilerarg value="-O2"/>
|
|
|
103 |
<compilerarg value="-Vx"/>
|
|
|
104 |
<compilerarg value="-Ve"/>
|
|
|
105 |
<compilerarg value="-X-"/>
|
|
|
106 |
<compilerarg value="-a8"/>
|
|
|
107 |
<compilerarg value="-6"/>
|
|
|
108 |
<compilerarg value="-b-"/>
|
|
|
109 |
<compilerarg value="-k-"/>
|
|
|
110 |
<compilerarg value="-vi"/>
|
|
|
111 |
<compilerarg value="-c"/>
|
|
|
112 |
<compilerarg value="-tW"/>
|
|
|
113 |
<compilerarg value="-tWM"/>
|
|
|
114 |
<compilerarg value="-g255"/>
|
|
|
115 |
<compilerarg value="-w-par"/>
|
|
|
116 |
<compilerarg value="-DNO_STRICT"/>
|
|
|
117 |
|
|
|
118 |
<fileset dir="${basedir}/src">
|
|
|
119 |
<include name="**/*.cpp"/>
|
|
|
120 |
<include name="auto.res"/>
|
|
|
121 |
</fileset>
|
|
|
122 |
|
|
|
123 |
<!-- The following includes are versioned and released in dpkg_archive -->
|
|
|
124 |
<includepath path="${using.TMSSoftware.basedir}/include"/>
|
|
|
125 |
<includepath path="${using.TopGrid.basedir}/include"/>
|
|
|
126 |
<includepath path="${bcpp_include}"/>
|
|
|
127 |
<includepath path="${bcpp_vcl_include}"/>
|
|
|
128 |
<includepath path="${using.InfraBase.basedir}/include"/>
|
|
|
129 |
<includepath path="${using.SecurityWrapper.basedir}/include"/>
|
|
|
130 |
<includepath path="${using.XMLSchema_Interfaces.basedir}/include"/>
|
|
|
131 |
<includepath path="${using.XmlSchemaWrapperInterface.basedir}/include"/>
|
|
|
132 |
|
|
|
133 |
<linkerarg value="-aa "/>
|
|
|
134 |
<linkerarg value=" -Tpe"/>
|
|
|
135 |
<linkerarg value=" -x"/>
|
|
|
136 |
<linkerarg value=" -Gn"/>
|
|
|
137 |
<linkerarg value="c0w32.obj"/>
|
|
|
138 |
<linkerarg value="sysinit.obj"/>
|
|
|
139 |
|
|
|
140 |
<libset dir="${using.TopGrid.basedir}/lib.win32" libs="osgc6220,osdgc6220"/>
|
|
|
141 |
<libset dir="${using.TMSSoftware.basedir}/lib.win32" libs="TMSC6"/>
|
|
|
142 |
<libset dir="${bcpp_lib}" libs="vclsmp,tee,adortl,inetdb,inet,vclx,vcldb,bdertl,dbrtl,rtl,vcl,import32,cp32mt,vcljpg"/>
|
|
|
143 |
|
|
|
144 |
</cc>
|
|
|
145 |
|
|
|
146 |
<mkdir dir="build/pkg"/>
|
|
|
147 |
|
|
|
148 |
<mkdir dir="build/pkg/bin.win32"/>
|
|
|
149 |
<copy todir="build/pkg/bin.win32">
|
|
|
150 |
<fileset dir="${basedir}/src">
|
|
|
151 |
<include name="TxnTestManager.exe" />
|
|
|
152 |
</fileset>
|
|
|
153 |
</copy>
|
|
|
154 |
|
|
|
155 |
<summarise-manifest package="${packagename}" version="${packageversion}"/>
|
|
|
156 |
|
|
|
157 |
</target>
|
|
|
158 |
|
|
|
159 |
<target name="run_tests"/>
|
|
|
160 |
|
|
|
161 |
</project>
|