[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stellation-res] Commands to svcadmin
|
Thank you. I'll try to catch up on all the doco.
----- Original Message -----
From: "Dave Shields" <shields@xxxxxxxxxxxxxx>
To: <stellation-res@xxxxxxxxxxxxxxx>
Sent: Thursday, January 02, 2003 1:14 AM
Subject: Re: [stellation-res] Commands to svcadmin
> On Wed, Jan 01, 2003 at 04:28:24PM +0800, Dale Bennett wrote:
> > I've finally found some time to do some work on SQLServer support and
have made a number of mods, however I'm having a little trouble
understanding the way svcadmin decides if a command is valid or not.
> >
> > when I ask svcadmin to create a database using the command
"sqlserver:stellation <username> <password>"
> > It tells me that the command is invalid; no big surprise but I can't
seem to find where valid commands are defined! I've searched and debugged
to no avail.
> >
> > I know that Selector and CommandSelector are involved and can see where
the svc commands are defined but the svcadmin commands elude me.
> >
> > Maybe someone could point me in the right direction.
> >
> > Regards,
> > Dale Bennett.
>
> There is some mention of svcadmin in core build document.
> There should be a separate document, svcadmin.html, which I
> will to try to add later today or else tomorrow.
> In the interim, look at
>
> org.eclipse.stellation/plugins/org.eclipse.stellation.core/test/build.xml
>
> where relevant part is
>
> <!--
> Initializes the test database
> -->
> <target
>
depends="init,drop-firebird,drop-postgresql,init-firebird,init-postgresql"
> name="initdb"
> unless="server">
> <property
> name="options"
> value="--location=${rdbm}:${testdb} --password=${password}
${comment}"/>
> <exec
> executable="${svcadmin}"
> failonerror="yes">
> <arg line="init --location ${rdbm}:${testdb} --username
${user.name} --password password"/>
> </exec>
> </target>
>
> so that, for example,
>
> svcadmin init --location postgres:mergetst --user stellation --password
password
>
> initializes the repository mergetst for use with postgreSQL.
> Only one command -- 'initialize' -- is currently defined.
>
> dave
>
> --
> Dave Shields, IBM Research, shields@xxxxxxxxxxxxxx.
> _______________________________________________
> stellation-res mailing list
> stellation-res@xxxxxxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/stellation-res
>