Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > NAnt
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
NAnt For discussing the NAnt .NET build tool. When posting a question, please specify the version of NAnt you are using.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the NAnt section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 9th, 2007, 01:11 AM
Authorized User
 
Join Date: Jun 2005
Location: Kathmandu, , Nepal.
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to connect2sandep
Default custom task to read from property file in NANT

Ant has property task which has file attribute to read file from properties files. Is there a similar feature in NANT. I tried the include buildfile but it is very cumbersome. Is there a custom NANT task that can automate reading properties from a separate text file.
Thanks in advance
Reply With Quote
  #2 (permalink)  
Old August 9th, 2007, 02:47 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I just looked at the Ant docs to see what you were referring to and I'm pretty sure there isn't such a task in Nant.

The task doesn't seem like it would be too difficult to port to Nant as a custom task. I wouldn't be at all surprised to find that someone else has already done this.

As for me, an include buildfile with the property tasks seems to work fine.

-Peter
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Server Control....Custom Property Editor ZArrinPour ASP.NET 1.0 and 1.1 Basics 1 June 15th, 2010 11:30 AM
How to read parent Package in Script Task rarediamond25 SQL Server 2005 3 April 12th, 2007 10:01 AM
DTS Package, XML task. Read XML file and store it Victoria SQL Server DTS 0 July 24th, 2006 02:43 PM
Update file from CVS using Nant tool jilly BOOK: ASP.NET Website Programming Problem-Design-Solution 1 May 31st, 2006 08:09 PM
Read a property file Sindhu EJB 0 December 1st, 2005 06:47 AM



All times are GMT -4. The time now is 09:18 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.