ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Bilenjkij <i...@netivity.dhs.org>
Subject Re: compiling ant from cvs
Date Fri, 24 Nov 2000 23:22:15 GMT
OK, I forgot parser.jar in my classpath. Everything's fine - it compiles now.

ivan

Ivan Bilenjkij wrote:

> I have tried to build ant from CVS without any success. Can current
> version in cvs compile at all? What am I missing?
>
> The following is an output with jaxp-1.0.1 :
>
> [ivan@toaster jakarta-ant]$ sh build.sh
> ... Bootstrapping Ant Distribution
> ... Compiling Ant Classes
> ... Copying Required Files
> ... Building Ant Distribution
> Buildfile: build.xml
>
> BUILD FAILED
>
> javax.xml.parsers.FactoryConfigurationError:
> com.sun.xml.parser.SAXParserFactoryImpl
>         at
> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84)
>
>         at
> org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.java:637)
>
>         at
> org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:102)
>         at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
>
>         at org.apache.tools.ant.Main.runBuild(Main.java:403)
>         at org.apache.tools.ant.Main.main(Main.java:149)
>
> Total time: 0 seconds
> com.sun.xml.parser.SAXParserFactoryImpl
> ... Cleaning Up Build Directories
> chmod: getting attributes of `bin/ant': No such file or directory
> chmod: getting attributes of `bin/antRun': No such file or directory
> ... Done Bootstrapping Ant Distribution
> build.sh: bin/ant: No such file or directory
>
> And heres whats happening when I'm using jaxp-1.1ea:
>
> [ivan@toaster jakarta-ant]$ sh build.sh
> ... Bootstrapping Ant Distribution
> ... Compiling Ant Classes
> ... Copying Required Files
> ... Building Ant Distribution
> Buildfile: build.xml
>
> BUILD FAILED
>
> java.lang.SecurityException: sealing violation
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:120)
>         at
> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:92)
>
>         at
> org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.java:637)
>
>         at
> org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:102)
>         at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
>
>         at org.apache.tools.ant.Main.runBuild(Main.java:403)
>         at org.apache.tools.ant.Main.main(Main.java:149)
>
> Total time: 0 seconds
> sealing violation
> ... Cleaning Up Build Directories
> chmod: getting attributes of `bin/ant': No such file or directory
> chmod: getting attributes of `bin/antRun': No such file or directory
> ... Done Bootstrapping Ant Distribution
> build.sh: bin/ant: No such file or directory
>
> My classpath is:
> /usr/local/j2sdkee/lib/j2ee.jar:\
> /usr/local/jpda/lib/jpda.jar:\
> /usr/local/lib/java/jsse/lib/jsse.jar:\
> /usr/local/lib/java/jsse/lib/jnet.jar:\
> /usr/local/lib/java/jsse/lib/jcert.jar:\
> /usr/local/lib/java/jaxp/jaxp.jar:\
> /usr/local/lib/java/jaxp/xalan.jar:\
> /usr/local/lib/java/jaxp/crimson.jar:\
> /usr/local/lib/java/iaik-ssl/iaik_jce_full.jar:\
> /usr/local/lib/java/iaik-ssl/iaik_ssl.jar:\
> /usr/local/lib/java/iaik-ssl/
> /usr/local/lib/java/iaik-ssl/jdk11x_update.jar:\
> /usr/local/lib/java/iaik-ssl/w3c_http.jar:\
> /usr/local/lib/java/oracle/classes12_01.zip:\
> /usr/local/lib/java/oracle/nls_charset12_01.zip


Mime
View raw message