> >try replacing:
> > <j:expr value="${dep.setProperty('war.bundle','false')}" />
> >with:
> > <j:set var="dummy">${dep.setProperty('war.bundle','false')}</j:set>
> >
> I still couldn't get this to work.  Is this the correct syntax to set a
> property?  I was guessing the first time.  This is confusing to be
> because the Dependency class does not have a setProperty method, so I'm
> not sure how these properties are even being handled by maven (or jelly).

ah, ok. I hadn't checked that. Try
${dep.getProperties().setProperty('war.bundle', 'false')}

> This is a hack and tomcat even notes that the cross context loading
> should not be done in a production environment, so we only do this for
> development.
> 
> It's not very interesting and eventually this needs to be refactored,
> but we are stuck with it right now.

I guess hacks beget hacks ;)

Cheers,
Brett

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

Reply via email to