ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Jackson <foamd...@gmail.com>
Subject Re: failing test cases in the build of ant 1.8.0RC1
Date Thu, 07 Jan 2010 19:11:33 GMT
Hi,

I've taken the tagged 1.8RC1 from svn and built against the jars I
used for 1.7.1
I get a few Class Cast errors for example:

XMLFragmentTest	testNestedText	Error	weblogic.apache.xerces.parsers.SecurityConfiguration
cannot be cast to
weblogic.apache.xerces.xni.parser.XMLParserConfiguration

The environment:
kjackson@ubuntu-dev:~/workspace/ant-1.8rc1$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
kjackson@ubuntu-dev:~/workspace/ant-1.8rc1$

kjackson@ubuntu-dev:~/workspace/ant-1.8rc1$ uname -a
Linux ubuntu-dev 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15
UTC 2009 x86_64 GNU/Linux

kjackson@ubuntu-dev:~/workspace/ant-1.8rc1$ ls -la lib/optional
total 74416
drwxr-xr-x 3 kjackson kjackson     4096 2010-01-07 18:22 .
drwxr-xr-x 4 kjackson kjackson     4096 2010-01-07 18:13 ..
-rwxrwx--- 1 kjackson kjackson    55932 2008-04-29 02:30 activation.jar
-rw-r--r-- 1 kjackson kjackson    35776 2010-01-07 18:13 ant-antunit-1.1.jar
-rwxrwx--- 1 kjackson kjackson   435563 2008-04-29 02:30 antlr-2.7.5.jar
-rwxrwx--- 1 kjackson kjackson   533339 2008-04-29 02:30 bcel-5.2.jar
-rwxrwx--- 1 kjackson kjackson   113369 2008-04-29 02:30 bsf.jar
-rwxrwx--- 1 kjackson kjackson    38015 2008-04-29 02:30
commons-logging-1.0.4.jar
-rwxrwx--- 1 kjackson kjackson   180792 2008-04-29 02:30 commons-net-1.4.1.jar
-rwxrwx--- 1 kjackson kjackson  2291445 2008-04-29 02:30 groovy-all-1.0.jar
-rwxrwx--- 1 kjackson kjackson   728649 2008-04-29 02:30 jacl.jar
-rwxrwx--- 1 kjackson kjackson   258160 2008-04-29 02:30 jai_codec.jar
-rwxrwx--- 1 kjackson kjackson  1900631 2008-04-29 02:30 jai_core.jar
-rwxrwx--- 1 kjackson kjackson    65261 2008-04-29 02:30 jakarta-oro-2.0.8.jar
-rwxrwx--- 1 kjackson kjackson    33028 2008-04-29 02:30 jakarta-regexp-1.5.jar
-rwxrwx--- 1 kjackson kjackson    82818 2008-04-29 02:30 jdepend-2.9.jar
-rwxrwx--- 1 kjackson kjackson  1088261 2008-04-29 02:30 jruby.jar
-rwxrwx--- 1 kjackson kjackson   143138 2008-04-29 02:30 jsch-0.1.33.jar
-rwxrwx--- 1 kjackson kjackson   813521 2008-04-29 02:30 js.jar
-rwxrwx--- 1 kjackson kjackson  2990564 2008-04-29 02:30 judo.jar
-rw-r--r-- 1 kjackson kjackson   120640 2010-01-07 18:13 junit-3.8.2.jar
-rwxrwx--- 1 kjackson kjackson  4547548 2008-04-29 02:30
jython_Release_2_2alpha1.jar
-rw-r--r-- 1 kjackson kjackson    15198 2010-01-07 18:13 LICENSE.junit.html
-rwxrwx--- 1 kjackson kjackson   367444 2008-04-29 02:30 log4j-1.2.14.jar
-rwxrwx--- 1 kjackson kjackson   388826 2008-04-29 02:30 mail-1.4.jar
-rwxrwx--- 1 kjackson kjackson   355931 2008-04-29 02:30 NetRexxC.jar
-rwxrwx--- 1 kjackson kjackson    36610 2008-04-29 02:30 NetRexxR.jar
-rw-r--r-- 1 kjackson kjackson      201 2010-01-07 18:13 README
-rwxrwx--- 1 kjackson kjackson    84091 2008-04-29 02:30 resolver.jar
-rwxrwx--- 1 kjackson kjackson   188993 2008-04-29 02:30 serializer.jar
-rwxrwx--- 1 kjackson kjackson  2905469 2008-04-29 02:30 starteam93.jar
-rwxrwx--- 1 kjackson kjackson    57857 2008-04-29 02:30 stylebook-1.0-b2.jar
drwxr-xr-x 6 kjackson kjackson     4096 2010-01-07 18:13 .svn
-rwxrwx--- 1 kjackson kjackson   220552 2008-04-29 02:30 tcljava.jar
-rwxrwx--- 1 kjackson kjackson  5786487 2008-04-29 02:30 weblogicaux.jar
-rwxrwx--- 1 kjackson kjackson  9582053 2008-04-29 02:30 weblogicclasses.jar
-rwxrwx--- 1 kjackson kjackson 33894880 2008-04-29 02:30 weblogic.jar
-rwxrwx--- 1 kjackson kjackson   856167 2008-04-29 02:30 xalan1.jar
-rwxrwx--- 1 kjackson kjackson  3078593 2008-04-29 02:30 xalan.jar
-rwxrwx--- 1 kjackson kjackson  1831079 2008-04-29 02:30 xsltc.jar

I don't know the exact versions of the weblogic jars, but these were
the ones I used to build 1.7.1.

My guess is that this is caused by tying to build with Java6.

Thanks,
Kev

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message