Permalink
Commits on Mar 4, 2010
  1. Merge branch 'patches'

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1688 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 4, 2010
  2. MODE-678 Introduced the ModeShapePermissions and ModeShapeRoles inter…

    …faces, and added the appropriate constants to them and added a fair amount of documentation. All tests continue to pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1687 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 4, 2010
  3. Added missing copyright header.

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1686 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 4, 2010
  4. MODE-676 Added a few more minor changes. In particular, noted that th…

    …e cache policy fragments in the configuration for the file system, SVN, and JDBC metadata connectors are optional.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1685 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 4, 2010
  5. Applied patch for MODE-651:Change all Logger instance variables to st…

    …atic class variables
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1684 76366958-4244-0410-ad5e-bbfabb93f86b
    vijaykiran committed Mar 4, 2010
  6. MODE-676 Update Documentation

    Applied previous documentation patch that updates documentation for new features in 1.0.0.Final.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1683 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Mar 4, 2010
Commits on Mar 3, 2010
  1. Merge branch 'patches'

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1682 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  2. MODE-397 Removed the OSGi fragment generation from the REST servlet p…

    …rojects. No need for it there.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1681 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  3. MODE-108 Forced to move the OSGi fragment generation into each projec…

    …t, since the parent project has no manifest file and putting the fragment there makes the build fail.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1680 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  4. MODE-108 Added the JCIP annotation jar back into the 'modeshape-jcr-{…

    …version}-with-dependencies.jar', since the annotations are retained at runtime (and it's a small JAR).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1679 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  5. MODE-397 Added to the parent POM a fragment to add the OSGi informati…

    …on to the META-INF/MANIFEST.MF file, making each of our jars OSGi bundles. Two projects ('modeshape-common' and 'web/modeshape-web-jcr-rest-client') had this same fragment in their POMs, so these fragments were removed since they are now inherited from the parent POM.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1678 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  6. MODE-674 Upgraded to Google Collections 1.0 (final), which had to be …

    …loaded into the JBoss Maven repository.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1677 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  7. MODE-675 Upgraded to Joda Time 1.6 (which was already in the JBoss Ma…

    …ven repository).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1676 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  8. MODE-108 Added support to produce:

    1) a single 'modeshape-jcr-{version}-with-dependencies.jar' that contains the JARs for the ModeShape JCR implementation and all its runtime dependencies
    2) a single '...-with-dependencies.jar' file for each of the extension projects that contains the JARs for the extension implementation and all its runtime dependencies
    3) a single 'modeshape-{version}-all-with-dependencies.jar' file that contains those JARs from 1) and 2) above, and is thus a JAR of JAR of JARs.
    
    The latter JAR (#3) is only produced during the 'mvn -Passembly ...' process.
    
    Note that several additional JARs must still be provided, including
    - the JCR API jar (e.g., 'jcr-1.0.1.jar')
    - any logging-related JARs and the corresponding SLF4J binding jar
    
    Thus to use the (minimal) ModeShape JCR implementation with just the in-memory and federation connectors requires these JARs:
    - jcr-1.0.0.jar
    - a logging jar + slf4j binding jar
    - all of the JARs from the 'modeshape-jcr-{version}-with-dependencies.jar'
    
    Any additional connectors or sequences can be added to the application by extracting the JARs within the corresponding extension -with-dependencies.jar file.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1675 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  9. Updated .gitignore

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1674 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Mar 3, 2010
  10. Cleaned up some JavaDoc errors and a few warnings.

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1673 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 3, 2010
  11. MODE-673 Refactor JcrResources to Better Partition Logic

    Split the JcrResources class into separate REST handlers for each URI pattern.  JcrResources continues to be the container for the exception mapper classes.  Also added a convenience POM to build the web projects only.  All tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1672 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Mar 3, 2010
  12. MODE-635 ModeShapeConfiguration and JcrConfiguration should provide m…

    …ethods to write the configuration to a file
    
    Applied patch that allows the saved configuration to be written to a file (specified by name), a file (provided directly), an OutputStream, or a SAX ContentHandler.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1671 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Mar 3, 2010
Commits on Mar 2, 2010
  1. MODE-669 Root cause is swallowed for AccessControlException in JcrRep…

    …ository
    
    Applied patch that changes the exception thrown when an authenticated user attempts to login to a workspace for which the user is not authorized. Instead of throwing a NoSuchWorkspaceException and squashing the inner AccessControlException, it now throws a LoginException that wraps the AccessControlException.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1670 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Mar 2, 2010
  2. MODE-670 Added missing comment

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1669 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 2, 2010
  3. MODE-670 The modeshape-jcr-tck test case classes were being run in an…

    … arbitrary order (however JUnit/Surefire determines them), and the Level 1 TCK unit tests were being run after some of the other TCK unit tests that modified the repository. When some of those tests fail, apparently the repository is not being returned to its original state, and thus there is missing content required by the Level 1 TCK tests (which are all read-only). The fix was to add a static method to ModeShapeRepositoryStub that will force the JcrEngine to be rebuilt, and then to add a test case to each of the test suites that calls this method.
    
    Normally, the org.apache.jackrabbit.test.JCRTestSuite runs the Level 1 tests first, followed by the Level 2 tests, the query tests, the node type tests, the lock tests, the version tests, and then the observation tests.  So the order that the modeshape-jcr-tck tests are run does not reflect the actual TCK test order, so forcing the recreation of the engine IMO works fine.
    
    Really, the 'correct' way to fix this is to create a single TestSuite that adds the appropriate tests in the appropriate order (e.g., org.apache.jackrabbit.test.JCRTestSuite class). However, we want to keep them separated and grouped by feature so that it is more obvious which test failures are for which (optional) features.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1668 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 2, 2010
Commits on Mar 1, 2010
  1. MODE-266 Sequence Java class files to extract the class structure wit…

    …h annotations
    
    Applied a patch that provides enum and annotation support. This should wrap up the change to make the classfile sequencer output compatible with the java file sequencer output.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1667 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Mar 1, 2010
  2. MODE-266 Sequence Java class files to extract the class structure wit…

    …h annotations
    
    Applied a patch that provides enum and annotation support. This should wrap up the change to make the classfile sequencer output compatible with the java file sequencer output.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1666 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Mar 1, 2010
  3. MODE-266 Sequence Java class files to extract the class structure wit…

    …h annotations
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1665 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Mar 1, 2010
  4. Merge branch 'mode-392'

    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1664 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Mar 1, 2010
Commits on Feb 26, 2010
  1. MODE-668 Updated the IndexRules to have a flag describing whether ful…

    …l-text search is enabled on a field, then set this correctly based upon the PropertyDefinition.isFullTextSearchable() value. Then changed the LuceneSearchEngine implementation to use this new flag to dictate how property values are indexed.
    
    All tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1663 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Feb 26, 2010
  2. MODE-391 Introduced a new ReferenceValue specialization of DynamicOpe…

    …rand that works similarly to PropertyValue, except that the property name is optional (as is the selector name, if there is only one selector). Updated the query planner, optimizer, and processor, as well as the JCR-SQL2 parser. I updated the Lucene indexing design to add a new field for tracking the reference values on all a node's reference properties (the individual reference properties are tracked just as regular properties), and then updated the LuceneSearchEngine to create an appropriate query for a constraint that uses a ReferenceValue dynamic operand.
    
    AbstractJcrNode.getReferences() was then changed to find the other nodes that reference it by using a query.
    
    I then uncommented the TCK unit tests that test the getReferences() behavior, and all tests pass.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1662 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Feb 26, 2010
Commits on Feb 24, 2010
  1. MODE-667 Changed the file system connector behavior to 'do the right …

    …thing' when creating the jcr:content node even when the node conflict behavior is not exactly right.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1661 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Feb 24, 2010
  2. MODE-666 Adjusted the build to use the new JBoss stylesheets for Java…

    …Doc, and added the cross-reference report.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1660 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Feb 24, 2010
  3. MODE-663 Made four classes in org.modeshape.jcr package to be package…

    …-level visible rather than public.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1659 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Feb 24, 2010
  4. MODE-664 Upgraded Mockito to 1.8.1, which included changing several d…

    …eprecations (via several search-replace activities that were well-documented in the deprecated classes and annotations in Mockito).
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1658 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Feb 24, 2010
Commits on Feb 23, 2010
  1. MODE-662 Updated the modeshape-connector-infinispan POM to use 4.0.0.…

    …FINAL, and verified with a successful integration build.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1657 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Feb 23, 2010
  2. MODE-504 Changed the compiler version from 1.5 to 1.6 in the parent P…

    …OM and in the 'eclipse-preference.epf' file. Developers will have to update their workspace preferences manually.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1656 76366958-4244-0410-ad5e-bbfabb93f86b
    rhauch committed Feb 23, 2010
Commits on Feb 14, 2010
  1. MODE-636 JcrConfiguration files should be able to specify node types …

    …by referencing one or more CND files
    
    Applied patch that allows the mode:resources property of the jcr:nodeTypes node in the configuration repository to provide a comma-delimited list of paths to CND files in the classpath. Adding this capability allows for some minor simplification of the ModeShapeRepositoryStub, which, in turn allows the various TCK tests to be used as test cases for this new functionality.
    
    git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1655 76366958-4244-0410-ad5e-bbfabb93f86b
    bcarothers-xx committed Feb 14, 2010