----- Original Message -----
From: "Steve Loughran" <[EMAIL PROTECTED]>
To: "ant" <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 11:50 AM
Subject: j2ee tasks in ant: sealing violation


> hello,
>
> I was doing a task which needed j2ee.jar classes, so I dropped it into the
> ant/lib directory and now I get sealing violations whenever I try and
build
> ant.
>
> I think its a clash of sax classes or something else in j2ee.jar.
>
> The question is: how do I stop the sealing violation and still build j2ee
> tasks?
>

I'll answer this myself

the workaround is to stick the j2ee jar in the lib/optional subdir where it
doesnt get picked up in the ant load process, then add lib/optional/*.jar to
the classpath path used in the rest of the build.

-steve

Reply via email to