You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Rafael Duarte Morais <ra...@paiva.com.br> on 2011/04/12 21:07:07 UTC

Can´t buld .NET Version of PDFBox

Hello,

 

My name is Rafael and I´m trying to build PDFBox in .NET version. 

 

PDFBox version: 0.7.3 

IKVM Version: 3.0.0. (Higher version generates an error:  [exec] Error:
reference not found: C:\Documents and
Settings\Administrador\Desktop\ikvm\ikvm-0.

46.0.1/bin/IKVM.GNU.Classpath.dll)

 

When I run the build.NET I get the following output:

 

C:\Documents and
Settings\Administrador\Desktop\PDFBox-0.7.3\PDFBox-0.7.3>ant build.NET

Buildfile: C:\Documents and
Settings\Administrador\Desktop\PDFBox-0.7.3\PDFBox-0.7.3\build.xml

 

checkForIKVM:

 

pdfbox.init:

 

compile:

    [javac] C:\Documents and
Settings\Administrador\Desktop\PDFBox-0.7.3\PDFBox-0.7.3\build.xml:84:

warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for re

peatable builds

 

package:

[propertyfile] Updating property file: C:\Documents and
Settings\Administrador\Desktop\PDFBox-0.7.3\

PDFBox-0.7.3\Resources\pdfbox.version

      [jar] Building jar: C:\Documents and
Settings\Administrador\Desktop\PDFBox-0.7.3\PDFBox-0.7.3\

lib\PDFBox-0.7.3-dev.jar

      [zip] Building zip: C:\Documents and
Settings\Administrador\Desktop\PDFBox-0.7.3\PDFBox-0.7.3\

lib\pdfbox.war

 

build.NET:

     [echo] Building BC Prov

     [echo] Building BC Mail

     [exec] Warning IKVMC0100: class "javax.mail.internet.MimeMessage" not
found

     [exec] Warning IKVMC0100: class "javax.mail.Session" not found

     [exec] Warning IKVMC0100: class "javax.mail.internet.MimeBodyPart" not
found

     [exec] Warning IKVMC0100: class "javax.activation.DataHandler" not
found

     [exec] Warning IKVMC0100: class "javax.mail.Header" not found

     [exec] Warning IKVMC0100: class "javax.mail.MessagingException" not
found

     [exec] Warning IKVMC0100: class "javax.mail.internet.MimeMultipart" not
found

     [exec] Warning IKVMC0100: class "javax.mail.BodyPart" not found

     [exec] Warning IKVMC0100: class "javax.activation.CommandMap" not found

     [exec] Warning IKVMC0100: class "javax.activation.MailcapCommandMap"
not found

     [exec] Warning IKVMC0100: class "javax.mail.Part" not found

     [exec] Warning IKVMC0100: class "javax.mail.internet.MimePart" not
found

     [exec] Warning IKVMC0100: class "javax.mail.Authenticator" not found

     [exec] Warning IKVMC0100: class "javax.mail.internet.InternetAddress"
not found

     [exec] Warning IKVMC0100: class "javax.mail.Address" not found

     [exec] Warning IKVMC0100: class "javax.mail.Message$RecipientType" not
found

     [exec] Warning IKVMC0100: class "javax.mail.Message" not found

     [exec] Warning IKVMC0100: class
"org.bouncycastle.mail.smime.util.SharedFileInputStream" not fo

und

     [exec] Warning IKVMC0100: class
"org.bouncycastle.mail.smime.util.FileBackedMimeBodyPart" not f

ound

     [exec] Warning IKVMC0100: class "javax.activation.FileDataSource" not
found

     [exec] Warning IKVMC0100: class "javax.activation.DataSource" not found

     [exec] Warning IKVMC0105: unable to compile class
"org.bouncycastle.mail.smime.handlers.x_pkcs7

_signature"

     [exec]     (missing class "javax.activation.DataContentHandler")

     [exec] Warning IKVMC0105: unable to compile class
"org.bouncycastle.mail.smime.handlers.multipa

rt_signed"

     [exec]     (missing class "javax.activation.DataContentHandler")

     [exec] Warning IKVMC0105: unable to compile class
"org.bouncycastle.mail.smime.handlers.x_pkcs7

_mime"

     [exec]     (missing class "javax.activation.DataContentHandler")

     [exec] Warning IKVMC0100: class "javax.mail.Multipart" not found

     [exec] Warning IKVMC0100: class "javax.mail.Transport" not found

     [exec] Warning IKVMC0105: unable to compile class
"org.bouncycastle.mail.smime.handlers.pkcs7_m

ime"

     [exec]     (missing class
"org.bouncycastle.mail.smime.handlers.PKCS7ContentHandler")

     [exec] Warning IKVMC0105: unable to compile class
"org.bouncycastle.mail.smime.handlers.pkcs7_s

ignature"

     [exec]     (missing class
"org.bouncycastle.mail.smime.handlers.PKCS7ContentHandler")

     [echo] Building FontBox

     [echo] Building PDFBox

     [exec] Error: unsupported class file version: (unknown) (50.0)

     [exec] Result: 1

     [echo] Building Decrypt

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

     [exec] Error: reference not found: bin\PDFBox-0.7.3-dev.dll

     [exec] Result: 1

 

BUILD SUCCESSFUL

Total time: 30 seconds

 

Why all these classes are missing? Anyone know how I can fix it?

 

Thanks for your time,

 

Rafael