[
https://issues.apache.org/jira/browse/PDFBOX-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811960#comment-13811960
]
David KELLER commented on PDFBOX-1768:
--------------------------------------
Dear Andreas,
I use (since a while) http://svn.apache.org/repos/asf/pdfbox/trunk via Eclipse
Then yesterday I update the source code (team > update to head)
run as ant build /pdfbox/pdfbox/build.xml
I see during the build that new bouncycastle lib was downloaded
then in /pdfbox/pdfbox/external I have 2 lib version bcmail-jdk15-1.44.jar and
bcmail-jdk15on-1.48.jar
I remove all files /pdfbox/pdfbox/external and rebuild and it works !
Perhaps you can give a hint in build process to clean this repository ?
Best
David
> cannot build last source code
> -----------------------------
>
> Key: PDFBOX-1768
> URL: https://issues.apache.org/jira/browse/PDFBOX-1768
> Project: PDFBox
> Issue Type: Bug
> Components: Signing
> Affects Versions: 1.8.3, 2.0.0
> Environment: Win8.1, Eclipse
> Reporter: David KELLER
>
> When i run pdfbox ant build.xml I have this issue :
> [javac]
> D:\_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PDEncryptionManager.java:46:
> warning: [deprecation] PDStandardEncryption in
> org.apache.pdfbox.pdmodel.encryption has been deprecated
> [javac] registerSecurityHandler(
> PDStandardEncryption.FILTER_NAME, PDStandardEncryption.class );
> [javac]
> ^
> [javac]
> D:\_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PublicKeySecurityHandler.java:391:
> error: incompatible types
> [javac] ASN1Primitive derobject = asn1inputstream.readObject();
> [javac] ^
> [javac] required: ASN1Primitive
> [javac] found: DERObject
> [javac]
> D:\_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PublicKeySecurityHandler.java:407:
> error: cannot find symbol
> [javac] return contentinfo.toASN1Primitive();
> [javac] ^
> [javac] symbol: method toASN1Primitive()
> [javac] location: variable contentinfo of type ContentInfo
--
This message was sent by Atlassian JIRA
(v6.1#6144)