Ant build contains errors but still reports SUCCESS.
----------------------------------------------------
Key: ABDERA-174
URL: https://issues.apache.org/jira/browse/ABDERA-174
Project: Abdera
Issue Type: Bug
Affects Versions: 0.5.0
Reporter: Remy Gendron
I have the following Ant build errors. The build still reports the following at
the end:
BUILD SUCCESSFUL
Total time: 5 minutes 58 seconds
I am running the zip target.
Some of the errors are:
[echo] Running Stax Parser Tests...
[java] Time: 61.526
[java] There was 1 failure:
[java] 1) testSetContent2(org.apache.abdera.test.parser.stax.FOMTest)
[java] junit.framework.ComparisonFailure: null expected:<t[ó]st> but
was:<t[ó]st>
[echo] Running tests for extension features...
[java] .E.E.E.E
[java] Time: 0.281
[java] There were 4 failures:
[java] 1)
testFeaturesDocument(org.apache.abdera.test.ext.features.FeatureTest)
[java] java.lang.ClassCastException:
org.apache.abdera.parser.stax.FOMExtensibleElement
[java] at
org.apache.abdera.ext.features.FeaturesHelper.newFeatures(FeaturesHelper.java:244)
[java] at
org.apache.abdera.test.ext.features.FeatureTest.testFeaturesDocument(FeatureTest.java:42).
test.security:
[echo] Running Security Tests...
[java] 2008-06-04 10:00:30.059::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
[java] 2008-06-04 10:00:30.105::INFO: jetty-6.1.3
[java] 2008-06-04 10:00:30.168::INFO: Started SocketConnector @
0.0.0.0:9002
[java] AbderaServlet.error: Error servicing request
[java] java.lang.NoClassDefFoundError: org/apache/xml/serialize/Serializer
[java] at java.lang.Class.getDeclaredConstructors0(Native Method)
[java] at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
[java] at java.lang.Class.getConstructor0(Class.java:2671)
[java] at java.lang.Class.getConstructor(Class.java:1629)
[java] at
org.apache.abdera.util.ServiceUtil._create(ServiceUtil.java:168)
[java] at
org.apache.abdera.util.ServiceUtil.locateInstance(ServiceUtil.java:222)
[java] at
org.apache.abdera.util.ServiceUtil.locateInstance(ServiceUtil.java:215)
[java] at
org.apache.abdera.util.ServiceUtil.locate(ServiceUtil.java:137)
[java] at
org.apache.abdera.util.ServiceUtil.newInstance(ServiceUtil.java:58)
[java] at
org.apache.abdera.security.AbderaSecurity.newEncryption(AbderaSecurity.java:56)
[java] at
org.apache.abdera.security.AbderaSecurity.<init>(AbderaSecurity.java:40)
[java] at
org.apache.abdera.security.util.filters.SignedRequestFilter.filter(SignedRequestFilter.java:45)
[java] at
org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:42)
[java] at
org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90)
[java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.