Commit Graph

848 Commits

Author SHA1 Message Date
Iain Sproat
2237ec2335 Added lib folder to sample-extension/module/MOD-INF as the build file was looking for it. Gridworks now builds from fresh checkout.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1013 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-21 05:58:44 +00:00
David Huynh
c9aecc016a Fixed paths in build.xml files so a fresh checkout would build now (Issue 79)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1012 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 20:27:04 +00:00
Iain Sproat
dcf6919900 Functionality which didn't need to be moved to FileProjectManager as it wasn't file system specific has been moved back to ProjectManager. importProject function is now named loadProjectMetadata to avoid confusion.
Some additional source code documentation added to ProjectManager, and methods rearranged in more readable fashion.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1011 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 16:32:49 +00:00
Iain Sproat
7ced0cb31e New feature for importing text files (CSV and TSV). By selecting the checkbox in index.html it allows the effects of quotation marks around data values to be ignored.
Unit test added for this.

This has required a further branch to opencsv - patch sent to opencsv project and can be tracked at  https://sourceforge.net/tracker/?func=detail&aid=3018599&group_id=148905&atid=773543

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1010 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 14:47:45 +00:00
Stefano Mazzocchi
619f914b80 first import of gridworks project broker with two implementations, a local one that uses BerkeleyDB and a cloud one that uses Google App Engine
NOTE: code has not yet been tested but it's functionally complete and compiles

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1009 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 08:46:09 +00:00
Stefano Mazzocchi
0663b898e8 removing appengine (which will be soon obsoleted by the broker)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1008 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 08:45:38 +00:00
David Huynh
778873957f Updated butterfly to r25, which now initializes modules in order based on their dependencies.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1006 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 01:06:47 +00:00
David Huynh
df6a62a2cf Remove extensions/jython/jython/, which has already been replaced by extensions/jython/module/; same for extensions/sample-extension/sample-extension/. Added build.xml for extensions/ and made the root build.xml file call all the extension build.xml files. Updated extensions' module.properties files to require the core module.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1005 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 00:44:06 +00:00
Stefano Mazzocchi
8e2a29b9ea fixed ignores
git-svn-id: http://google-refine.googlecode.com/svn/trunk@998 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:39:48 +00:00
Stefano Mazzocchi
58906df7ff fixed classpath
git-svn-id: http://google-refine.googlecode.com/svn/trunk@997 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:39:45 +00:00
Stefano Mazzocchi
ba60780fa3 avoid the double naming problem in modules
git-svn-id: http://google-refine.googlecode.com/svn/trunk@996 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:32:12 +00:00
Stefano Mazzocchi
1418a5dd09 add names to the modules
git-svn-id: http://google-refine.googlecode.com/svn/trunk@995 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:31:44 +00:00
Stefano Mazzocchi
4c28f616f7 updating butterfly to the latest trunk (now allows modules to change their name with properties)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@994 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:31:36 +00:00
Stefano Mazzocchi
4a94c22412 Eclipse was complaining about the @override
git-svn-id: http://google-refine.googlecode.com/svn/trunk@993 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:31:32 +00:00
Iain Sproat
0af7e5fcf5 More functionality which didn't need to be moved to FileProjectManager, as it wasn't file system specific, has been moved back to ProjectManager.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@992 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-18 20:47:15 +00:00
Iain Sproat
c72b4571a5 Functionality which didn't need to be moved to FileProjectManager as it wasn't file system specific has been moved back to ProjectManager.
Some additional source code documentation added.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@991 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-18 19:16:30 +00:00
David Huynh
367c86fdd4 Fixed absolute jar path.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@990 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-17 17:06:17 +00:00
Iain Sproat
846cf1d57e Fixed bug in CsvExporter, all unit tests for CsvExporter and TsvExporter now working.
History now has the beginnings of a unit test.

