Er: error is:
BUILD FAILED
file:E:/a20/modules/analytics/build.xml:272: Element type "replaceregexp" must
be followed by either
attribute specifications, ">" or "/>".
Tara Hernandez wrote:
> I'm trying to find the last line of a structure, append a "," then add
> a new line. This code is largely replicated from a java class that also
> uses an ORO jar (though not the jakarta one) to do the same thing, so I
> was hoping it would be a pretty easy conversion.
>
> However, Ant blows chunks if I try to use quotes as part of the
> expression itself. I've tried various methods of escaping them to no
> luck. Anybody have any ideas?
>
> <replaceregexp file="${basedir}/config/env.dna">
> <regexp expression="\"WEBSTORE_SERVER\" String \"(.*)\"$"/>
> <substitution expression="\"WEBSTORE_SERVER\" String \"$1\",\n
> \"NEW_ENV\" String \"new_env.dna\""/>
> </replaceregexp>
>
> -Tara
>
> --
> "I was gratified to be able to answer promptly, and I did. I said I
> didn't know"
>
> -Mark Twain
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
"I was gratified to be able to answer promptly, and I did. I said I didn't
know"
-Mark Twain
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>