Results 1 to 4 of 4

Thread: Properties resolution not working in CI-460 and newer?

  1. #1
    Join Date
    Jun 2009
    Location
    Munich, Bavaria
    Posts
    17

    Default Properties resolution not working in CI-460 and newer?

    Hi,

    in the newest snapshot builds (>= CI-460) the resolution of properties referenced in a plan seems not to work anymore. The following simple plan fails
    Code:
    <plan name="foo.bar.plan" version="1.2.0.SNAPSHOT" scoped="false" atomic="true"
        xmlns="http://www.springsource.org/schema/dm-server/plan"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.springsource.org/schema/dm-server/plan 
            http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
        <artifact type="properties" name="foo.bar.ServiceA"/>
    </plan>
    with the message
    Code:
    Caused by: com.springsource.kernel.deployer.core.DeploymentException: properties 'foo.bar.ServiceA' version '[0.0.0, ∞)' not found
    	at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.createInstallTree(StandardInstallArtifactTreeInclosure.java:99)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.createInstallArtifactTree(PlanResolver.java:116)
    	... 23 common frames omitted
    even if there is a properties file named foo.bar.ServiceA.properties in repository/usr.
    Code:
    -rw-r--r-- 1 christian christian 8 2009-11-09 09:23 foo.bar.ServiceA.properties
    Is this a bug or did the properties resolution change?

    Greetings from Munich,

    Christian

  2. #2
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    Sounds like a bug. Please would you raise a JIRA defect?
    Glyn Normington
    SpringSource

  3. #3
    Join Date
    Jun 2009
    Location
    Munich, Bavaria
    Posts
    17

  4. #4
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    Thanks for that.
    Glyn Normington
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •