I don't know if there is a builtin way, but would this work?

  <j:set var="foo.orig" value="${foo}" />
  <j:set var="foo" value="bar" />

  <!-- At some later point... -->
  <j:set var="foo" value="${foo.orig}" />

I couldn't tell from your question if you were trying to avoid the
j:set altogether, or just avoid hardcoding the original value.

  Jeff

On Thu, 11 Dec 2003, at 07:15:22 [GMT -0600] Marc Dugger wrote:

> If I define 'foo=something' in a build.properties or project.properties and
> I <j:set var="foo" value="bar" /> in maven.xml, is there a way I can return
> 'foo' to the original value (i.e. re-initialize?) defined in
> build.properties or project.properties without having to <j:set var="foo"
value="something" />>?


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to