Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ymasory committed Aug 30, 2010
0 parents commit 1095ce6
Show file tree
Hide file tree
Showing 1,192 changed files with 533,827 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .keywords
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Author
Date
Id
Revision
Binary file added lib/bcmail-jdk14-138.jar
Binary file not shown.
Binary file added lib/bcprov-jdk14-138.jar
Binary file not shown.
Binary file added lib/bctsp-jdk14-138.jar
Binary file not shown.
Binary file added lib/crimson.jar
Binary file not shown.
Binary file added lib/dom4j-1.6.1.jar
Binary file not shown.
Binary file added lib/iTextAsian.jar
Binary file not shown.
Binary file added lib/iTextAsianCmaps.jar
Binary file not shown.
Binary file added lib/itext-hyph-xml.jar
Binary file not shown.
Binary file added lib/jcommon.jar
Binary file not shown.
Binary file added lib/jfreechart.jar
Binary file not shown.
Binary file added lib/junit-4.4.jar
Binary file not shown.
Binary file added lib/pdf-renderer.jar
Binary file not shown.
Binary file added lib/servlet.jar
Binary file not shown.
64 changes: 64 additions & 0 deletions src/ant/.ant.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
releasenumber=4.2.0
releasedate=2009-11-27

itext.home=../..

itext.src=${itext.home}/src
itext.www=${itext.home}/www
itext.build=${itext.home}/build
itext.lib=${itext.home}/lib

itext.jar=${itext.lib}/iText.jar
jfreechart.jar=${itext.lib}/jfreechart.jar
jcommon.jar=${itext.lib}/jcommon.jar
servlet.jar=${itext.lib}/servlet.jar

bc.jdk=jdk14
bc.version=138

lib.bcmail=bcmail-${bc.jdk}-${bc.version}.jar
lib.bcprov=bcprov-${bc.jdk}-${bc.version}.jar
lib.bctsp=bctsp-${bc.jdk}-${bc.version}.jar
lib.dom4j=pdf-renderer.jar
lib.pdf-renderer=dom4j-1.6.1.jar

itext.src.lowagie=${itext.www}/lowagie
itext.src.tutorial=${itext.www}/tutorial
itext.src.examples=${itext.www}/examples

itext.bin=${itext.build}/bin
itext.docs=${itext.build}/docs
itext.lowagie=${itext.build}/lowagie
itext.tutorial=${itext.build}/tutorial
itext.examples=${itext.build}/examples
itext.webapp=${itext.build}/webapp
itext.release=${itext.build}/release
itext.downloads=${itext.build}/downloads
itext.dist=${itext.release}/dist
itext.sf=${itext.release}/sf
itext.maven=${itext.release}/maven

itext.bin.temp=${itext.build}/bin.temp
itext.jnlp=${itext.build}/jnlp

itext.rups.src=${itext.src}/rups
itext.rups.bin=${itext.build}/bin.rups
itext.rups.jar=${itext.lib}/iText-rups.jar

itext.toolbox.src=${itext.src}/toolbox
itext.toolbox.bin=${itext.build}/bin.toolbox
itext.toolbox.jar=${itext.lib}/iText-toolbox.jar

itext.rtf.src=${itext.src}/rtf
itext.rtf.bin=${itext.build}/bin.rtf
itext.rtf.jar=${itext.lib}/iText-rtf.jar

itext.keystore.filename=${itext.lib}/.keystore
itext.keystore.password=dummypass
itext.keystore.alias=itext
itext.keystore.storetype=jks
itext.keystore.dname=CN=iText Self-Signed Certificate

itext.jdk.core=1.4
itext.jdk.rups=1.5
itext.jdk.toolbox=1.5
17 changes: 17 additions & 0 deletions src/ant/.ant.test.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
itext.home=..
itext.build=${itext.home}/build
itext.lib=${itext.home}/lib

junit.jar=${itext.lib}/junit-4.4.jar

itext.src.test=${itext.home}/test

itext.bin.examples=${itext.build}/bin.examples
itext.bin.test=${itext.build}/test
itext.bin.data=${itext.build}/test.data
itext.reports=${itext.build}/reports

itext.rtf.test=${itext.build}/test.rtf

