On Mon, Jan 16, 2012 at 11:11 AM, Srinath Perera <[email protected]> wrote:
> article should point to samples .. either at SVN or as downloadable .. The maven plugin will be hosted in a nexus repo. Therefore no need to download the carbon-template project. Once adding repo details to ~/.m2/settings.xml file, the plugin can be used similar to archetype:generate.. Command will be something like, mvn org.wso2.carbon:carbon-template:generate > SVN might be better > > --Srinath > > On Fri, Jan 13, 2012 at 4:56 PM, Dasunpriya Anuradha <[email protected]> > wrote: > > Even you can attach samples (if any) as compress files to your OT article > > itself. > > > > Thanks. > > > > > > On Fri, Jan 13, 2012 at 4:46 PM, Chethiya Abeysinghe <[email protected]> > > wrote: > >> > >> > >> > >> On Fri, Jan 13, 2012 at 4:22 PM, Srinath Perera <[email protected]> > wrote: > >>> > >>> We should check this in to our SVN .. and maintain in the future > >> > >> > >> +1. And I expect people to try out this template with their real life > >> requirements and provide feedback on critical changes to be done before > >> deploying it with masses. > >> > >>> > >>> Chethiya, can you write a OT article describing how to use these > >>> templates? > >> > >> > >> +1. I'll start working on it with the options we have now. > >> > >> > >> Thanks, > >> - Chethiya > >> > >>> > >>> > >>> > >>> On Fri, Jan 13, 2012 at 3:57 PM, Chethiya Abeysinghe < > [email protected]> > >>> wrote: > >>> > Hi, > >>> > > >>> > I've extended above, including service-stubs, features and repository > >>> > along > >>> > with the already existing backend-end and front-end carbon component. > >>> > Therefore, any project you create using this new template will be an > >>> > all-in-one package where you can run off the shelf at somewhere like > >>> > application server. You just have to do a 'mvn clean install' in the > >>> > created > >>> > project and install the created feature using the repository. > >>> > > >>> > Here are the instruction to use the new template. Note that it's not > >>> > archetype anymore, I've created a maven plugin to overcome some > >>> > limitation > >>> > of archetype with folder naming and parameter formatting, and now it > >>> > got > >>> > great deal of customizability. > >>> > > >>> > 1. Extract the attachment and do a 'mvn clean install' within the > >>> > 'carbon-template' folder. > >>> > 2. Go to the place you want to create the project and then hit > >>> > 'mvn org.wso2.carbon:carbon-template:1.0.0-SNAPSHOT:generate' > >>> > 3. Provide the necessary parameters (artifactId, groupId, etc)... > This > >>> > runs > >>> > in interactive mode. But should be possible to run in non-interactive > >>> > mode > >>> > also by just passing the parameters using command line arguments. > >>> > 4. Go into the project folder named using the aggragratorArtifactId > you > >>> > supplied. Run 'mvn clean install' inside that folder > >>> > > >>> > Please give necessary changes to be done on generated sample project. > >>> > > >>> > Thanks, > >>> > - Chethiya > >>> > > >>> > > >>> > On Fri, Jan 6, 2012 at 5:42 PM, Chethiya Abeysinghe < > [email protected]> > >>> > wrote: > >>> >> > >>> >> > >>> >> > >>> >> On Fri, Jan 6, 2012 at 4:29 PM, Pradeep Fernando <[email protected]> > >>> >> wrote: > >>> >>> > >>> >>> Hi Chethiya, > >>> >>> > >>> >>> nice. what about stub bundle. ? > >>> >> > >>> >> It's not in this archetype. At the moment this archetype only has > >>> >> back-end > >>> >> and front-end carbon components. As we discussed, the next step is > to > >>> >> extend > >>> >> this archetype to create stub bundle and features along with current > >>> >> carbon > >>> >> components in one parent folder. > >>> >> > >>> >> thanks, > >>> >> - Chethiya > >>> >>> > >>> >>> > >>> >>> thanks, > >>> >>> --Pradeep > >>> >>> > >>> >>> > >>> >>> _______________________________________________ > >>> >>> Carbon-dev mailing list > >>> >>> [email protected] > >>> >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >>> >>> > >>> >> > >>> >> > >>> >> > >>> >> -- > >>> >> Chethiya Abeysinghe > >>> >> Software Engineer; WSO2, Inc.; http://wso2.com/ > >>> >> email: [email protected] phone: +94 777334874 > >>> >> blog: chethiya3000.blogspot.com > >>> >> > >>> >> > >>> > > >>> > > >>> > > >>> > -- > >>> > Chethiya Abeysinghe > >>> > Software Engineer; WSO2, Inc.; http://wso2.com/ > >>> > email: [email protected] phone: +94 777334874 > >>> > blog: chethiya3000.blogspot.com > >>> > > >>> > > >>> > > >>> > _______________________________________________ > >>> > Carbon-dev mailing list > >>> > [email protected] > >>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >>> > > >>> > >>> > >>> > >>> -- > >>> ============================ > >>> Srinath Perera, Ph.D. > >>> http://www.cs.indiana.edu/~hperera/ > >>> http://srinathsview.blogspot.com/ > >>> _______________________________________________ > >>> Carbon-dev mailing list > >>> [email protected] > >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >> > >> > >> > >> > >> -- > >> Chethiya Abeysinghe > >> Software Engineer; WSO2, Inc.; http://wso2.com/ > >> email: [email protected] phone: +94 777334874 > >> blog: chethiya3000.blogspot.com > >> > >> > >> > >> _______________________________________________ > >> Carbon-dev mailing list > >> [email protected] > >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >> > > > > > > > > -- > > == > > Dasunpriya Anuradha. > > > > > > > > _______________________________________________ > > Carbon-dev mailing list > > [email protected] > > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > -- > ============================ > Srinath Perera, Ph.D. > http://www.cs.indiana.edu/~hperera/ > http://srinathsview.blogspot.com/ > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > -- Chethiya Abeysinghe Software Engineer; WSO2, Inc.; http://wso2.com/ email: [email protected] phone: +94 777334874 blog: chethiya3000.blogspot.com
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
