This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am storing all the project specific ant buildfiles inside the top level dir of each project (in svn). I have a master buildfile stored oustide of svn on my machine.
This was working well but now i want properties files. So i have to have a copy task before each ant call to copy the properties file, as having one in each project is pointless.
Is there a standard way of doing this? I have tried searching the web, but either there is nothing or i don't know the terms.
I don't actually copy properties files, but since Ant has a "first definition wins" policy, I have set up Ant buildfiles to run a hierarchy of property file locations, much as Unix/Linux apps do. That usually means I attempt to pull build properties from the following sequence of locations:
1. Machine global properties
2. build.properties file in my home directory.
3. project properties file in my home directory ("projectname.properties")
4. project properties file in the project itself.
And, of course, for special occasions, the ant command-line trumps all.
Customer surveys are for companies who didn't pay proper attention to begin with.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com