Why build differently for JDKs? If you bundle xalan, it should work under both.

On Fri, 16 Jul 2004 18:36:26 +0200, Jerome Lacoste
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've had a hard time trying to bundle a dependency dynamically into a
> wae. That is because I didn't check the BaseOject design while doing my
> tests and there is a subtle difference between the getProperties() and
> resolvedProperties() methods.
> 
> In the end, I do something like:
> 
> <echo message="Overriding libs for pre JDK1.4 setups"/>
> ${pom.getDependency('xalan:xalan').resolvedProperties().put('war.
> bundle', 'true')}
> [...]
> 
> Is that the best solution? Or could I have used something more elegant?
> 
> [For those who wonder why I want to do that, please see the
> cruisecontrol reporting module Ant build file.]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to