Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 3783 invoked from network); 26 Feb 2004 16:08:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Feb 2004 16:08:00 -0000 Received: (qmail 69257 invoked by uid 500); 26 Feb 2004 16:07:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 69222 invoked by uid 500); 26 Feb 2004 16:07:45 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 69208 invoked from network); 26 Feb 2004 16:07:45 -0000 Received: from unknown (HELO germane-software.com) (198.36.168.17) by daedalus.apache.org with SMTP; 26 Feb 2004 16:07:45 -0000 Received: (qmail 21022 invoked from network); 26 Feb 2004 07:52:18 -0800 Received: from fw-out-nat.cobaltgroup.com (HELO germane-software.com) (216.223.25.12) by 198.36.168.17 with SMTP; 26 Feb 2004 07:52:18 -0800 Message-ID: <403E19D3.5000900@germane-software.com> Date: Thu, 26 Feb 2004 08:07:47 -0800 From: Dale Anson User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: setting property back to calling project References: <879A5AD5DD0ED511891F0003473A9B560E23EDD2@Z011004> In-Reply-To: <879A5AD5DD0ED511891F0003473A9B560E23EDD2@Z011004> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Also look at AntFetch and AntCallBack in ant-contrib (http://ant-contrib.sourceforge.net). These are modifications of and that return properties. Dale Jan.Materne@rzf.fin-nrw.de wrote: > Maybe these will be on interest > > Need help for ["AntCall" cannot return properties] > http://marc.theaimsgroup.com/?l=ant-user&m=106755464315178&w=2 > > How to return values from targets? > http://marc.theaimsgroup.com/?l=ant-user&m=105834290311380&w=2 > > > > Jan > > > > >>-----Original Message----- >>From: Marcin Gurbisz [mailto:Marcin.Gurbisz@pentacomp.com.pl] >>Sent: Thursday, February 26, 2004 1:27 PM >>To: Ant Users List >>Subject: Re: setting property back to calling project >> >> >>My target2 have some logic. For example make conditional settings. >> >>Jan.Materne@rzf.fin-nrw.de wrote: >> >> >>>just do: >>> >>> >>>with a set of properties files ... >>> >>>And with Ant 1.6 you can do also an >>> >>> >>> >>> >>>Jan >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: Marcin Gurbisz [mailto:Marcin.Gurbisz@pentacomp.com.pl] >>>>Sent: Thursday, February 26, 2004 12:57 PM >>>>To: user@ant.apache.org >>>>Subject: setting property back to calling project >>>> >>>> >>>>Lets consider situation below. I have to ant files: >>>> >>>>common.xml: >>>> >>>> >>>> //set some properties based on "prop1" property from target1 >>>> >>>> >>>> >>>>module1.xml: >>>>>>>>>>ENTITY common SYSTEM 'common.xml'> >>>>]> >>>> >>>> &common; >>>> >>>> >>>> //??? >>>inheritall="true"/> >>>> //I want to use properties set by target2 form common.xml >>>> >>>> >>>> >>>>What is the best way to archive this goal? >>>>I've created own task based on antcall which set back >> >>properties from >> >>>>new project to calling project. It's correct solution? >>>>Maybe I should avoid such situation at all? >>>> >>>>Thank you for all your help. >>>>Marcin** >>>> >>>>------------------------------------------------------------ >> >>--------- >> >>>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>>>For additional commands, e-mail: user-help@ant.apache.org >>>> >>>> >>>> >>> >>> >>> >> >>-- >>___________________________________ >>Marcin Gurbisz >>Programista >>PentaComp Systemy Informatyczne Sp. z o.o. >>tel. (22) 639 32 32 do 35, fax (22) 639 32 31 >>tel.kom. 0 606 818 300 >>*www.pentacomp.pl* > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org