Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Properties from Plan Files

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

    Default

    dm Server maps properties files into Config Admin by using the name of the properties file as the PID. So in your case the PID is "app-prop".
    Glyn Normington
    SpringSource

  2. #12
    Join Date
    Jun 2009
    Location
    Modena Italy
    Posts
    13

    Default

    ok, I understan.
    It's possible to change dinamicly the PID using some properties of the plan?

    I tell you my problem.
    I have a generic bundle and I want to deploy it in differents scopes, using several plans. Each of this plans have a different DB configuration.

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

    Default

    dm Server does not provide a mechanism to achieve that. Of course, you could write code in the bundle to determine the scope in which it was deployed and deduce the PID from the scope (probably by convention).
    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
  •