I tried to run the built jar file in ./pdfbox/target path, after this test faluire. It gives me this Error:
"Failed to load Main-Class manifest attribute from pdfbox-1.6.0.jar" Note that my built jar file is about 3.6 MB, but the application version of pdfbox is about 9.8 MB. Because My jar file doesn't include this paths: ./com ./org/apache/commons ./org/apache/fontbox ./org/apache/jempbox and I don't know how to add these files to my jar file. especially com.ibm.icu which is realy important to right-to-left languages. Thanks. On Tue, Oct 11, 2011 at 5:27 PM, Daniel Wilson < [email protected]> wrote: > Ahmad, > > If you got to a test failure, you got the Java source to build. Whether > the > XMPSchemaTest's results matter for your application is another issue ... > but > you may very well be able to do everything you need with the JAR's you > built. > > hth, > Daniel > > On Mon, Oct 10, 2011 at 3:35 PM, ahmad ajiloo <[email protected] > >wrote: > > > Hi > > I can't build pdfbox source by Maven and Ant. > > _________________________________ > > Ant gave me this error when i wanted to run snapshot file which is in > > the pdfbox/target directory: > > Failed to load Main-Class manifest attribute from > > pdfbox-1.6.0-SNAPSHOT.jar > > _________________________________ > > Maven gave me this failure: > > Test set: org.apache.jempbox.xmp.XMPSchemaTest > > ------------------------------------ > > Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.093 > > sec <<< FAILURE! > > testDateList(org.apache.jempbox.xmp.XMPSchemaTest) Time elapsed: > > 0.005 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) > > ... > > >

