ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: <subant> with genericantfile changes basedir !
Date Tue, 22 Nov 2005 20:15:17 GMT
Hello Dan,
ant-contrib is a project on source forge :


        AntContrib

The Ant-Contrib project is a collection of user supplied task (like an
|<if>| task) and a development playground for experimental tasks like a
C/C++ compilation task for different compilers.

Compatibility: 	1.4.1 and above
URL: 	http://ant-contrib.sourceforge.net/
Contact: 	project mailing list
<http://sourceforge.net/mail/?group_id=36177>
License: 	Apache Software Foundation license


Cheers,

Antoine

Dan Finkelstein wrote:

> Hi Antoine,
>
> I'm afraid I don't know which contribution you're talking about.  I
> don't see one that has to do with for-each !!  Which do you mean?
>
> Thanks again,
> Dan
>
> At 11:50 PM 11/16/2005, Antoine Levy-Lambert wrote:
>
>> Hello Dan,
>>
>> maybe you could try to use for or for-each in ant-contrib to do what you
>> want..
>> If you read the documentation of subant, it is stated clearly AFAIK that
>> genericantfile changes the base dir.
>>
>> Cheers,
>> Antoine
>>
>> Dan Finkelstein wrote:
>>
>> > Hi --
>> >
>> > I have a number of <ant> sub-projects that I wish to call.  I call
>> > them with the same ant build file.  I have a number of directories
>> > such as
>> >    src/localization/en
>> >    src/localization/fr
>> >    src/localization/es
>> > representing all the languages I need to build for.  And I use the
>> > <dirset> element of <subant> to pluck out each language, "en", "fr",
>> > "es", etc.
>> >
>> > I'm also using the genericantfile attribute in <subant> to specify the
>> > name of the build file.
>> >
>> > What is happening is that genericantfile sets the basedir to something
>> > like src/localization/en, whereas I really want it to remain as it
>> > was, that is, just inherit the basedir from the project itself.
>> >
>> > Is there a way to override the basedir?  or a better way to implement
>> > this task?
>> >
>> > Thanks,
>> > Dan
>> >
>> >
>


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


Mime
View raw message