You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Daniel Wilson <wi...@gmail.com> on 2009/08/10 18:04:18 UTC

Re: [jira] Created: (PDFBOX-502) How To: compile for .NET for image support..

Have you tried dropping a few of those references?  Jdbc and Corba do not
appear likely to be needed.

Thanks.

Daniel

On Mon, Aug 10, 2009 at 11:50 AM, Rob Bradley (JIRA) <ji...@apache.org>wrote:

> How To: compile for .NET for image support..
> --------------------------------------------
>
>                 Key: PDFBOX-502
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-502
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 0.8.0-incubator
>         Environment: Building for .Net
>            Reporter: Rob Bradley
>            Priority: Trivial
>             Fix For: 0.8.0-incubator
>
>
> I hope I have categorized this correctly...
>
> In order to take advantage of image support in PDFBox (ie to add an image
> to a page) you must compile with at least IKVM ver 0.40.0.1
>
> The older version returns an error "Not Implemented" when creating image
> objects like "org.apache.pdfbox.pdmodel.graphics.xobject.PDJpeg"
>
> The new version supports the java.awt.image library a little better.
>
> However, the new IKVM requires some changes to the build.xml file becease
> the IKVM file names changed.
>
> I probably have over referenced the dll's but this works.
>
> For each of the build.NET portions of build.xml:
> Replace
>            <arg
> value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.ClassLibrary.dll" />
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.AWT.WinForms.dll" />
>
> With
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.AWT.WinForms.dll" />
>            <arg
> value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Charsets.dll" />
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Corba.dll"
> />
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Core.dll" />
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Jdbc.dll" />
>            <arg
> value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Management.dll" />
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Misc.dll" />
>            <arg
> value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Security.dll" />
>            <arg
> value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.SwingAWT.dll" />
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Text.dll" />
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Util.dll" />
>            <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.XML.dll" />
>
>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>