Paul The Ant way to handle this is to assign a
property <property name="basename" value="HelloWorld"
/> then later on your scripts can reference ${basename} and the
string value HelloWorld will be substituted in-
The xml parser you are
using needs to know what is an end tag, start tag and value
delimiters
so if you want to use special characters that the parser
is already interpreting as predefined meta characters you need to use an
escape mechanism such as what is displayed from the XML/HTML
cheatsheet
----- Original Message -----
Sent: Friday, May 07, 2004 4:26 AM
Subject: [Nant-users] <Solution>
Task does not work with all VB projects
I've had a problem compiling some VB.Net projects.
I debugged the source code and found it was because the VBC is being passed an
invalid command line "/define:Win32 = True".See the following protion of my
vbproj:
<Config
Name = "Debug"
BaseAddress = "285212672"
ConfigurationOverrideFile = ""
DefineConstants = "Win32 = True"
DefineDebug = "true"
DefineTrace = "true"
DebugSymbols = "true"
IncrementalBuild = "true"
Optimize = "false"
OutputPath = "bin\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "1"
/>
VBC does not like the spaces. Change it to
"/define:Win32=True" and the compilation works.
Thanks.Paul.
..................................................................... BUPA .................................................................... BUPA
House, 15-19 Bloomsbury Way, London, WC1A
2BA .................................................................... Internet
communications are not secure and therefore BUPA does not accept legal
responsibility for the contents of this message. Any views or opinions
presented are solely those of the author and do not necessarily represent
those of
BUPA. ....................................................................
|