You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ju...@apache.org on 2009/09/25 11:49:43 UTC

svn commit: r818793 - in /incubator/pdfbox/fontbox/trunk: README.txt build.properties.example build.xml pom.xml

Author: jukka
Date: Fri Sep 25 09:49:43 2009
New Revision: 818793

URL: http://svn.apache.org/viewvc?rev=818793&view=rev
Log:
PDFBOX-499: Maven pom.xml & directory structure incorrect for the FontBox 0.8-incubating release

Move also the IKVM.NET setup to the Maven build.

The Maven build can now do everything that the Ant build did, so I'm dropping the Ant files.

Removed:
    incubator/pdfbox/fontbox/trunk/build.properties.example
    incubator/pdfbox/fontbox/trunk/build.xml
Modified:
    incubator/pdfbox/fontbox/trunk/README.txt
    incubator/pdfbox/fontbox/trunk/pom.xml

Modified: incubator/pdfbox/fontbox/trunk/README.txt
URL: http://svn.apache.org/viewvc/incubator/pdfbox/fontbox/trunk/README.txt?rev=818793&r1=818792&r2=818793&view=diff
==============================================================================
--- incubator/pdfbox/fontbox/trunk/README.txt (original)
+++ incubator/pdfbox/fontbox/trunk/README.txt Fri Sep 25 09:49:43 2009
@@ -1,16 +1,28 @@
-===================================================
+====================================================
 Apache FontBox <http://incubator.apache.org/pdfbox/>
-===================================================
+====================================================
 
 FontBox is an open source Java library for working with PDF fonts.
 
-You need Apache Ant <http://ant.apache.org/> to build FontBox. Once you
-have installed Ant, you can build the sources by running "ant" in
-this directory.
+You need Java 1.4 (or higher) and Maven 2 <http://maven.apache.org/> to
+build FontBox. The recommended build command is:
+
+    mvn clean install
+
+The default build will compile the Java sources and package the binary
+classes into a jar package. If you have IKVM.NET <http://www.ikvm.net/>
+installed, you can use the -Dikvm=... option to also build a .NET DLL.
+
+    mvn clean install -Dikvm=/path/to/ikvm
+
+See the Maven documentation for all the other available build options.
 
 See the issue tracker at https://issues.apache.org/jira/browse/PDFBOX 
 (component FontBox) for the full list of known issues and requested features.
 
+FontBox is a subproject of Apache PDFBox. PDFBox is a project of the
+Apache Software Foundation.
+ 
 Disclaimer
 ==========
 

Modified: incubator/pdfbox/fontbox/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/pdfbox/fontbox/trunk/pom.xml?rev=818793&r1=818792&r2=818793&view=diff
==============================================================================
--- incubator/pdfbox/fontbox/trunk/pom.xml (original)
+++ incubator/pdfbox/fontbox/trunk/pom.xml Fri Sep 25 09:49:43 2009
@@ -112,6 +112,40 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>ikvm</id>
+      <activation>
+        <property>
+          <name>ikvm</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <phase>package</phase>
+                <configuration>
+                  <tasks>
+                    <exec executable="${ikvm}/bin/ikvmc.exe">
+                      <arg value="-reference:${ikvm}/bin/IKVM.OpenJDK.ClassLibrary.dll" />
+                      <arg value="-reference:${ikvm}/bin/IKVM.AWT.WinForms.dll" />
+                      <arg value="-target:library" />
+                      <arg value="-out:${project.build.directory}/${project.build.finalName}.dll" />
+                      <arg value="${project.build.directory}/${project.build.finalName}.jar" />
+                    </exec>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>