ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Environment variable isn't resolved
Date Tue, 02 Jul 2002 16:18:06 GMT
'Cause it cannot. Entity includes obey to XML 'laws', which have nothing to
do with Ant constructs like ${env.VARNAME}, which in any case would require
a previous <property environment="env" /> anyhow. The XML parser is
complaining, not Ant. --DD

-----Original Message-----
From: David.Ostrovsky@dvg.de [mailto:David.Ostrovsky@dvg.de] 
Sent: Tuesday, July 02, 2002 11:14 AM
To: Ant Users List
Subject: Environment variable isn't resolved

Hello.

that works:

<!DOCTYPE project [
  <!ENTITY scm          SYSTEM
"file:../../../../../scm/config/ant/ant.module">
]>

and that not:

<!DOCTYPE project [
  <!ENTITY scm          SYSTEM "file:
${env.SCM_VOB_ROOT}/scm/config/ant/ant.module">
]>

java.io.FileNotFoundException:
${env.SCM_VOB_ROOT}/scm/config/ant/ant.module (No such file or directory)

Why the Environment variable isn't resolved here?
Thank you in advance.

David Ostrovsky


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message