ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: j2ee tasks in ant: sealing violation
Date Tue, 01 May 2001 07:20:49 GMT

----- Original Message -----
From: "Steve Loughran" <steve_l@iseran.com>
To: "ant" <ant-dev@jakarta.apache.org>
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


Mime
View raw message