We can try that yes. Subsystem is activated before any GateIn init or JCR init occurs so that should be doable.
Could the GateIn AS7 subsystem check whether or not these system properties are already set, and if not set them to default values before starting GateIn?
> To: "Nicolas Filotto" <nicolas.filotto@exoplatform.com>
> Cc: "gatein-dev" <gatein-dev@lists.jboss.org>
> Sent: Wednesday, 19 September, 2012 8:02:53 AM
> Subject: Re: [gatein-dev] Starting AS7 package with no parameter
>
>
> Could this be added or could the default be good if AS7 is detected
> since we know the location in advance ?
>
> On 09/18/2012 12:05 PM, Nicolas Filotto wrote:
> > About exo.conf.dir and exo.conf.dir.name
> > <http://exo.conf.dir.name>,
> > the answer is no. About gatein.conf.dir, I have no idea since it
> > sounds like gatein specific but I guess that the answer should be
> > yes
> >
> > On Tue, Sep 18, 2012 at 9:39 AM, Thomas Heute <theute@redhat.com
> > <mailto:theute@redhat.com>> wrote:
> >
> >
> > Nicolas, can we specify exo.conf.dir, exo.conf.dir.name
> > <http://exo.conf.dir.name>, gatein.conf.dir in a property file
> > rather than command line ?
> >
> > Thomas.
> >
> >
> > -------- Original Message --------
> > Subject: [gatein-dev] Starting AS7 package with no parameter
> > Date: Tue, 11 Sep 2012 10:47:51 +0200
> > From: Thomas Heute <theute@redhat.com
> > <mailto:theute@redhat.com>>
> > To: gatein-dev <gatein-dev@lists.jboss.org
> > <mailto:gatein-dev@lists.jboss.org>>
> >
> >
> >
> >
> > At the moment starting GateIn with AS7 package requires to add
> > 3
> > parameters:
> > -Dexo.conf.dir=$JBOSS_HOME/standalone/configuration/gatein
> > -Dexo.conf.dir.name <http://Dexo.conf.dir.name>=gatein"
> > -Dgatein.conf.dir=\\\${jboss.server.config.dir}/gatein
> >
> > While in most cases they would not change.
> >
> > This is an issue for tools like Eclipse as well since they
> > 'bypass'
> > standalone.conf
> >
> > Do we have a way to make those, good defaults depending on the
> > app
> > server ? Or to have those written in a configuration/property
> > file so
> > that it doesn't require any command line parameter ?
> >
> > Also do we have good documentation about those 3 properties ?
> >
> > Thanks
> > Thomas.
> >
> > _______________________________________________
> > gatein-dev mailing list
> > gatein-dev@lists.jboss.org <mailto:gatein-dev@lists.jboss.org>
> > https://lists.jboss.org/mailman/listinfo/gatein-dev
> >
> >
> >
>
> _______________________________________________
> gatein-dev mailing list
> gatein-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/gatein-dev
>
_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev