I tried to include it in Continuum without success for the moment.
I can read/write the config file in continuum-configuration but when I use
continuum-configuration into continuum-commons without the store and
SystemConfiguration, the config file isn't save. I use the same spring and
config files in both modules and the configuration object is correctly
populated before to call the save method. weird.

Emmanuel

On Wed, Jul 2, 2008 at 12:02 AM, Olivier Lamy <[EMAIL PROTECTED]> wrote:

> Ok let's do it. (thanks !)
> I will work on smaller issues.
> --
> Olivier
>
> PS : and will have more power after holidays ;-)
>
> 2008/7/1 Emmanuel Venisse <[EMAIL PROTECTED]>:
> > ok.
> > Let me know if you don't have the time to finish it before your vacation.
> > I'll can probably look at it.
> >
> > Emmanuel
> >
> > On Tue, Jul 1, 2008 at 6:10 PM, Olivier Lamy <[EMAIL PROTECTED]> wrote:
> >
> >> Yes I know.
> >> I have explained in a previous email[1] it was a POC (just a new
> >> module) and it's not currently in the application.
> >>
> >> It looks to be a good idea because I have a lot of things to change on
> it
> >> ;-).
> >>
> >> --
> >> Olivier
> >>
> >> [1]
> >>
> http://continuum.markmail.org/message/rmkqfpeuceqaez2s?q=list:org.apache.continuum.dev&page=3
> >>
> >> 2008/7/1 Emmanuel Venisse <[EMAIL PROTECTED]>:
> >> > The configuration isn't saved in config files but in the DB.
> >> >
> >> > On Tue, Jul 1, 2008 at 4:30 PM, Olivier Lamy <[EMAIL PROTECTED]>
> wrote:
> >> >
> >> >> Hi,
> >> >> I will have a look later. Not a lot of spare time currently (and two
> >> >> weeks holidays starts next week).
> >> >>
> >> >> Thanks for the link on interpolation.
> >> >>
> >> >> --
> >> >> Olivier
> >> >>
> >> >> 2008/7/1 Emmanuel Venisse <[EMAIL PROTECTED]>:
> >> >> > Maybe we can keep the registry component in application.xml but
> only
> >> with
> >> >> > security.properties definitions.
> >> >> > An other fix to do in file path: ${appserver.base} and others must
> be
> >> >> > replaced by ${sys:appserver.base}
> >> >> >
> >> >> >
> >> >>
> >>
> http://commons.apache.org/configuration/userguide/howto_basicfeatures.html#Variable_Interpolation
> >> >> >
> >> >> > Emmanuel
> >> >> >
> >> >> > On Tue, Jul 1, 2008 at 3:49 PM, Emmanuel Venisse <
> >> >> [EMAIL PROTECTED]>
> >> >> > wrote:
> >> >> >
> >> >> >> configuration must be in the webapp. At least
> >> >> continuum-configuration.xml,
> >> >> >> maybe spring-context.xml can be in the jar
> >> >> >>
> >> >> >> In application.xml, I think org.codehaus.plexus.registry.Registry
> >> >> >> configuration must be moved to continuum-configuration.xml but
> >> >> >> org.codehaus.plexus.redback.configuration.UserConfiguration use
> >> >> >> org.codehaus.plexus.registry.Registry so maybe you'll need to
> write a
> >> >> new
> >> >> >> component that use DefaultContinuumConfiguration
> >> >> >>
> >> >> >> Emmanuel
> >> >> >>
> >> >> >>
> >> >> >> On Mon, Jun 30, 2008 at 11:50 PM, <[EMAIL PROTECTED]> wrote:
> >> >> >>
> >> >> >>> Author: olamy
> >> >> >>> Date: Mon Jun 30 14:50:53 2008
> >> >> >>> New Revision: 672940
> >> >> >>>
> >> >> >>> URL: http://svn.apache.org/viewvc?rev=672940&view=rev
> >> >> >>> Log:
> >> >> >>> remove configuration from the jar. file will be added in the
> webapp
> >> >> >>>
> >> >> >>> Added:
> >> >> >>>
> >> >> >>>
> >> >>
> >>
>  
> continuum/trunk/continuum-base/continuum-configuration/src/test/resources/META-INF/
> >> >> >>>      - copied from r672938,
> >> >> >>>
> >> >>
> >>
> continuum/trunk/continuum-base/continuum-configuration/src/main/resources/META-INF/
> >> >> >>> Removed:
> >> >> >>>
> >> >> >>>
> >> >>
> >>
>  
> continuum/trunk/continuum-base/continuum-configuration/src/main/resources/META-INF/
> >> >> >>> Modified:
> >> >> >>>    continuum/trunk/continuum-base/continuum-configuration/pom.xml
> >> >> >>>
> >> >> >>> Modified:
> >> >> continuum/trunk/continuum-base/continuum-configuration/pom.xml
> >> >> >>> URL:
> >> >> >>>
> >> >>
> >>
> http://svn.apache.org/viewvc/continuum/trunk/continuum-base/continuum-configuration/pom.xml?rev=672940&r1=672939&r2=672940&view=diff
> >> >> >>>
> >> >> >>>
> >> >>
> >>
> ==============================================================================
> >> >> >>> ---
> continuum/trunk/continuum-base/continuum-configuration/pom.xml
> >> >> >>> (original)
> >> >> >>> +++
> continuum/trunk/continuum-base/continuum-configuration/pom.xml
> >> Mon
> >> >> Jun
> >> >> >>> 30 14:50:53 2008
> >> >> >>> @@ -37,6 +37,10 @@
> >> >> >>>               <name>appserver.base</name>
> >> >> >>>
> >> <value>${project.build.directory}/test-classes/</value>
> >> >> >>>             </property>
> >> >> >>> +            <property>
> >> >> >>> +              <name>user.home</name>
> >> >> >>> +
> >>  <value>${project.build.directory}/test-classes/</value>
> >> >> >>> +            </property>
> >> >> >>>           </systemProperties>
> >> >> >>>         </configuration>
> >> >> >>>       </plugin>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >
> >> >>
> >> >
> >>
> >
>

Reply via email to