ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: File paths as properties
Date Thu, 02 Aug 2001 15:55:01 GMT
On Fri,  3 Aug 2001 01:37, Conor MacNeill wrote:
> Hi,
>
> I tried to build tomcat 4 today and it has some problems finding the
> servlet API.
>
> It defines in the top level build.xml file
>
>   <property name="servletapi.home"  value="../jakarta-servletapi-4/dist"/>
>
> It then calls a build file in catalina
>
>     <ant dir="./catalina" target="all"/>
>
> Now, in catalina, the property is also defined
>
>   <property name="servletapi.home"
> value="../../jakarta-servletapi-4/dist"/>
>
> Now, obviously, that will not be overridden, and the build fails - at least
> for me. I'm not sure if I have missed something, or whether I'm not
> building it the right way but it suggested some ideas to me
>
> 1. inheritAll flag is a good thing

you mean the ability to set it to false ? yes definetly ;)

> 2. Perhaps, we should have a mode for the property task to resolve a path
>
> <property name="servletapi.home"  path="../jakarta-servletapi-4/dist"/>

sounds like location to me ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Mime
View raw message