Hi Eranda, I tried to run "mvn clean install" for orbit, however, I got the following error:
[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Project 'antlr.wso2:antlr' is duplicated in the reactor [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Project 'antlr.wso2:antlr' is duplicated in the reactor at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6 0) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.DuplicateProjectException: Project ' antlr.ws o2:antlr' is duplicated in the reactor at org.apache.maven.project.ProjectSorter.<init>(ProjectSorter.java:93) at org.apache.maven.execution.ReactorManager.<init>(ReactorManager.java: 99) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:288) ... 11 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Mar 13 23:56:28 CST 2013 [INFO] Final Memory: 6M/242M [INFO] ------------------------------------------------------------------------ I checked the project settings, there are two versions of antlr existed, they do differ by their version number. Could you please have a look? FYI, I checked out from https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/, and I am using jdk 1.6.43 and Maven 2.2.1. Thanks in advance. On Wed, Mar 13, 2013 at 3:11 PM, Eranda Sooriyabandara <era...@wso2.com>wrote: > HI Bin, > Sorry for the broken link, I was manually created it. > Your procedure is correct for all bundles which is release in carbon > 4.0.0. But if you need any other version you need to build the patch > release according to that version. > e.g. If you need to update 4.0.5 versioned bundle then you should build > patch-releases/4.0.5. > > thanks > Eranda > > > On Wed, Mar 13, 2013 at 12:05 PM, Bin Rong <steven.r...@gmail.com> wrote: > >> Hi Eranda and Vijitha, >> >> Thanks for the prompt reply. >> >> Just want to make sure we are on the same page. The orbit URL you gave us >> is broken. What I need to do now are: >> 1. Check out orbit from >> https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/, run "mvn >> clean install" to build orbit >> 2. Check out kernel from >> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/, run "mvn >> clean install" to build kernel >> 3. Then run "maven eclipse:eclipse" to convert them to eclipse projects. >> >> >> Am I doing the right thing? >> >> Thanks in advance. >> >> >> On Wed, Mar 13, 2013 at 11:44 AM, Eranda Sooriyabandara >> <era...@wso2.com>wrote: >> >>> Hi Bin, >>> First you need to try building the kernel. To do that you need to check >>> out orbit from >>> https://svn.wso2.org/repos/wso2/carbon/kernel/orbit/4.0.0/ and build >>> it. Then there will be all the dependencies you need in your local maven >>> repository and will be able to import to eclipse using vijitha's command at >>> no time. >>> >>> thanks >>> Eranda >>> >>> >>> On Wed, Mar 13, 2013 at 8:00 AM, Bin Rong <steven.r...@gmail.com> wrote: >>> >>>> Hi Vijitha, >>>> >>>> Many thanks for your reply. I tried the approach you pointed out to >>>> convert Maven project into eclipse project, then tried to import into >>>> Developer Studio 3.0. >>>> >>>> However, there are more than 20,000 dependencies problem. Tried to >>>> manually add some of the missing libraries, but it's just too tedious. >>>> >>>> Just wondering how you guys do the development within WSO2, or is there >>>> any developer guide/manual? >>>> >>>> We love the WSO2 concept and product, but it seems the learning curve >>>> is a little bit deep. >>>> >>>> Thanks very much for your time and help. >>>> >>>> >>>> On Mon, Feb 25, 2013 at 10:02 PM, Vijitha Kumara <viji...@wso2.com>wrote: >>>> >>>>> Hi Bin, >>>>> >>>>> On Thu, Feb 21, 2013 at 7:51 PM, Bin Rong <steven.r...@gmail.com>wrote: >>>>> >>>>>> Hi there, >>>>>> >>>>>> I tried to import WSO2 kernel as Maven project into Eclipse, >>>>>> however, there are all sorts of build path problems, in particular, >>>>>> couldn't locate the necessary libraries. >>>>>> >>>>>> FYI, I use Spring STS with m2eclipse plugin, and checkout source code >>>>>> from https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/. >>>>>> >>>>>> Could anyone point me to a developer guide or any documentation of >>>>>> how to develop/extend WSO2 kernel, and how to add/remove bundles when >>>>>> it's >>>>>> necessary. >>>>>> >>>>> >>>>> You'd need to point to a specific patch release pom files specifically >>>>> if you intend to work on a such, or the pom file inside 4.0.0 for the >>>>> initial 4.0.0 release. You can run "maven eclipse:eclipse" to convert them >>>>> to eclipse projects. >>>>> >>>>> >>>>> Regards, >>>>> Vijitha. >>>>> >>>>> >>>>> >>>>> >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Vijitha Kumara >>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com/ >>>>> email: viji...@wso2.com >>>>> m: +1 408 874 5622 >>>>> >>>>> Lean . Enterprise . Middleware >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Eranda Sooriyabandara >>> *Software Engineer; >>> Integration Technologies Team; >>> WSO2 Inc.; http://wso2.com >>> >>> * >>> * >>> >> >> > > > -- > *Eranda Sooriyabandara > *Software Engineer; > Integration Technologies Team; > WSO2 Inc.; http://wso2.com > > * > * >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev