ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Strausz <Tibor.Stra...@tridion.com>
Subject RE: property does not change
Date Tue, 06 Aug 2002 11:56:28 GMT
yep thats much beter ;-)
thanks


> -----Original Message-----
> From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com]
> Sent: Tuesday, August 06, 2002 12:35 PM
> To: Ant Users List
> Subject: Re: property does not change
> 
> 
> Properties are immutable, but you can work around what you 
> are trying to 
> do with <antcall> which is more along the lines of what your doing 
> anyway.  Set up your <exec> stuff inside a target, and call it with 
> <antcall> changing the value of ${project} for each call.
> 
> 	Erik
> 
> 
> Tibor Strausz wrote:
> > Hi i have the following problem:
> > i have the following task i would like to use the same proeprty name
> > "project" and redivine it. I read in the documentation that 
> thats not
> > posible :-(
> > is there work around other then using different name each time??
> > 
> > 
> > thnx
> > tibi
> > 
> > <!--=========================================-->
> > <!--=BUILD:
> > 
> Installers\CustomActions\VC\TDSDialogValidation\TDSDialogValid
> ation.dsp=-->
> > <!--=========================================-->
> >   <target name="TDSDialogValidation"
> > 
> description="Installers\CustomActions\VC\TDSDialogValidation\T
> DSDialogValida
> > tion.dsp">
> >     <property name="project"
> > 
> value="Installers\CustomActions\VC\TDSDialogValidation\TDSDial
> ogValidation.d
> > sp"/>      <echo>Make: ${project}</echo>
> >     <exec executable="${msdevExe}">
> >       <arg line="'${srcDir}\${project}' /MAKE 
> 'TDSDialogValidation - Win32
> > Unicode Release' /REBUILD /OUT 
> '${logDir}\TDSDialogValidation.log'"/>
> >     </exec>
> >   </target>
> > <!--=========================================-->
> > <!--=BUILD: Installers\CustomActions\VC\TDSMSMQ\TDSMSMQ.dsp=-->
> > <!--=========================================-->
> >   <target name="TDSMSMQ"
> > description="Installers\CustomActions\VC\TDSMSMQ\TDSMSMQ.dsp">
> >     <property name="project"
> > value="Installers\CustomActions\VC\TDSMSMQ\TDSMSMQ.dsp"/>   
>    <echo>Make: ${project}</echo>
> >     <exec executable="${msdevExe}">
> >       <arg line="'${srcDir}\${project}' /MAKE 'TDSMSMQ - 
> Win32 Unicode
> > Release' /REBUILD /OUT '${logDir}\TDSMSMQ.log'"/>
> >     </exec>
> >   </target>
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> > 
> > 
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> 

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


Mime
View raw message