itext.jdk.examples=1.4
itext.jdk.test=1.5
179 changes: 179 additions & 0 deletions src/ant/compile.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
<?xml version="1.0"?>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- iText, a JAVA - PDF library -->
<!-- $Id: compile.xml 3954 2009-06-08 00:50:15Z xlv $ -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<project name="iText.compile" default="help">
<property file="local.properties" />
<property file="${user.home}/.ant.properties" />
<property file=".ant.properties" />

<path id="itext.classpath">
<pathelement location="${itext.bin}"/>
<!-- jars needed for iText (core) -->
<pathelement path="${itext.lib}/${lib.bcmail}"/>
<pathelement path="${itext.lib}/${lib.bcprov}"/>
<pathelement path="${itext.lib}/${lib.bctsp}"/>
<!-- jars needed for RUPS -->
<pathelement path="${itext.lib}/${lib.pdf-renderer}"/>
<pathelement path="${itext.lib}/${lib.dom4j}"/>
</path>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Help -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="help" description="--> shows the help screen">
<echo>COMPILING AND JARRING THE CODE (compile.xml)</echo>
<echo>ant compile: compiles iText (core)</echo>
<echo>ant compile.rtf: compiles iText RTF</echo>
<echo>ant compile.rups: compiles iText RUPS</echo>
<echo>ant jar: compiles and jars iText</echo>
<echo>ant jar.rtf: compiles and jars iText RTF</echo>
<echo>ant jar.rups: compiles and jars iText RUPS</echo>
<echo />
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Compiling the code -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="compile" description="--> compiles the iText code">
<mkdir dir="${itext.bin}" />
<javac source="${itext.jdk.core}" target="${itext.jdk.core}" srcdir="${itext.src}/core" destdir="${itext.bin}">
<classpath refid="itext.classpath"/>
</javac>
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Compiling the rtf code -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="compile.rtf" depends="compile" description="--> compiles the iText code">
<mkdir dir="${itext.rtf.bin}" />
<javac source="${itext.jdk.core}" target="${itext.jdk.core}" srcdir="${itext.rtf.src}" destdir="${itext.rtf.bin}">
<classpath refid="itext.classpath"/>
</javac>
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Compiling the RUPS code -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="compile.rups" depends="compile" description="--> compiles the RUPS code">
<mkdir dir="${itext.rups.bin}" />
<javac source="${itext.jdk.rups}" target="${itext.jdk.rups}" srcdir="${itext.rups.src}" destdir="${itext.rups.bin}">
<classpath refid="itext.classpath"/>
</javac>
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Compiling the Toolbox code -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="compile.toolbox" depends="compile" description="--> compiles the Toolbox code">
<mkdir dir="${itext.toolbox.bin}" />
<javac source="${itext.jdk.toolbox}" target="${itext.jdk.toolbox}" srcdir="${itext.toolbox.src}" destdir="${itext.toolbox.bin}">
<classpath refid="itext.classpath"/>
</javac>
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Jarring the code -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="make.jar" depends="compile" description="--> makes a jarfile from the iText code">
<mkdir dir="${itext.bin}/com/lowagie/text/pdf/fonts" />
<copy todir="${itext.bin}/com/lowagie/text/pdf/fonts" overwrite="yes">
<fileset dir="${itext.src}/core/com/lowagie/text/pdf/fonts">
<include name="**/*.afm"/>
<include name="**/*.html"/>
</fileset>
</copy>
<copy todir="${itext.bin}/com/lowagie/text/" overwrite="yes">
<fileset dir="${itext.src}/core/com/lowagie/text/">
<include name="**/*.txt"/>
</fileset>
</copy>
<jar jarfile="${itext.jar}" basedir="${itext.bin}">
<manifest>
<attribute name="Main-Class" value="com.lowagie.tools.ToolboxAvailable"/>
<!-- <attribute name="Class-Path" value="iText-toolbox.jar iText-toolbox-${releasenumber}.jar ${lib.bcmail} ${lib.bcprov} ${lib.bctsp}"/> -->
</manifest>
</jar>
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Compiling and Jarring the code -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="jar" depends="compile, make.jar" description="--> makes a jarfile from the iText code" />

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Jarring the rtf code -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="jar.rtf" depends="compile.rtf" description="--> makes a jarfile from the iText rtf code">
<jar jarfile="${itext.rtf.jar}" basedir="${itext.rtf.bin}"/>
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Making the jars for RUPS -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="jar.rups" depends="compile.rups">
<copy todir="${itext.rups.bin}" overwrite="yes">
<fileset dir="${itext.rups.src}">
<include name="**/*.png"/>
</fileset>
</copy>
<jar destfile="${itext.rups.jar}" basedir="${itext.rups.bin}" includes="**/*.class, **/*.png">
<manifest>
<attribute name="Main-Class" value="com.lowagie.rups.Rups"/>
<attribute name="Class-Path" value="iText-${releasenumber}.jar ${lib.pdf-renderer} ${lib.bcmail} ${lib.bcprov} ${lib.bctsp} ${lib.dom4j}"/>
</manifest>
</jar>
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Making the jars for the Toolbox -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="jar.toolbox" depends="compile.toolbox">
<copy todir="${itext.toolbox.bin}" overwrite="yes">
<fileset dir="${itext.toolbox.src}">
<include name="**/*.gif"/>
<include name="**/*.png"/>
<include name="**/*.txt"/>
</fileset>
</copy>
<jar destfile="${itext.toolbox.jar}" basedir="${itext.toolbox.bin}" includes="**/*.class, **/*.png, **/*.txt, **/*.gif">
<manifest>
<attribute name="Main-Class" value="com.lowagie.toolbox.Toolbox"/>
<attribute name="Class-Path" value="iText-${releasenumber}.jar ${lib.bcmail} ${lib.bctsp} ${lib.bcprov}"/>
</manifest>
</jar>
</target>

