> I have two buildfiles. One generic and one project dependend file. > The project dependend build file calls targets in the generic > buildfile. > > How is it possible that the called buildfile/target can define > properties & id's so that the caller can use them? > > The properties are not visible to the caller, it seems that the > properties are "build-file-local" variables. > > So i thought including the generic buildfile to the project buildfile > could solve this task, but also no success. > > Is there a solution to have a kind of general targets library > which also > can modify properties of the caller ? > > Or is this a complete wrong design concept and exchange of properties > (to is working, from not) is not possible in this way.
Yep - wrong design. Ok, not really wrong, but since 1.6 you should use another way. The specific buildfile uses <import> to include the general buildfile. After that definitions in the general ARE PART of the specific. No property transfer needed any more. No reparsing each call ... See also http://marc.theaimsgroup.com/?l=ant-user&m=109145023923688&w=2 http://marc.theaimsgroup.com/?l=ant-user&m=108980449725559&w=2 http://marc.theaimsgroup.com/?l=ant-user&m=108670488918070&w=2 Jan > > I am using currently Ant 1.6.1 (Inside of Eclipse) > > Thanks, > Thomas > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >