83ed9ffdaf
* Make sure data directory is directory, not a file * Add a test for zip archive import Also tests the saving of the archive file name and source filename * Add TODOs - no functional changes * Cosmetic cleanups * Revert importer API changes for archive file name parameter Fixes #2963 - restore binary compatibility to the API - hoist the handling of both fileSource and archiveFileName from TabularImportingParserBase and TreeImportingParserBase to ImportingParserBase so that there's only one copy. These 3 classes are all part of the internal implementation, so there should be no compatibility issue. * Revert weird flow of control for import options metadata This reverts the very convoluted control flow that was introduced when adding the input options to the project metadata. Instead the metadata is all handled in the importer framework rather than having to change APIs are have individual importers worry about it. The feature never had test coverage, so that is still to be added. * Add test for import options in project metadata & fix bug Fixes bug where same options object was being reused and overwritten, so all copies in the list ended up the same. |
||
---|---|---|
.. | ||
licenses | ||
module | ||
src/com/google/refine/extension/database | ||
tests | ||
.eclipse-pmd | ||
.eslintrc.json | ||
.travis.yml | ||
pom.xml | ||
README.md |
This project is an extension for OpenRefine that provides a way to import database data using JDBC.
INSTALL
-
Before installing this extension download OpenRefine code from http://code.google.com/p/google-refine/source/checkout.
-
Pull this extension's code into folder database under folder /extensions. For more information on how to write a OpenRefine extensions and where to put the files see http://code.google.com/p/google-refine/wiki/WriteAnExtension
The folder structure should resemble this: grefine-all/ ----------/extensions --------------/database ------------------/module ------------------/src ------------------build.xml ------------------README (this file)
- Update build.xml in folder /extensions with build and clean ant tasks for database:
<target name="clean">
<echo message="cleaning extensions" />
<ant dir="sample/" target="clean" />
<ant dir="jython/" target="clean" />
<ant dir="freebase/" target="clean" />
<ant dir="gdata/" target="clean" />
<ant dir="database/" target="clean" />
</target>
- If using Eclipse, make sure that you build project with ant