Hi Amila, As mentioned earlier, we create separate maven project for each and every artifact[1]. So for each and every data service also, we create a separate project.That is a basic design change in CS 2.0.0 in order get rid of single src folder that is being shared by all the artifacts in the 1.0.x family. We came up with such design in order to give a clear separation of artifacts that one application (carbon application project) would require.
Regards, Chathuri [1] http://builder1.us1.wso2.org/~carbonstudio/carbon-studio/2.0.0/M9/documentation/overview.html#artifactProject On Sat, Mar 10, 2012 at 7:47 AM, Amila Suriarachchi <am...@wso2.com> wrote: > > > On Fri, Mar 9, 2012 at 11:20 PM, Chathuri Wimalasena <chath...@wso2.com>wrote: > >> Hi Amila / AmilaM, >> >> Yes, it is the behavior of CS 2.0.0. For each and every artifact, we >> create a project type. To create the CAR file out of these projects, you >> need to create a Carbon Application project, which will only group all the >> artifact projects in your workspace. You can use normal maven commands or >> export option to create the CAR file out of it as you did in 1.0.x >> family). Please refer [1], [2] for more information. >> > > ok I'll try that. Why data services create one project per service? > > thanks, > Amila. > >> >> Thanks and Regards, >> Chathuri >> >> [1] >> http://builder1.us1.wso2.org/~carbonstudio/carbon-studio/2.0.0/M9/documentation/overview.html >> [2] >> http://builder1.us1.wso2.org/~carbonstudio/carbon-studio/2.0.0/M9/documentation/getting_started_category.html >> >> >> On Fri, Mar 9, 2012 at 4:45 PM, Amila Suriarachchi <am...@wso2.com>wrote: >> >>> And also when creating a Data service it let create a data service using >>> a carbon data source. is there a way to create a carbon >>> data source using CS? >>> >>> thanks, >>> Amila. >>> >>> >>> On Fri, Mar 9, 2012 at 4:25 PM, Amila Suriarachchi <am...@wso2.com>wrote: >>> >>>> >>>> >>>> On Fri, Mar 9, 2012 at 3:39 PM, Amila Maha Arachchi <ami...@wso2.com>wrote: >>>> >>>>> Hi, >>>>> >>>>> If you start a new carbon application project File - > New -> Other -> >>>>> WSO2 -> Carbon Application Project, you can add any number of artifacts to >>>>> it AFAIK. I have tried this and I was able to add two proxy services and a >>>>> data services as artifacts to one CApp. >>>>> >>>> >>>> Seems like this is not the way 2.0.0 works. >>>> >>>> thanks, >>>> Amila. >>>> >>>> >>>>> >>>>> Right click on artifacts -> new -> select the type you want (I am >>>>> trying with CS 1.0.13) >>>>> >>>>> Regards, >>>>> AmilaM. >>>>> >>>>> On Fri, Mar 9, 2012 at 3:28 PM, Amila Suriarachchi <am...@wso2.com>wrote: >>>>> >>>>>> hi, >>>>>> >>>>>> I tried to implement the above services as a project so that it can >>>>>> be deployed as one .car file. >>>>>> >>>>>> But when I try to create a data service it always asks for a new >>>>>> project name and creates a new project. >>>>>> >>>>>> And also it seems to create proxy service I need to create an ESB >>>>>> project etc .. >>>>>> >>>>>> How can I use CS studio to create one .car file for all these? >>>>>> >>>>>> thanks, >>>>>> Amila. >>>>>> >>>>>> >>>>>> -- >>>>>> *Amila Suriarachchi* >>>>>> >>>>>> Software Architect >>>>>> WSO2 Inc. ; http://wso2.com >>>>>> lean . enterprise . middleware >>>>>> >>>>>> phone : +94 71 3082805 >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Amila Maharachchi* >>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com >>>>> >>>>> Blog: http://maharachchi.blogspot.com >>>>> Mobile: +94719371446 >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> *Amila Suriarachchi* >>>> >>>> Software Architect >>>> WSO2 Inc. ; http://wso2.com >>>> lean . enterprise . middleware >>>> >>>> phone : +94 71 3082805 >>>> >>>> >>> >>> >>> -- >>> *Amila Suriarachchi* >>> >>> Software Architect >>> WSO2 Inc. ; http://wso2.com >>> lean . enterprise . middleware >>> >>> phone : +94 71 3082805 >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Chathuri Wimalasena >> Senior Software Engineer; WSO2, Inc.; http://wso2.com/ >> email: chath...@wso2.com; phone: +94 772 608 596 >> blog: http://chathuriwimalasena.blogspot.com/ >> > > > > -- > *Amila Suriarachchi* > > Software Architect > WSO2 Inc. ; http://wso2.com > lean . enterprise . middleware > > phone : +94 71 3082805 > > -- Chathuri Wimalasena Senior Software Engineer; WSO2, Inc.; http://wso2.com/ email: chath...@wso2.com; phone: +94 772 608 596 blog: http://chathuriwimalasena.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev