Continuum
  1. Continuum
  2. CONTINUUM-1252

General Configuration should be pre-configurable in XML

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1-alpha-1
    • Fix Version/s: 1.2
    • Component/s: Core system
    • Labels:
      None
    • Environment:
      1.1-alpha-1, WinXP

      Description

      It should be possible to pre-configure the items on the General Configuration screen:

      • Working Directory
      • Build Output Directory
      • Deployment Repository Directory:
      • Base URL

        Issue Links

          Activity

          Hide
          Wendy Smoak added a comment -

          Most likely, this means being able to pre-configure these values in conf/continuum.xml prior to starting the app for the first time.

          Show
          Wendy Smoak added a comment - Most likely, this means being able to pre-configure these values in conf/continuum.xml prior to starting the app for the first time.
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          looks to be fixed with rev 678639. (I have tested it with success).
          Emmanuel do you confirm ?

          Show
          Olivier Lamy (*$^¨%`£) added a comment - looks to be fixed with rev 678639. (I have tested it with success). Emmanuel do you confirm ?
          Hide
          Emmanuel Venisse added a comment -

          Done.

          Show
          Emmanuel Venisse added a comment - Done.
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          I prefer to use modello for configuration instead of commons-configuration.
          Which is IMHO more simple to use and the xml file format will be auto documented.
          Related thread : http://www.nabble.com/Concerning-continuum-configuration-(commons-configuration-or-modello--)-td19170328.html

          Show
          Olivier Lamy (*$^¨%`£) added a comment - I prefer to use modello for configuration instead of commons-configuration. Which is IMHO more simple to use and the xml file format will be auto documented. Related thread : http://www.nabble.com/Concerning-continuum-configuration-(commons-configuration-or-modello--)-td19170328.html
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          switch to modello in trunk rev 690494.
          Leave issue open until configuring xdoc/xsd generation is done.

          Show
          Olivier Lamy (*$^¨%`£) added a comment - switch to modello in trunk rev 690494. Leave issue open until configuring xdoc/xsd generation is done.
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          IMHO this should be merge in 1.2 branch

          Show
          Olivier Lamy (*$^¨%`£) added a comment - IMHO this should be merge in 1.2 branch
          Hide
          Wendy Smoak added a comment -

          I see this was merged to the 1.2.x branch, and there seems to be a problem with the Jetty bundle. In continuum.log:

          2008-08-30 17:18:54,528 [WrapperSimpleAppMain] INFO org.codehaus.plexus.spring.PlexusApplicationContextDelegate - Registering Plexus to Spring XML translation
          2008-08-30 17:18:57,027 [WrapperSimpleAppMain] ERROR org.apache.continuum.configuration.DefaultContinuumConfiguration - Unrecognised tag: 'configuration' (position: START_TAG seen ...missions and limitations\nunder the License.\n-->\n\n<configuration />... @21:18)

          I mention it here because it's complaining about a <configuration> element.

          I have not actually tried to pre-configure anything since it won't start.

          (However, with mvn jetty:run in continuum-webapp, the app starts and runs.)

          Show
          Wendy Smoak added a comment - I see this was merged to the 1.2.x branch, and there seems to be a problem with the Jetty bundle. In continuum.log: 2008-08-30 17:18:54,528 [WrapperSimpleAppMain] INFO org.codehaus.plexus.spring.PlexusApplicationContextDelegate - Registering Plexus to Spring XML translation 2008-08-30 17:18:57,027 [WrapperSimpleAppMain] ERROR org.apache.continuum.configuration.DefaultContinuumConfiguration - Unrecognised tag: 'configuration' (position: START_TAG seen ...missions and limitations\nunder the License.\n-->\n\n<configuration />... @21:18) I mention it here because it's complaining about a <configuration> element. I have not actually tried to pre-configure anything since it won't start. (However, with mvn jetty:run in continuum-webapp, the app starts and runs.)
          Hide
          Wendy Smoak added a comment -

          I see the same problem with the Jetty bundle on trunk.

          I tried to revert the 1252-related bits from the branch to confirm that it's really this issue, but they were merged along with changes from 1831 and I'm having trouble identifying what's what.

          Olivier, can you take a look?

          Show
          Wendy Smoak added a comment - I see the same problem with the Jetty bundle on trunk. I tried to revert the 1252-related bits from the branch to confirm that it's really this issue, but they were merged along with changes from 1831 and I'm having trouble identifying what's what. Olivier, can you take a look?
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          fixed in 1.2.x branch rev 690684
          merge in trunk rev 690685

          Show
          Olivier Lamy (*$^¨%`£) added a comment - fixed in 1.2.x branch rev 690684 merge in trunk rev 690685
          Hide
          Brent N Atkinson added a comment -

          Wendy, I had the same issue (same stack trace, failed to start) when upgrading from 1.1 to 1.2.2. I found that the issue was that 1.1 had an autogenerated $

          {appserver.base}

          /conf/continuum.xml file and 1.2.2 was trying to parse it and failing. I removed the file and the app started just fine.

          Show
          Brent N Atkinson added a comment - Wendy, I had the same issue (same stack trace, failed to start) when upgrading from 1.1 to 1.2.2. I found that the issue was that 1.1 had an autogenerated $ {appserver.base} /conf/continuum.xml file and 1.2.2 was trying to parse it and failing. I removed the file and the app started just fine.

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Wendy Smoak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development