You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Da...@dvg.de on 2002/07/02 18:13:58 UTC

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Environment variable isn't resolved

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Erik Hatcher" <ja...@ehatchersolutions.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Tuesday, July 02, 2002 09:17
Subject: Re: Environment variable isn't resolved


> Properties are not resolved in the entity reference piece... that is
> preprocessed by the XML parser, not Ant itself.  Just the nature of the
> beast....
>

a beast that will be replaced in ant 1.6 with <import> by the sign of things
on bugzilla...


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Environment variable isn't resolved

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Properties are not resolved in the entity reference piece... that is
preprocessed by the XML parser, not Ant itself.  Just the nature of the
beast....


----- Original Message -----
From: <Da...@dvg.de>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Tuesday, July 02, 2002 12:13 PM
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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>