modeshape-connector-filesystem

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changed components versions to 2.8.2.GA.

  1. … 67 more files in changeset.
MODE-1482 - Updated the FileSystemSource, so that children of folders which aren't readable or which don't exist are ignored and not added to the children's list.

'Release: update versions for modeshape-2.8.3.Final'

  1. … 70 more files in changeset.
'Release: update versions for modeshape-2.8.2.Final'

  1. … 70 more files in changeset.
MODE-1484 Added more error handling to file system connector

The file system connector was not properly handling the case when "java.io.File.list(FilenameFilter)"

returns null, which it can sometimes do if there's an I/O error. Now, if this happens, the method

call is retried up to 4 more times; after that, if the call still returns null, an error message will

be logged and no node will be created for the problematic file.

All unit and integration tests pass with these changes.

MODE-1483 - Fixed erroneous deletion of the parent file when cleaning up content

  1. … 1 more file in changeset.
MODE-1483 - Extra properties files stored via the file system connector are now removed.

The original problem was caused by the incomplete handling for removal of nodes by the FileSystemWorkspace and the fact that the StoreProperties stores additional file & folder properties in external files (external to the file nodes themselves)

  1. … 3 more files in changeset.
'Release: update versions for modeshape-2.8.1.Final'

  1. … 70 more files in changeset.
MODE-1414 (related): promote version #'s in 2.5.x to 2.5.4.GA for BZ-786561 Roll up patch fro EDS_5.2_20120320

  1. … 68 more files in changeset.
Changed version to SNAPSHOT following release

  1. … 74 more files in changeset.
Changed the '2.8-SNAPSHOT' artifact version to '2.8.1.GA' for use in the product.

  1. … 74 more files in changeset.
'Release: update versions for modeshape-2.8.0.Final'

  1. … 70 more files in changeset.
MODE-1368 Removed all legacy modules no longer needed in 3.x

ModeShape 3.x will not need a number of the 2.x modules. In particular:

- since 3.x will only have an AS7 kit, the AS5 or AS6 artifacts were removed

- all the connectors were removed, since they're no longer used

- the connector benchmark tests module was removed, replaced by our new

performance test suite

- the JPA DDL generator utility has been removed

- the 'modeshape-graph', 'modeshape-repository', 'modeshape-search-lucene'

and 'modeshape-clustering' modules have all been removed, since the new

'modeshape-jcr' module no longer uses them

- the DocBook modules were removed and are replaced by the Confluence space

- the two JDBC modules were moved out of the 'utils' directory to top-level modules

The build still works, but not all components have been included in the build.

This is because the query functionality doesn't yet work, so quite a few web

and JDBC driver modules all depend on this.

The assembly profile has not yet been changed or corrected.

  1. … 3639 more files in changeset.
Changed version to 2.8-SNAPSHOT after releasing 2.7.0.Final

  1. … 73 more files in changeset.
'Release: update versions for modeshape-2.7.0.Final'

  1. … 76 more files in changeset.
MODE-1353: promote version #'s in 2.5.x to 2.5.3.GA for SOA-3656

  1. … 68 more files in changeset.
MODE-1305 Remove unused i18n methods

- also a small refactoring of the I18n class

  1. … 23 more files in changeset.
MODE-1305 Remove unused i18n methods

- also a small refactoring of the I18n class

  1. … 23 more files in changeset.
Changed versions to prepare for 2.7-SNAPSHOT development

  1. … 77 more files in changeset.
'Release: update versions for modeshape-2.6.0.Final'

  1. … 69 more files in changeset.
MODE-1281 Corrected file connector's extra properties storage

When storing extra properties, the file system connector incorrectly wrote an empty multi-valued property

without the required trailing line separator. One example is the "jcr:predecessors" property, which is empty

upon first checkin of a 'mix:versionable' node. This caused an exception when reading the property back in.

This change corrects the way such empty properties are written to the file, but also adds logic to the

method that parses the file's lines to handle reading in files that were written with older versions.

The original problem was replicated with a new unit test and a new integration test, and then the

reading and writing logic were both independently verified. The new tests now pass.

All unit and integration tests pass.

  1. … 1 more file in changeset.
Changed version to 2.5.2.GA, in preparation for release.

  1. … 73 more files in changeset.
MODE-1201 Reverted the addition of FileInputStreamBinary

Reverted the change to add a FileInputStreamBinary class. This change caused problems when the