<!-- This is probably no longer used by anyone: -->

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Compiling the code for debugging -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="compile.debug" description="--> compiles the iText code for debugging">
<mkdir dir="${itext.bin}" />
<javac source="${itext.jdk.core}" target="${itext.jdk.core}" srcdir="${itext.src}/core" destdir="${itext.bin}" listfiles="yes" debug="true" debuglevel="lines,vars,source">
<classpath refid="itext.classpath"/>
</javac>
</target>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Jarring the code (debug) -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<target name="jar.debug" depends="compile.debug, make.jar" description="--> makes a jarfile from the iText code" />

</project>
102 changes: 102 additions & 0 deletions src/ant/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<packaging>jar</packaging>
<name>iText, a Free Java-PDF library</name>
<version>releasenumber</version>
<description>iText, a free Java-PDF library</description>
<url>http://www.lowagie.com/iText/</url>
<mailingLists>
<mailingList>
<name>iText Questions</name>
<subscribe>
http://lists.sourceforge.net/lists/listinfo/itext-questions
</subscribe>
<post>[email protected]</post>
<archive>
http://news.gmane.org/gmane.comp.java.lib.itext.general
</archive>
<otherArchives>
<otherArchive>http://www.nabble.com/iText---General-f2701.html</otherArchive>
<otherArchive>http://www.junlu.com/2.html</otherArchive>
<otherArchive>http://sourceforge.net/mailarchive/forum.php?forum_id=3273</otherArchive>
<otherArchive>http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<developers>
<developer>
<id>blowagie</id>
<name>Bruno Lowagie</name>
<email>[email protected]</email>
<url>http://www.lowagie.com</url>
</developer>
<developer>
<id>psoares33</id>
<name>Paulo Soares</name>
<email>[email protected]</email>
</developer>
<developer>
<id>hallm</id>
<name>Mark Hall</name>
<email>[email protected]</email>
</developer>
<developer>
<id>xlv</id>
<name>Xavier Le Vourch</name>
<email>[email protected]</email>
</developer>
</developers>
<licenses>
<license>
<name>Mozilla Public License</name>
<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
<comments>
iText was originally published under the LGPLicense.
LGPL can be used as an alternative license for the MPL.
</comments>
</license>
</licenses>
<scm>
<connection>scm:svn:http://itext.svn.sourceforge.net/svnroot/itext</connection>
<url>http://itext.svn.sourceforge.net/viewvc/itext</url>
</scm>
<dependencies>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcmail-bc.jdk</artifactId>
<version>bc.version</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-bc.jdk</artifactId>
<version>bc.version</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bctsp-bc.jdk</artifactId>
<version>bc.version</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>
com.lowagie.tools.ToolboxAvailable
</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit 1095ce6

Please sign in to comment.