Thanks...Sorry for the repeated question, but I just joined and am new to Ant and haven't seen the conversations about sealing violations....In any case, I fixed my classpath and everything seems to work.... Another question: I noticed that documentation for the "built in tasks" for Ant at http://jakarta.apache.org/ant/manual/index.html are all on different screens.... Does anyone have a printable version of the built in (core) tasks, as well as the optional tasks. KC Baltz <KBaltz@responsenet To: "'[EMAIL PROTECTED]'" works.com> <[EMAIL PROTECTED]> cc: 03/19/01 10:29 AM Subject: RE: sealing violation when Please respond to running ANT...Help! ant-user This is a tricky bug, but my understanding is that it has to do with multiple versions of a class appearing in your classpath. And for some reason, all the examples of people having trouble that I have seen, have involved XML parsers. Specifically, parser.jar and xalan.jar can conflict with each other. Try playing around with your classpath. In fact, most people (myself included) believe it's a good idea when using Ant to have your classpath unset and set it in your build.xml. K.C. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 19, 2001 12:54 PM > To: [EMAIL PROTECTED] > Subject: sealing violation when running ANT...Help! > > > Anyone know what this is when building one of the demo files..... > > > > > mysolaris% ant -buildfile get.xml > Buildfile: get.xml > > BUILD FAILED > > java.lang.SecurityException: sealing violation > at java.lang.Throwable.fillInStackTrace(Native Method) > at java.lang.Throwable.fillInStackTrace(Compiled Code) > at java.lang.Throwable.<init>(Compiled Code) > at java.lang.Exception.<init>(Exception.java:42) > at java.lang.RuntimeException.<init>(RuntimeException.java:47) > at > java.lang.SecurityException.<init>(SecurityException.java:39) > at java.net.URLClassLoader.defineClass(Compiled Code) > at java.net.URLClassLoader.access$1(Compiled Code) > at java.net.URLClassLoader$1.run(Compiled Code) > at java.security.AccessController.doPrivileged(Native Method) > at java.security.AccessController.doPrivileged(Compiled Code) > at java.net.URLClassLoader.findClass(Compiled Code) > at java.lang.ClassLoader.loadClass(Compiled Code) > at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code) > at java.lang.ClassLoader.loadClass(Compiled Code) > at java.lang.ClassLoader.loadClassInternal(Compiled Code) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName0(Compiled Code) > at java.lang.Class.forName(Compiled Code) > at > javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java: > 117) > at > org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.jav > a:706) > at org.apache.tools.ant.ProjectHelper.parse(Compiled Code) > at > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav > a:85) > at org.apache.tools.ant.Main.runBuild(Compiled Code) > at org.apache.tools.ant.Main.main(Main.java:149) > > Total time: 0 seconds > sealing violation >
