[IPT] IPT Maven build error

Aaron Steele eightysteele at gmail.com
Thu Aug 27 00:45:47 CEST 2009


> SQLException(String reason, Throwable cause) was added in Java 6.

I discovered the same and modified my working copy of
DataResource.java to be Java 1.5 compliant. Is there a reason for for
this 1.5 incompatibility?

Also, do we have documentation for setting up Eclipse for IPT
development? Here's how I've set things up in Eclipse so far:

1) SVN checkout of trunk/gbif-providertool

2) Command line 'mvn eclipse:eclipse' fails (http://txtb.in/4d6). The
workaround is setting the filtering property to true on line 260 of
pom.xml, although  I'm not sure what the implications are for this
change.

3) Command line 'mvn -Declipse.workspace=~/Projects/Workspace
eclipse:configure-workspace' results in .classpath errors
(http://txtb.in/4d9). The workaround is deleting the 'output'
properties from the following classpath entires in the .classpath
file:
<classpathentry kind="src" path="src/main/webapp/data" />
<classpathentry kind="src" path="src/main/webapp/WEB-INF/pages" />

Finally, running command line 'mvn' results in a build failure due to
69 test errors:

http://txtb.in/4da


More information about the IPT mailing list