NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Milan Kubec Posted via mailing list.
|
Posted: Thu Jul 10, 2008 8:31 am Post subject: Ant token/filter replacement? |
|
|
Alex Sherwin wrote:
| Quote: |
Hello All,
I’m setting up some NetBeans projects that utilize some shared source
from other projects. There is a need to be able to do token
replacement in files that are inside the source tree (xml config
files, etc). I find it hard to believe that NetBeans doesn’t have a
way to implement this basic/essential ant feature… I’ve figured out
how I can manually do this by modifying some of the properties files
and the build-impl.xml, but these files are auto-generated and each
time you re-open the project NB sees that have been touched/modified
and wants to regenerate them.
Is there something I am missing? Surely there is a way to do this…
Alex Sherwin
alex.sherwin@acadiasoft.com
|
Hello,
all those preprocessing you are mentioning should be done in build.xml
script (under the project root directory). There can be number of
'-pre-' targets that are invoked prior any major action in
build-impl.xml. There is comment in build.xml describing it.
Milan |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|