On Wed, May 18, 2011 at 1:13 PM, Senaka Fernando <[email protected]> wrote:
> > > On Wed, May 18, 2011 at 12:54 PM, Pradeep Fernando <[email protected]>wrote: > >> hi, >> >> first of all I'm still looking at the code that processes -Dsetup >> system property. But since, we are setting a system a property here >> there is no rule of thumb saying, we should do stuff within >> carbon-core related core. >> > > I have the same understanding about this. We simply check for the existence > of this property in Registry Kernel, and then test for the existence of the > DB tables and setup the DB if required (using > org.wso2.carbon.utils.dbcreator.DatabaseCreator). UM does something similar. > Yes, we implemented -Dsetup for BPEL by extending the org.wso2.carbon.utils.dbcreator.DatabaseCreator class. Thanks, Waruna > > Thanks, > Senaka. > >> >> So once the user start the carbon server with -Dsetup , we can look up >> for the system property and proceed with our setting up process. May >> be you(Buddhika) have figured this out already, if so what is blocking >> you from implementing that sort of solution. Can you give us some more >> details. >> >> --Pradeep >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> > > > > -- > *Senaka Fernando* > Product Manager - WSO2 Governance Registry; > Associate Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- ------------------------------------------------------------------------- Waruna Ranasinghe Senior Software Engineer, WSO2 Mobile: +94 724 318285 BLOG: http://warunapw.blogspot.com www.wso2.com - "Lean . Enterprise . Middleware"
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
