I give up.
after cleaning the externa dir on my local copy it runs perfect.
,------
| pdfbox.compile:
| [javac]
/home/rayman2200/workspace/pdfbox-project-svn/pdfbox/build.xml:193:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
| [javac] Compiling 1 source file to
/home/rayman2200/workspace/pdfbox-project-svn/pdfbox/target/classes
| [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.5
| [javac] Note:
/home/rayman2200/workspace/pdfbox-project-svn/pdfbox/src/main/java/org/apache/pdfbox/encoding/conversion/CJKEncoding.java uses unchecked or unsafe
operations.
| [javac] Note: Recompile with -Xlint:unchecked for details.
| [javac] 1 warning
| [javac]
/home/rayman2200/workspace/pdfbox-project-svn/pdfbox/build.xml:196:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
|
|BUILD SUCCESSFUL
|Total time: 1 second
|
`------
pdfbox.compile and dist are ok
Andreas if you have access to the jenkins, please clean up the working
dir. Maybe there are some old jars in the external that conflict with
the build. if so, maybe the clean target need to be updated to delete
the external dir.
As I see, the classpath is build that way
,-----
| <path id="pdfbox.build.classpath">
| <fileset dir="${jar.dir}" >
| <include name="**/*.jar" />
| </fileset>
|
`------
jar.dir is the external dir. So if some old jars are left, there could
be loaded during the compile.
Best regards
Thomas
PS: I also updated the version to 2.0.0
Zitat von Apache Jenkins Server <jenk...@builds.apache.org>:
See <https://builds.apache.org/job/PDFBox-ant/924/changes>
Changes:
[tchojecki] fix build.xml
- add bcpkix as new dependency
- fix url for bcmail
------------------------------------------
Started by an SCM change
Building remotely on solaris1 in workspace
<https://builds.apache.org/job/PDFBox-ant/ws/>
Updating http://svn.apache.org/repos/asf/pdfbox/trunk
U pdfbox/build.xml
At revision 1477867
[pdfbox] $ /home/hudson/tools/ant/apache-ant-1.7.0/bin/ant -file
build.xml dist
Buildfile: build.xml
pdfbox.clean:
[delete] Deleting directory
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target
[delete] Deleting directory
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/bin
get.externallibs.pdfbox:
testexist:
downloadfile:
[get] Getting:
http://repo2.maven.org/maven2/org/bouncycastle/bcmail-jdk15on/1.48/bcmail-jdk15on-1.48.jar
[get] To:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/external/bcmail-jdk15on-1.48.jar
testexist:
downloadfile:
[get] Getting:
http://repo2.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar
[get] To:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/external/bcprov-jdk15on-1.48.jar
testexist:
downloadfile:
[get] Getting:
http://repo2.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar
[get] To:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/external/bcpkix-jdk15on-1.48.jar
testexist:
downloadfile:
testexist:
downloadfile:
testexist:
downloadfile:
get.externallibs.fontbox:
testexist:
downloadfile:
testexist:
downloadfile:
fontbox.init:
fontbox.compile:
fontbox.package:
[jar] Building jar:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/fontbox/target/fontbox-2.0.0.jar
get.externallibs.jempbox:
testexist:
downloadfile:
testexist:
downloadfile:
jempbox.init:
jempbox.compile:
jempbox.package:
[jar] Building jar:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/jempbox/target/jempbox-2.0.0.jar
pdfbox.init:
[mkdir] Created dir:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes
[mkdir] Created dir:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/bin
[mkdir] Created dir:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output
[mkdir] Created dir:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output/rendering
[mkdir] Created dir:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output-ext
[mkdir] Created dir:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output-ext/rendering
find.adobefiles:
get.adobefiles:
testexist:
downloadfile:
[unjar] Expanding:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/download/pcfi-2010.08.09.jar into
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes/org/apache/pdfbox/resources/afm
[unjar] Expanding:
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/download/pcfi-2010.08.09.jar into
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes/org/apache/pdfbox/resources
pdfbox.compile:
[javac] Compiling 507 source files to
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/exceptions/COSVisitorException.java:25: warning: [deprecation] org.apache.pdfbox.exceptions.WrappedException in org.apache.pdfbox.exceptions has been
deprecated
[javac] public class COSVisitorException extends WrappedException
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:43: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been
deprecated
[javac] import org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption;
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineNode.java:84: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been
deprecated
[javac] COSDictionary parent =
(COSDictionary)node.getDictionaryObject( "Parent", "P" );
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineNode.java:87: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been
deprecated
[javac] if( parent.getDictionaryObject( "Parent",
"P" ) == null )
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:61: warning: [deprecation] org.apache.pdfbox.encryption.PDFEncryption in org.apache.pdfbox.encryption has been
deprecated
[javac] private PDFEncryption encryption = new PDFEncryption();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:103: warning: [deprecation] getOwnerPasswordForEncryption() in org.apache.pdfbox.pdmodel.PDDocument has been
deprecated
[javac] String ownerPassword =
pdDocument.getOwnerPasswordForEncryption();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:104: warning: [deprecation] getUserPasswordForEncryption() in org.apache.pdfbox.pdmodel.PDDocument has been
deprecated
[javac] String userPassword =
pdDocument.getUserPasswordForEncryption();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:113: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been
deprecated
[javac] PDStandardEncryption encParameters =
(PDStandardEncryption)pdDocument.getEncryptionDictionary();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:113: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been
deprecated
[javac] PDStandardEncryption encParameters =
(PDStandardEncryption)pdDocument.getEncryptionDictionary();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:146: warning: [deprecation] org.apache.pdfbox.encryption.PDFEncryption in org.apache.pdfbox.encryption has been
deprecated
[javac] encryption = new PDFEncryption();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:184: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been
deprecated
[javac] PDStandardEncryption encParameters =
(PDStandardEncryption)pdDocument.getEncryptionDictionary();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:184: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been
deprecated
[javac] PDStandardEncryption encParameters =
(PDStandardEncryption)pdDocument.getEncryptionDictionary();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PDEncryptionManager.java:46: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been
deprecated
[javac] registerSecurityHandler(
PDStandardEncryption.FILTER_NAME, PDStandardEncryption.class );
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PDEncryptionManager.java:46: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been
deprecated
[javac] registerSecurityHandler(
PDStandardEncryption.FILTER_NAME, PDStandardEncryption.class );
[javac]
^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:390: incompatible
types
[javac] found : org.bouncycastle.asn1.DERObject
[javac] required: org.bouncycastle.asn1.ASN1Primitive
[javac] ASN1Primitive derobject = asn1inputstream.readObject();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:406: cannot find
symbol
[javac] symbol : method toASN1Primitive()
[javac] location: class org.bouncycastle.asn1.cms.ContentInfo
[javac] return contentinfo.toASN1Primitive();
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationPopup.java:105: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been
deprecated
[javac] PDAnnotation.createAnnotation(
getDictionary().getDictionaryObject( "Parent", "P" ) );
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java:136: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been
deprecated
[javac] while (((COSDictionary)
parent).getDictionaryObject("Parent", "P") != null) {
[javac] ^
[javac]
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java:137: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been
deprecated
[javac] parent = ((COSDictionary)
parent).getDictionaryObject( "Parent", "P" );
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[javac] 17 warnings
BUILD FAILED
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/build.xml:193: Compile failed; see the compiler error output for
details.
Total time: 39 seconds
Build step 'Invoke Ant' marked build as failure