This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes ant & properties files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant & properties files" Watch "ant & properties files" New topic

ant & properties files

Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 918

Hi !
I use an xml buld file and a properties file and it works realy good.
I use IntellijIdea(or short IDEA),a great tool, here I have ant task bar where I can insert my ant files and with a simple click I run them.
My problem is : the build file needs its properties.It is possible to load(set) the properties without the command line "ant -propertyfile ..."

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Yes. Declare a property in your build file which takes a file as its value. e.g.:

[ July 14, 2004: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 918

Ok, it works, thanks !
I agree. Here's the link:
subject: ant & properties files
It's not a secret anymore!