ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew G. Tereschenko" <...@ibis.odessa.ua>
Subject RE: Overriding properties
Date Tue, 14 Nov 2000 14:30:12 GMT
He-he...

I was asking for 2 results.
In Ant1.1 and Ant1.2

I think we must allow overide properties.
In current sources i see attempt to create
read-only user properties (here is a two
HashTables for this), but looks like
it result all properties can be used only once.
We have a big build.xml (with includes of other build files)
like this:

<target .... />
        <property name="dir" value="${root}/start"/>
        <jar jarfile="${server}/irbis-start.jar" basedir="${dest}"
            includes="
                ${dir}/IPrincipal.class,
                ${dir}/IServerLoginModule.class,
            "
        />
</target>
<target .... />
        <property name="dir" value="${root}/login"/>
        <jar jarfile="${server}/irbis-login.jar" basedir="${dest}"
            includes="
                ${dir}/AaaaBbbb.class,
                ${dir}/CccccDdddd.class,
            "
        />
</target>

And i don't want to change it :o(
BTW, overriding propertis (build.compiler) can allow to compile
one part of project by one compiler (jikes) and other one by another (javac)

=============================
Andrew G. Tereschenko
Software Engineer
Integrated Banking Information Systems
tag@ibis.odessa.ua

> -----Original Message-----
> From: Stefan Schmitt [mailto:sschmitt@raleigh.ibm.com]
> Sent: Tuesday, November 14, 2000 4:11 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: Overriding properties
>
>
> I think that the result is
>
> sample1
> sample1
>
> Because of the property prop1 will be set in sample1 first
> and could not be
> overwritten in sample2.
>
> Yours
> Stefan S
>
>




Mime
View raw message