Additional source documentation on public methods in ProjectManager and History.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@989 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-17 15:37:28 +00:00
David Huynh
e7d0fc5ed6 Implemented a generic preference store for both the whole workspace and each project.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@988 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-17 02:15:26 +00:00
David Huynh
0fedad047b Renamed projects to remove spaces in their names.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@987 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-16 20:23:56 +00:00
Iain Sproat
18e319bb76 Moved call to FileHistoryEntryManager from ProjectManager to FileProjectManager.
Added interface HistoryEntryManager, which seems to have been forgotten from last commit.
FileHistoryEntry is now named FileHistoryEntryManager.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@983 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-16 14:17:17 +00:00
Iain Sproat
f92fc2d056 Internal refactor for IO - HistoryEntry is now a concrete class, so can be instantiated (reverting Operations classes back to r972 which were changed as a result of HistoryEntry being abstract).
HistoryEntry now deals with backend (filesystem etc.) through classes which implement HistoryEntryManager.  This HistoryEntryManager is held by ProjectManager, which allows for FileProjectManager to create FileHistoryEntryManager as appropriate.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@982 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-16 12:35:37 +00:00
Iain Sproat
280daad2f6 Refactored ImportProjectCommand and ExportProjectCommand. These are no longer dependent on the File System, and all file system related work is done in FileProjectManager.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@981 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-16 07:44:46 +00:00
Iain Sproat
f47cb75525 Fixed ImportProjectCommand so it no longer contains references to project.html, a file previously removed from the project.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@980 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-16 07:06:52 +00:00
David Huynh
1f67cca3eb Added Java code to sample extension.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@979 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-16 00:09:12 +00:00
David Huynh
ffbe7c9c76 Fixed up reference to moved jars.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@978 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:42:26 +00:00
David Huynh
0bdd2cfe96 Renamed module subdir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@977 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:41:04 +00:00
David Huynh
6a3da4116a Sample extension is wired up properly now.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@976 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:33:15 +00:00
David Huynh
aeb320b97c Renamed module subdir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@975 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:26:49 +00:00
David Huynh
7ba97c61ad More work on the sample extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@974 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:21:08 +00:00
Iain Sproat
17f1dc2e6f The file system coupled method getProjectDirectory is now removed from ProjectManager.
Methods of HistoryEntry which directly work with the File System have been moved to FileHistoryEntry in the io directory, and HistoryEntry made abstract.

As the abstract HistoryEntry cannot be instantiated directly, the ProjectManager is now responsible for creating new HistoryEntry.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@973 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 22:11:35 +00:00
Iain Sproat
b07075bed5 FileProjectManager and portions of Project and ProjectMetadata classes which deal with io are moved to an io directory.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@972 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 20:55:38 +00:00
Iain Sproat
c94957b6a0 CreateProjectCommand no longer contains references to project.html, a file previously removed from the project.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@971 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 20:28:18 +00:00
Iain Sproat
dc7060d390 portion of ProjectManager which interacts with File System has been moved to FileProjectManager, which extends ProjectManager. ProjectManager is now abstract.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@970 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 19:34:40 +00:00
Iain Sproat
ca5d5ea828 Fixed bug when opening existing project - javascript was referring to nonexistent project.html file, which was previously replaced by project.vt file.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@969 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 18:37:57 +00:00
David Huynh
b5228f9c58 Started adding a sample extension.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@968 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 17:46:30 +00:00
Iain Sproat
a671551289 Two more XmlImport tests now work. Some documentation stubs were added to XmlImporterUtilities.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@967 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 16:22:53 +00:00
David Huynh
8a87ddaf3f Ignored jython cachedir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@966 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 00:46:46 +00:00
David Huynh
f7fe44dccc Converted project.html to project.vt and added a client side resource manager, where extensions can register scripts and styles to be included in .vt files
git-svn-id: http://google-refine.googlecode.com/svn/trunk@965 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 00:35:23 +00:00
David Huynh
b0389d8c6a Jython integration has been moved out to an extension.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@964 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 22:11:34 +00:00
David Huynh
b05d9a336c Ignored classes dir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@963 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 22:10:20 +00:00
David Huynh
3f58d88922 Yet a lot more python files that somehow svn just refused to add
git-svn-id: http://google-refine.googlecode.com/svn/trunk@962 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:59:17 +00:00
David Huynh
7767536292 Lots more python files that somehow svn just refused to add
git-svn-id: http://google-refine.googlecode.com/svn/trunk@961 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:53:02 +00:00
David Huynh
fc16f10913 Manually add the jython sub-dir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@960 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:36:20 +00:00
David Huynh
2acda17f39 More files to commit for jython extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@959 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:28:48 +00:00
David Huynh
2a11f716c7 Added extensions directory with the jython extension to start
git-svn-id: http://google-refine.googlecode.com/svn/trunk@958 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:22:04 +00:00
Stefano Mazzocchi
d6c9efceda more appengine infra
git-svn-id: http://google-refine.googlecode.com/svn/trunk@955 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-08 22:27:59 +00:00
David Huynh
92d170d059 Ignored netbeans' private/ sub-dir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@954 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-07 22:20:43 +00:00
David Huynh
6b744f354c Moved netbeans project stuff into IDEs/netbeans/.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@953 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-07 22:20:13 +00:00
David Huynh
4694316c93 Ignored netbeans' private/ sub-dir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@952 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-07 22:17:18 +00:00