You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Emmanuel Venisse <em...@gmail.com> on 2008/07/01 15:49:34 UTC

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

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, <ol...@apache.org> 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>
>
>
>

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

Posted by Emmanuel Venisse <em...@gmail.com>.
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 <ol...@apache.org> 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 <em...@gmail.com>:
> > 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 <ol...@apache.org> 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 <em...@gmail.com>:
> >> > The configuration isn't saved in config files but in the DB.
> >> >
> >> > On Tue, Jul 1, 2008 at 4:30 PM, Olivier Lamy <ol...@apache.org>
> 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 <em...@gmail.com>:
> >> >> > 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 <
> >> >> emmanuel.venisse@gmail.com>
> >> >> > 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, <ol...@apache.org> 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>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >
> >> >>
> >> >
> >>
> >
>

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

Posted by Olivier Lamy <ol...@apache.org>.
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 <em...@gmail.com>:
> 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 <ol...@apache.org> 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 <em...@gmail.com>:
>> > The configuration isn't saved in config files but in the DB.
>> >
>> > On Tue, Jul 1, 2008 at 4:30 PM, Olivier Lamy <ol...@apache.org> 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 <em...@gmail.com>:
>> >> > 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 <
>> >> emmanuel.venisse@gmail.com>
>> >> > 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, <ol...@apache.org> 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>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>
>> >> >
>> >>
>> >
>>
>

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

Posted by Emmanuel Venisse <em...@gmail.com>.
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 <ol...@apache.org> 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 <em...@gmail.com>:
> > The configuration isn't saved in config files but in the DB.
> >
> > On Tue, Jul 1, 2008 at 4:30 PM, Olivier Lamy <ol...@apache.org> 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 <em...@gmail.com>:
> >> > 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 <
> >> emmanuel.venisse@gmail.com>
> >> > 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, <ol...@apache.org> 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>
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >
> >>
> >
>

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

Posted by Olivier Lamy <ol...@apache.org>.
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 <em...@gmail.com>:
> The configuration isn't saved in config files but in the DB.
>
> On Tue, Jul 1, 2008 at 4:30 PM, Olivier Lamy <ol...@apache.org> 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 <em...@gmail.com>:
>> > 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 <
>> emmanuel.venisse@gmail.com>
>> > 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, <ol...@apache.org> 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>
>> >>>
>> >>>
>> >>>
>> >>
>> >
>>
>

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

Posted by Emmanuel Venisse <em...@gmail.com>.
The configuration isn't saved in config files but in the DB.

On Tue, Jul 1, 2008 at 4:30 PM, Olivier Lamy <ol...@apache.org> 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 <em...@gmail.com>:
> > 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 <
> emmanuel.venisse@gmail.com>
> > 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, <ol...@apache.org> 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>
> >>>
> >>>
> >>>
> >>
> >
>

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

Posted by Emmanuel Venisse <em...@gmail.com>.
You don't have time for holidays, lot of work on continuum :P

On Tue, Jul 1, 2008 at 4:30 PM, Olivier Lamy <ol...@apache.org> 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 <em...@gmail.com>:
> > 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 <
> emmanuel.venisse@gmail.com>
> > 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, <ol...@apache.org> 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>
> >>>
> >>>
> >>>
> >>
> >
>

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

Posted by Olivier Lamy <ol...@apache.org>.
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 <em...@gmail.com>:
> 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 <em...@gmail.com>
> 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, <ol...@apache.org> 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>
>>>
>>>
>>>
>>
>

Re: svn commit: r672940 - in /continuum/trunk/continuum-base/continuum-configuration: pom.xml src/main/resources/META-INF/ src/test/resources/META-INF/

Posted by Emmanuel Venisse <em...@gmail.com>.
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 <em...@gmail.com>
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, <ol...@apache.org> 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>
>>
>>
>>
>