Thanks.
Here is the report:
https://issues.apache.org/jira/browse/PDFBOX-1157
but I couldn't attach the "maven_report" and
"org.apache.jempbox.xmp.XMPSchemaTest.txt" files which is attached
here. please find them.
On 11/2/11, Jukka Zitting <[email protected]> wrote:
> Hi,
>
>
> On Wed, Nov 2, 2011 at 1:46 PM, Ahmad Ajiloo <[email protected]> wrote:
>> There is no target directory in ./app !
>> Maybe because of the faliure which I got in building pdfbox.
>
> Ah, that explains. You can skip the tests by running the Maven build like
> this:
>
> mvn clean install -DskipTests
>
> After that you should have all the jars in place.
>
> Anyway, it would be good to figure out what exactly goes wrong with
> the test case, as they should all pass by default. Can you file a bug
> report at [1] and include a copy of the test failure and the output of
> "mvn --version"?
>
> [1] https://issues.apache.org/jira/browse/PDFBOX
>
> BR,
>
> Jukka Zitting
>
-------------------------------------------------------------------------------
Test set: org.apache.jempbox.xmp.XMPSchemaTest
-------------------------------------------------------------------------------
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec <<<
FAILURE!
testDateList(org.apache.jempbox.xmp.XMPSchemaTest) Time elapsed: 0.008 sec
<<< FAILURE!
junit.framework.AssertionFailedError: expected:<12600000> but was:<10860000>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at
org.apache.jempbox.xmp.XMPSchemaTest.assertEquals(XMPSchemaTest.java:249)
at
org.apache.jempbox.xmp.XMPSchemaTest.testDateList(XMPSchemaTest.java:312)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)