Announcement Announcement Module
Collapse
No announcement yet.
Properties resolution not working in CI-460 and newer? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Sounds like a bug. Please would you raise a JIRA defect?

    Comment


    • #3
      Created a JIRA issue (https://issuetracker.springsource.com/browse/DMS-2019).

      Comment


      • #4
        Thanks for that.

        Comment

        Working...
        X