summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--maven.xml7
-rw-r--r--pom.xml253
-rw-r--r--src/changes/changes.xml (renamed from xdocs/changes.xml)16
-rw-r--r--src/java/com/healthmarketscience/jackcess/Column.java2
-rw-r--r--src/site/fml/faq.fml (renamed from xdocs/faq.fml)12
-rw-r--r--src/site/site.xml29
-rw-r--r--src/site/xdoc/index.xml (renamed from xdocs/index.xml)2
-rw-r--r--xdocs/navigation.xml16
-rw-r--r--xdocs/worksonlinux.pngbin1722 -> 0 bytes
9 files changed, 298 insertions, 39 deletions
diff --git a/maven.xml b/maven.xml
deleted file mode 100644
index 94bdbab..0000000
--- a/maven.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<project default="jar:jar">
-
- <goal name="sfRelease"
- prereqs="jar:jar, dist, sourceforge:deploy, site:deploy"/>
-
-</project>
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..a25aa20
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,253 @@
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.healthmarketscience.jackcess</groupId>
+ <artifactId>jackcess</artifactId>
+ <name>Jackcess</name>
+ <description>A pure Java library for reading from and writing to MS Access databases.</description>
+ <version>1.1.10-SNAPSHOT</version>
+ <url>http://jackcess.sf.net</url>
+ <inceptionYear>2005</inceptionYear>
+ <developers>
+ <developer>
+ <name>Tim McCune</name>
+ <id>javajedi</id>
+ <email>javajedi@users.sf.net</email>
+ <organization>Health Market Science, Inc.</organization>
+ <timezone>-5</timezone>
+ </developer>
+ <developer>
+ <name>James Ahlborn</name>
+ <id>jahlborn</id>
+ <email>jahlborn@users.sf.net</email>
+ <organization>Health Market Science, Inc.</organization>
+ <timezone>-5</timezone>
+ </developer>
+ <developer>
+ <name>Rob Di Marco</name>
+ <id>robdimarco</id>
+ <organization>Health Market Science, Inc.</organization>
+ <timezone>-5</timezone>
+ </developer>
+ </developers>
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License, 2.1</name>
+ <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
+ <distribution>manual</distribution>
+ </license>
+ </licenses>
+ <issueManagement>
+ <system>SourceForge</system>
+ <url>http://sourceforge.net/tracker/?group_id=134943&amp;atid=731445</url>
+ </issueManagement>
+ <scm>
+ <connection>scm:cvs:pserver:anonymous@jackcess.cvs.sourceforge.net:/cvsroot/jackcess/:jackcess</connection>
+ <!-- read/write cvs connection -->
+ <developerConnection>scm:cvs:ext:username@jackcess.cvs.sourceforge.net:/cvsroot/jackcess/:jackcess</developerConnection>
+ <url>http://jackcess.cvs.sourceforge.net/jackcess/jackcess/</url>
+ </scm>
+ <organization>
+ <name>Health Market Science</name>
+ <url>http://www.healthmarketscience.com</url>
+ </organization>
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <sourceDirectory>src/java</sourceDirectory>
+ <testSourceDirectory>test/src/java</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/resources</directory>
+ </resource>
+ </resources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <compilerArgument>-Xlint:all</compilerArgument>
+ <showWarnings>true</showWarnings>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>once</forkMode>
+ <argLine>-Xmx256M -server</argLine>
+ <systemProperties>
+ <property>
+ <name>log4j.configuration</name>
+ <value>com/healthmarketscience/jackcess/log4j.properties</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.0</version>
+ <configuration>
+ <instrumentation>
+ <excludes>
+ <exclude>com/healthmarketscience/jackcess/scsu/**</exclude>
+ </excludes>
+ </instrumentation>
+ </configuration>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <smtpHost>localhost</smtpHost>
+ <toAddresses>
+ <toAddress>jackcess-users@lists.sourceforge.net</toAddress>
+ </toAddresses>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+<!-- <goals>deploy,changes:announcement-generate,changes:announcement-mail</goals> -->
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.7</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>dependencies</report>
+ <report>scm</report>
+ <report>summary</report>
+ <report>project-team</report>
+ <report>license</report>
+ <report>issue-tracking</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <issueLinkTemplate>%URL%/index.php?func=detail&amp;aid=%ISSUE%&amp;group_id=134943&amp;atid=731445</issueLinkTemplate>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>changelog-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <minmemory>128m</minmemory>
+ <maxmemory>512</maxmemory>
+ <links>
+ <list>http://java.sun.com/j2se/1.5.0/docs/api</list>
+ <list>http://java.sun.com/javaee/5/docs/api/</list>
+ </links>
+ <source>1.5</source>
+ <excludePackageNames>com.healthmarketscience.jackcess.scsu</excludePackageNames>
+ <show>public</show>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <configuration>
+ <aggregate>true</aggregate>
+ <targetJdk>1.5</targetJdk>
+ <!-- Use csv reports because unneeded and xml causes failures (bug in pmd 3.9 with SuppressWarnings in source code) -->
+ <format>csv</format>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <configuration>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>src/test/resources/findBugsExcludes.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>taglist-maven-plugin</artifactId>
+ <configuration>
+ <tags>
+ <list>TODO</list>
+ <list>todo</list>
+ <list>FIXME</list>
+ <list>fixme</list>
+ </tags>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+ <distributionManagement>
+ <site>
+ <id>jackcess-build-site</id>
+ <url>scp://shell.sourceforge.net/home/groups/j/ja/jackcess/htdocs</url>
+ </site>
+ </distributionManagement>
+</project>
diff --git a/xdocs/changes.xml b/src/changes/changes.xml
index 4184d93..7e20dcc 100644
--- a/xdocs/changes.xml
+++ b/src/changes/changes.xml
@@ -8,13 +8,13 @@
<release version="1.1.10" date="TBD">
</release>
<release version="1.1.9" date="2007-07-12">
- <action dev="jahlborn" type="fix">
+ <action dev="jahlborn" type="fix" issue="1675522">
Add support for writing large table definitions, bug #1675522.
</action>
- <action dev="jahlborn" type="fix">
+ <action dev="jahlborn" type="fix" issue="1748827">
Fix handling of usage maps for large tables, bug #1748827.
</action>
- <action dev="jahlborn" type="fix">
+ <action dev="jahlborn" type="fix" issue="1672071">
Fixed some edge cases for reading numeric columns, bug #1672071.
</action>
</release>
@@ -47,7 +47,7 @@
Clean up index reading/writing of text columns, add support for more
characters
</action>
- <action dev="jahlborn" type="update">
+ <action dev="jahlborn" type="update" issue="1563654">
Support reading 'compressed' indexes (fix 1563654)
</action>
<action dev="jahlborn" type="update">
@@ -62,23 +62,23 @@
<action dev="jahlborn" type="fix">
Fix decimal data type writing.
</action>
- <action dev="jahlborn" type="update">
+ <action dev="jahlborn" type="update" issue="1545857">
Add support for opening files read-only (fix 1545857)
</action>
</release>
<release version="1.1.6" date="2006-08-07">
- <action dev="jahlborn" type="fix">
+ <action dev="jahlborn" type="fix" issue="1530312">
Handle more tables with more index slots than actual indexes (fix bug
1530312)
</action>
- <action dev="jahlborn" type="fix">
+ <action dev="jahlborn" type="fix" issue="1449812">
Clean up reading/writing 3-byte ints; long value length is 3-bytes
(fix bug 1449812)
</action>
<action dev="jahlborn" type="fix">
Fix handling of skipped rows
</action>
- <action dev="jahlborn" type="fix">
+ <action dev="jahlborn" type="fix" issue="1306970">
When reading multi-page table def, flip buffer before parsing (fix bug
1306970)
</action>
diff --git a/src/java/com/healthmarketscience/jackcess/Column.java b/src/java/com/healthmarketscience/jackcess/Column.java
index 8612e2c..899ba2d 100644
--- a/src/java/com/healthmarketscience/jackcess/Column.java
+++ b/src/java/com/healthmarketscience/jackcess/Column.java
@@ -275,7 +275,7 @@ public class Column implements Comparable<Column> {
/**
* Checks that this column definition is valid.
*
- * @throw IllegalArgumentException if this column definition is invalid.
+ * @throws IllegalArgumentException if this column definition is invalid.
*/
public void validate(JetFormat format) {
if(_format != format) {
diff --git a/xdocs/faq.fml b/src/site/fml/faq.fml
index 025f024..70c2b8c 100644
--- a/xdocs/faq.fml
+++ b/src/site/fml/faq.fml
@@ -39,7 +39,7 @@
<p>
We want to give a lot of credit to mdbtools. They have
been around much longer than Jackcess, and, along with
- <a href="http://jakarta.apache.org/poi">POI</a>,
+ <a href="http://poi.apache.org/">POI</a>,
inspired us that a project like this could be done.
mdbtools is written in C. There is a Java port of it,
but if you've ever read or used a Java port of a C
@@ -67,7 +67,7 @@
<faq id="poi">
<question>
This looks like a logical addition to
- <a href="http://jakarta.apache.org/poi">POI</a>. Why not integrate
+ <a href="http://poi.apache.org/">POI</a>. Why not integrate
with that project?
</question>
<answer>
@@ -75,7 +75,7 @@
POI is released under
<a href="http://www.apache.org/foundation/licence-FAQ.html">The Apache License</a>.
Jackcess is released under
- <a href="http://www.gnu.org/copyleft/lesser.html">The GNU Lesser General Public License</a>.
+ <a href="http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt">The GNU Lesser General Public License</a>.
The Apache license allows closed-source and/or commercial forks.
The LGPL does not. If you change or enhance Jackcess, you must contribute
your changes back to the project.
@@ -131,10 +131,10 @@
<answer>
<p>
Probably because you're missing a jar that Jackcess depends on from your
- classpath. Take a loook at the <a href="http://jackcess.sourceforge.net/dependencies.html">dependencies list</a>. The first 3 are required for both building and running
- and can be found either at the <a href="http://jakarta.apache.org/commons/">
+ classpath. Take a look at the <a href="dependencies.html">dependencies list</a>. The first 3 are required for both building and running
+ and can be found either at the <a href="http://commons.apache.org/">
Jakarta Commons</a> or the <a href="http://www.ibiblio.org/maven">Ibiblio
- Maven Repository</a>. The other 3 are only required for building, in which
+ Maven Repository</a>. The others are only required for building, in which
case, Maven will find them for you.
</p>
</answer>
diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644
index 0000000..4577efb
--- /dev/null
+++ b/src/site/site.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="Jackcess">
+ <bannerLeft>
+ <name>Health Market Science</name>
+ <src>http://www.healthmarketscience.com/images/HMS_logo.gif</src>
+ <href>http://www.healthmarketscience.com/</href>
+ </bannerLeft>
+ <body>
+ <menu name="Jackcess">
+ <item name="About" href="index.html"/>
+ <item name="OpenHMS" href="http://openhms.sourceforge.net/"/>
+ <item name="Downloads" href="http://sourceforge.net/project/showfiles.php?group_id=134943"/>
+ <item name="SourceForge Project" href="http://sourceforge.net/projects/jackcess/"/>
+ </menu>
+
+ <menu ref="reports"/>
+
+ </body>
+
+ <poweredBy>
+ <logo name="Works on Linux" img="http://openhms.sourceforge.net/images/worksonlinux.png"
+ href="http://www.linux.org"/>
+ <logo name="Hosted by SourceForge" img="http://sflogo.sourceforge.net/sflogo.php?group_id=185339&amp;type=1" href="http://sourceforge.net"/>
+ <logo name="Built by Maven" img="./images/logos/maven-feather.png"
+ href="http://maven.apache.org/"/>
+ </poweredBy>
+
+</project>
diff --git a/xdocs/index.xml b/src/site/xdoc/index.xml
index a9b0a5a..854ea23 100644
--- a/xdocs/index.xml
+++ b/src/site/xdoc/index.xml
@@ -13,7 +13,7 @@
library, intended for other developers to use to build Java
applications. Jackcess is licensed under the
- <a href="http://www.gnu.org/copyleft/lesser.html">GNU Lesser General Public License</a>.
+ <a href="http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt">GNU Lesser General Public License</a>.
Take a look
at our <a href="faq.html">Frequently Asked Questions</a>
for more info.
diff --git a/xdocs/navigation.xml b/xdocs/navigation.xml
deleted file mode 100644
index 022715c..0000000
--- a/xdocs/navigation.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="Jackcess">
- <title>Jackcess</title>
- <body>
- <menu name="Jackcess">
- <item name="OpenHMS" href="http://openhms.sourceforge.net/"/>
- <item name="Downloads" href="http://sourceforge.net/project/showfiles.php?group_id=134943"/>
- <item name="SourceForge Project" href="http://sourceforge.net/projects/jackcess/"/>
- </menu>
- <menu type="footer">
- <item name="Works on Linux" img="worksonlinux.png" href="http://www.linux.org"/>
- <item name="Hosted by SourceForge" img="http://sflogo.sourceforge.net/sflogo.php?group_id=134943&amp;type=1" href="http://sourceforge.net"/>
- </menu>
- </body>
-</project>
diff --git a/xdocs/worksonlinux.png b/xdocs/worksonlinux.png
deleted file mode 100644
index 846501c..0000000
--- a/xdocs/worksonlinux.png
+++ /dev/null
Binary files differ