BINARY value is read more than once and when stored in the In-Memory, Infinispan, JBoss Cache

and similar connectors (since they attempt to store the read-only-once value, preventing

reading the value back out). See MODE-1241 for details.

This reverts commit 51403d529df39d5d9d1c83f4e4d68190bbb708c4 and also deletes the

LargeFileTest.java test (perhaps added after 51403d?)

  1. … 6 more files in changeset.
MODE-1201 Reverted the addition of FileInputStreamBinary

Reverted the change to add a FileInputStreamBinary class. This change caused problems when the

BINARY value is read more than once and when stored in the In-Memory, Infinispan, JBoss Cache

and similar connectors (since they attempt to store the read-only-once value, preventing

reading the value back out). See MODE-1241 for details.

This reverts commit 51403d529df39d5d9d1c83f4e4d68190bbb708c4 and also deletes the

LargeFileTest.java test (perhaps added after 51403d?)

  1. … 6 more files in changeset.
MODE-1249 the maxPathLength property was being picked up from the configuration file

  1. … 3 more files in changeset.
MODE-1249 the maxPathLength property was being picked up from the configuration file

  1. … 3 more files in changeset.
MODE-1289 New approach for storing/caching JCR content

This is the first commit to start the 3.0 effort, which involves a major change to how

the JCR layer stores and caches information. The new approach is based upon Infinispan and uses

Infinispan's cache loaders for persistence, and JSON-like documents (that are in-memory

structures not needing to parsed/written) are used to store information for each node.

There are several new Maven modules:

- modeshape-jcr-redux

- modeshape-schematic

The 'modeshape-jcr-redux' module will eventually replace the 'modeshape-jcr' module once

the implementation is far-enough along. And the 'modeshape-schematic' module will likely

move into the Infinispan project, so that needs to remain separate.

Although it may seem strange and unkempt to have the new JCR implementation in a new module,

doing so means that we can continue to rebase from 'master' (and the 2.7 work) for at least

some time. When the new module becomes complete enough, we'll move it and replace the

existing 'modeshape-jcr' module. It's also convenient to have both the old and new implementations

around in the same codebase.

The build was changed to focus upon the (few) modules that are oriented around the new

implementation. So the following can be used to build the newer codebase:

mvn clean install

However, the build has a new Maven profile called "legacy" that can be used to build the

old modules. We kept this to make sure that any rebasing can be compiled and verified.

For example, to build everyhing, including the new modules and the 2.x-style modules,

use the following command:

mvn clean install -Plegacy

As the newer 'modeshape-jcr-redux' progresses and other modules (e.g., sequencers, web,

jboss, text extractors) are converted to use the new module, they should be moved

from the 'legacy' profile into the main set of modules in the top-level 'pom.xml'

  1. … 447 more files in changeset.
'Release: update versions for modeshape-2.6.0.Beta2'

  1. … 69 more files in changeset.
MODE-1232 Add support for REFERENCE nodes to FS connector

Added support in the file system connector for handling 'mix:referenceable' nodes and correctly handling the 'jcr:uuid' property. The connector still does not handle finding nodes by identifier (e.g., UUID).

Also changed the JcrSession (and associated classes) to better handle looking up nodes by identifier if the connector doesn't support doing so. In such cases, the JcrSession performs a query to search for the path of the node given the UUID, and then looks up the node by path. Note that when the referenceable nodes are still in the session's transient state, the session is now able to find them without resorting to the connector or queries.

A new integration test case was added to test for this functionality. Prior to the above fixes, this test case failed (as expected); after the above fixes, the test case passes.

All unit and integration tests pass.

  1. … 7 more files in changeset.
MODE-1232 Add support for REFERENCE nodes to FS connector

Added support in the file system connector for handling 'mix:referenceable' nodes and correctly handling the 'jcr:uuid' property. The connector still does not handle finding nodes by identifier (e.g., UUID).

Also changed the JcrSession (and associated classes) to better handle looking up nodes by identifier if the connector doesn't support doing so. In such cases, the JcrSession performs a query to search for the path of the node given the UUID, and then looks up the node by path. Note that when the referenceable nodes are still in the session's transient state, the session is now able to find them without resorting to the connector or queries.

A new integration test case was added to test for this functionality. Prior to the above fixes, this test case failed (as expected); after the above fixes, the test case passes.

All unit and integration tests pass.

  1. … 7 more files in changeset.