buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ittay Dror <ittay.d...@gmail.com>
Subject Re: Set version attribute value in the feature.xml dynamically using buildfile
Date Wed, 15 Oct 2008 08:31:52 GMT


Nagaraj wrote:
>
> Hello,
>
>  
>
> Please find  buildfile, feature.xml
>
>  
>
> Feature.xml  contains
>
>  
>
> <feature id="beehyv.feature" label="%feature.name" version= "5.0.3.0" 
> provider-name="%provider.name" plugin="beehyv.editor">
>
>  
>
> </feature>
>
>  
>
> My requirement is set version attribute in the feature.xml to the 
> VERSION_NUMBER defined in the buildfile
>
>  
>
> Can anyone suggest me how to set version attribute in the feature.xml 
> dynamically using buildfile?
>
I think the best approach is to use the resources task to filter the 
file. See http://incubator.apache.org/buildr/building.html#resources


Ittay

>  
>
>  
>
>  
>
> Thanks in advance
>
>  
>
> Nagaraj
>
>  
>
> ------------------------------------------------------------------------
>
> Take your business to new heights with NetSuite on demand solutions. 
> <http://www.aatmani.com/Aatmani/adclick?adprintid=625>
>

-- 
--
Ittay Dror <ittay.dror@gmail.com>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message