You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2010/04/08 20:36:31 UTC
svn commit: r932055 - in /pdfbox/site: publish/userguide/dot_net.html
src/site/xdoc/userguide/dot_net.xml
Author: lehmi
Date: Thu Apr 8 18:36:31 2010
New Revision: 932055
URL: http://svn.apache.org/viewvc?rev=932055&view=rev
Log:
PDFBOX-675: minor fixes, added the generated file
Modified:
pdfbox/site/publish/userguide/dot_net.html
pdfbox/site/src/site/xdoc/userguide/dot_net.xml
Modified: pdfbox/site/publish/userguide/dot_net.html
URL: http://svn.apache.org/viewvc/pdfbox/site/publish/userguide/dot_net.html?rev=932055&r1=932054&r2=932055&view=diff
==============================================================================
--- pdfbox/site/publish/userguide/dot_net.html (original)
+++ pdfbox/site/publish/userguide/dot_net.html Thu Apr 8 18:36:31 2010
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Mar 18, 2010 -->
+<!-- Generated by Apache Maven Doxia at Apr 8, 2010 -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -11,7 +11,7 @@
@import url("../css/site.css");
</style>
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20100318" />
+ <meta name="Date-Revision-yyyymmdd" content="20100408" />
<meta http-equiv="Content-Language" content="en" />
<meta name="keywords" content="Java PDF Library, pdftotext, PDF to text, ..NET pdf text extraction, pdf ASP, pdf .NET" />
</head>
@@ -190,6 +190,33 @@
required DLL files. For the command line applications that are available in the Java version a native windows executable is
also included. This page contains information that is specific to using the .NET version of PDFBox.
</p>
+ <div class="section"><h3>How to Build for .Net<a name="How_to_Build_for_.Net"></a></h3>
+ <p>
+ The Apache Ant build supports building for .NET via IKVM. At present, the Maven build does not.
+ </p>
+ <ul>
+ <li>Download and install version 0.42 of the <a class="externalLink" href="http://www.ikvm.net">IKVM binaries</a>. Unfortunately, our build script is version-specific. It is
+ designed for 0.42 (at the time of this writing the latest release version). It will not work with 0.38 or earlier.</li>
+ <li>Edit your build.xml file for the Apache Ant build to set the <b>ikvm.dir</b> property to the path in which you installed IKVM. You're looking for the line that says "<property name="ikvm.dir" value="."/>"</li>
+ <li>Type <b>ant build.NET</b> to build.</li>
+ </ul>
+ </div>
+ <div class="section"><h3>How to Strong-name Your PDFBox Assembly<a name="How_to_Strong-name_Your_PDFBox_Assembly"></a></h3>
+ <p>
+ Assuming the basic build process above is working, strong-naming is not difficult.
+ </p>
+ <ul>
+ <li>Create your .snk file using the sn program that comes with MS Visual Studio.</li>
+ <li>Edit your build.xml file to add <arg value="-keyfile:pdfbox.snk" /> to each of the <exec executable="${ikvmc}"> sections building a DLL. Those building EXE's do not need them.</li>
+ <li>Type <b>ant build.NET</b> to build.</li>
+ </ul>
+ </div>
+ <div class="section"><h3>Other Userful IKVM Build Options<a name="Other_Userful_IKVM_Build_Options"></a></h3>
+ <ul>
+ <li> To assign a version number to your DLL include the -version argument with a 4-part version number, e.g. <arg value="-version:1.2.0.2" /> </li>
+ <li>To generate debug information include <arg value="-debug" /> </li>
+ </ul>
+ </div>
<div class="section"><h3>log4j<a name="log4j"></a></h3>
<p>
PDFBox no longer requires log4j! Older versions used to require you to configure log4j before using it in .NET
Modified: pdfbox/site/src/site/xdoc/userguide/dot_net.xml
URL: http://svn.apache.org/viewvc/pdfbox/site/src/site/xdoc/userguide/dot_net.xml?rev=932055&r1=932054&r2=932055&view=diff
==============================================================================
--- pdfbox/site/src/site/xdoc/userguide/dot_net.xml (original)
+++ pdfbox/site/src/site/xdoc/userguide/dot_net.xml Thu Apr 8 18:36:31 2010
@@ -30,35 +30,33 @@
required DLL files. For the command line applications that are available in the Java version a native windows executable is
also included. This page contains information that is specific to using the .NET version of PDFBox.
</p>
- <section name="How to Build for .Net">
+ <subsection name="How to Build for .Net">
<p>
- The Apache Ant build supports building for .NET via IKVM. At present, the Maven build does not.
- <ol>
- <li>Download and install version 0.42 of the <a href="http://www.ikvm.net">IKVM binaries</a>. Unfortunately, our build script is version-specific. It is
+ The Apache Ant build supports building for .NET via IKVM. At present, the Maven build does not.
+ </p>
+ <ul>
+ <li>Download and install version 0.42 of the <a href="http://www.ikvm.net">IKVM binaries</a>. Unfortunately, our build script is version-specific. It is
designed for 0.42 (at the time of this writing the latest release version). It will not work with 0.38 or earlier.</li>
- <li>Edit your build.xml file for the Apache Ant build to set the <b>ikvm.dir</b> property to the path in which you installed IKVM. You're looking for the line that says "<property name="ikvm.dir" value="."/>"</li>
- <li>Type <b>ant build.NET</b> to build.</li>
- </ol>
- </p>
- </subsection>
- <section name="How to Strong-name Your PDFBox Assembly">
+ <li>Edit your build.xml file for the Apache Ant build to set the <b>ikvm.dir</b> property to the path in which you installed IKVM. You're looking for the line that says "<property name="ikvm.dir" value="."/>"</li>
+ <li>Type <b>ant build.NET</b> to build.</li>
+ </ul>
+ </subsection>
+ <subsection name="How to Strong-name Your PDFBox Assembly">
<p>
Assuming the basic build process above is working, strong-naming is not difficult.
- <ol>
- <li>Create your .snk file using the sn program that comes with MS Visual Studio.</li>
- <li>Edit your build.xml file to add <arg value="-keyfile:pdfbox.snk" /> to each of the <exec executable="${ikvmc}"> sections building a DLL. Those building EXE's do not need them.</li>
- <li>Type <b>ant build.NET</b> to build.</li>
- </ol>
- </p>
- </subsection>
- <section name="Other Userful IKVM Build Options">
- <p>
- <ul>
- <li> To assign a version number to your DLL include the -version argument with a 4-part version number, e.g. <arg value="-version:1.2.0.2" /> </li>
- <li>To generate debug information include <arg value="-debug" /> </li>
- </ul>
- </p>
- </subsection>
+ </p>
+ <ul>
+ <li>Create your .snk file using the sn program that comes with MS Visual Studio.</li>
+ <li>Edit your build.xml file to add <arg value="-keyfile:pdfbox.snk" /> to each of the <exec executable="${ikvmc}"> sections building a DLL. Those building EXE's do not need them.</li>
+ <li>Type <b>ant build.NET</b> to build.</li>
+ </ul>
+ </subsection>
+ <subsection name="Other Userful IKVM Build Options">
+ <ul>
+ <li> To assign a version number to your DLL include the -version argument with a 4-part version number, e.g. <arg value="-version:1.2.0.2" /> </li>
+ <li>To generate debug information include <arg value="-debug" /> </li>
+ </ul>
+ </subsection>
<subsection name="log4j">
<p>
PDFBox no longer requires log4j! Older versions used to require you to configure log4j before using it in .NET