Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-323

As a developer I want to be able to make and deploy 'plans' on to the dm Server in STS

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: Sprint 8, 2.3.1.RELEASE
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      bhafer Brian H added a comment -

      Where can I find out how this works? I am using 2.3.2.RELEASE and created a project, added plan nature, and created a plan file in it. But I am unable to deploy it to a server runtime. When I drag it onto a server as I do other bundles, I get a disabled icon (circle with a diagonal line through it).

      Show
      bhafer Brian H added a comment - Where can I find out how this works? I am using 2.3.2.RELEASE and created a project, added plan nature, and created a plan file in it. But I am unable to deploy it to a server runtime. When I drag it onto a server as I do other bundles, I get a disabled icon (circle with a diagonal line through it).
      Hide
      frostc Chris Frost [X] added a comment -

      Hi Brian,

      I haven't actually played with it myself but if you look at the 3rd comment on this thread that should get you going. Drag and drop support may not be working, if you right click on the runtime server and then 'Add and Remove' you should be able to deploy it that way. If that isn't working then it is a more serious bug and a JIRA definitely needs to be raised.

      Chris.

      Show
      frostc Chris Frost [X] added a comment - Hi Brian, I haven't actually played with it myself but if you look at the 3rd comment on this thread that should get you going. Drag and drop support may not be working, if you right click on the runtime server and then 'Add and Remove' you should be able to deploy it that way. If that isn't working then it is a more serious bug and a JIRA definitely needs to be raised. Chris.
      Hide
      anoopps Anoop PS added a comment -

      On Windows XP, JDK 6 I have created a project added OSGI Plan Nature, and a plan File. The plan file contains a few other bundles(projects in same workspace) as artifacts. When I deploy the plan file all mentioned bundles and plan file gets copied over to stage folder. However plan installation fails with below message.

      Installing plan 'com.ocimum.btree' version '5.0.1.6'.
      Cannot find bundle 'com.ocimum.btree.rest' version range '[0.0.0, oo)' in repository 'ext-usr-ocimum'.
      Installation of plan 'com.ocimum.btree' version '5.0.1.6' failed. com.springsource.kernel.deployer.core.DeploymentException: bundle 'com.ocimum.btree.rest' version '[0.0.0, oo)' not found
      at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.createInstallTree(StandardInstallArtifactTreeInclosure.java:102)
      at com.springsource.kernel.deployer.core.internal.PlanResolver.createInstallArtifactTree(PlanResolver.java:122)
      at com.springsource.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:79)
      at com.springsource.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:71)

      com.ocimum.btree is the first bundle listed in our plan(com.ocimum.btree)

      ext-usr-ocimum is a repository folder we created by configuring config/com.springsource.repository.properties as follows

      ocimum.type=watched
      ocimum.watchDirectory=repository/ocimum

      chain=ext,usr,ocimum

      Show
      anoopps Anoop PS added a comment - On Windows XP, JDK 6 I have created a project added OSGI Plan Nature, and a plan File. The plan file contains a few other bundles(projects in same workspace) as artifacts. When I deploy the plan file all mentioned bundles and plan file gets copied over to stage folder. However plan installation fails with below message. Installing plan 'com.ocimum.btree' version '5.0.1.6'. Cannot find bundle 'com.ocimum.btree.rest' version range '[0.0.0, oo)' in repository 'ext-usr-ocimum'. Installation of plan 'com.ocimum.btree' version '5.0.1.6' failed. com.springsource.kernel.deployer.core.DeploymentException: bundle 'com.ocimum.btree.rest' version '[0.0.0, oo)' not found at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.createInstallTree(StandardInstallArtifactTreeInclosure.java:102) at com.springsource.kernel.deployer.core.internal.PlanResolver.createInstallArtifactTree(PlanResolver.java:122) at com.springsource.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:79) at com.springsource.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:71) com.ocimum.btree is the first bundle listed in our plan(com.ocimum.btree) ext-usr-ocimum is a repository folder we created by configuring config/com.springsource.repository.properties as follows ocimum.type=watched ocimum.watchDirectory=repository/ocimum chain=ext,usr,ocimum
      Hide
      frostc Chris Frost [X] added a comment -

      Hi Anoop,

      This issue has been closed off so I don't know if you are going to get a response. I'd open a new defect if I were you to make sure the tools team see it.

      Chris.

      Show
      frostc Chris Frost [X] added a comment - Hi Anoop, This issue has been closed off so I don't know if you are going to get a response. I'd open a new defect if I were you to make sure the tools team see it. Chris.

        People

        • Assignee:
          Unassigned
          Reporter:
          frostc Chris Frost [X]
        • Votes:
          2 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Time Tracking

            Estimated:
            Original Estimate - 4d
            4d
            Remaining:
            Remaining Estimate - 4d
            4d
            Logged:
            Time Spent - Not Specified
            Not Specified