modifying ant <property> during build

  • Thread starter Parker Thompson
  • Start date
P

Parker Thompson

Hello,

I've run into a problem I can't seem to find a ready solution to.

I'm trying to assure certain chars don't end up in a property specified on
the command line. What I'd like to do is use a regular expression to
replace these chars if they exist during my build. Does anyone have
suggestions on how this might be done? It looks like ReplaceRegExp does
not operate on properties.

thanks,

pt.
 
R

rkm

Ant properties, once set, are not mutable. Another of its
"interesting" behaviors.

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top