You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by chihiro <ga...@gmail.com> on 2008/08/18 12:05:43 UTC

(confirmation) porting ant's property task

Hi all,

I just need a confirmation that the way to mimic the loading of properties
file in ant is to actually put the definitions
into a foo.rb file and add a require. It seems much natural than trying to
run it via antwrap.

e.g. In my buildfile:

require './foo'

Regards,

Gavin


-- 
View this message in context: http://www.nabble.com/%28confirmation%29-porting-ant%27s-property-task-tp19028676p19028676.html
Sent from the Buildr - User mailing list archive at Nabble.com.


Re: (confirmation) porting ant's property task

Posted by chihiro <ga...@gmail.com>.
Thanks.


Alex Boisvert-3 wrote:
> 
> Also take a look at
> http://incubator.apache.org/buildr/settings_profiles.html#build_settings
> 

Regards,

Gavin
-- 
View this message in context: http://www.nabble.com/%28confirmation%29-porting-ant%27s-property-task-tp19028676p19044142.html
Sent from the Buildr - User mailing list archive at Nabble.com.


Re: (confirmation) porting ant's property task

Posted by Alex Boisvert <bo...@intalio.com>.
On Mon, Aug 18, 2008 at 3:05 AM, chihiro <ga...@gmail.com> wrote:

> I just need a confirmation that the way to mimic the loading of properties
> file in ant is to actually put the definitions into a foo.rb file and add a
> require.It seems much natural than trying to run it via antwrap.
> e.g. In my buildfile:
> require './foo'


Also take a look at
http://incubator.apache.org/buildr/settings_profiles.html#build_settings

alex