NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Ant token/filter replacement?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Milan Kubec
Posted via mailing list.





PostPosted: Thu Jul 10, 2008 8:31 am    Post subject: Ant token/filter replacement? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo