aspose file tools*
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
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant & properties files" Watch "ant & properties files" New topic
Author

ant & properties files

Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

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 ..."


SCJP, SCJD, SCWCD, OCPJBCD
Paul Sturrock
Bartender

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: 916

Ok, it works, thanks !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ant & properties files
 
Similar Threads
ant build files and where to put them
Path Convert tag
in the javac compilation output i need *.properties file. how?
Setting PATH env value in Ant 1.4.1
Best Practices - Properties files