Hi Gayashan, Thanks, I got it worked with your steps. You can probably block this . :). I could not Google and find it.
@Rajith, Yes, SonarQube is listening to port 9000 (http://localhost:9000/) and we can use the default port. Thanks, Rajeevan On Mon, Sep 22, 2014 at 10:46 AM, Rajith Siriwardena <[email protected]> wrote: > hi Gayashan, > > By default the web port where *SonarQube* is listening, is set to 9000 > not 9889. So the default link would be http://localhost:9000/ > <http://localhost:9889/> > > Cheers, > Rajith > > On Mon, Sep 22, 2014 at 10:20 AM, Gayashan Amarasinghe <[email protected]> > wrote: > >> Hi Rajeevan, >> >> Try this approach. This is sort of a workaround, may not be the optimal >> approach. >> >> 1. Start a sonar server (sonar start) >> 2. Go to your project from the terminal and run following command: >> mvn sonar:sonar >> (This command will create a sonar project for your project and in >> fact you can view the sonar report if you visit the web console from >> following link: http://localhost:9889/. Note that you can change the >> default sonar tcp port from changing the "sonar.web.port" property in >> <sonar dir>/conf/sonar.properties file.) >> 3. Open intelliJ and since you've already installed sonar plugin, >> right click on the project and select "Associate with SonarQube" >> 4. In the window that pops up your project may not show up, so clear >> the search box and try typing the name associated with your project from >> your pom file. >> 5. Select the appropriate sonar project and it should get linked >> properly. >> >> >> Hope this will fix the issue. I should probably blog this. :) >> >> Thanks. >> >> /Gayashan >> >> >> On Mon, Sep 22, 2014 at 9:57 AM, Vimalanathan Rajeevan < >> [email protected]> wrote: >> >>> Hi Sajith, >>> >>> It is OK. I tried in the same way you mentioned. Still not getting >>> worked. >>> >>> Thanks, >>> Rajeevan >>> >>> On Fri, Sep 19, 2014 at 2:53 PM, Sajith Kariyawasam <[email protected]> >>> wrote: >>> >>>> Have you created a project on SonarQube server? >>>> >>>> You have to start typing the name of the project on that text box for >>>> that to appear on the list. If not type the whole name of the project and >>>> see. >>>> >>>> Sorry I haven't tried in IntelliJ but got it working in Eclipse >>>> >>>> Thanks, >>>> Sajith >>>> >>>> On Fri, Sep 19, 2014 at 2:43 PM, Vimalanathan Rajeevan < >>>> [email protected]> wrote: >>>> >>>>> Hi Sajith, >>>>> >>>>> I am already running sonarqube-4.4 on my local machine and configured >>>>> that in IntelliJ as specified in [1]. Still unable to associate the >>>>> project >>>>> to SonarQube as "Associate With SonarQube" window does not show any >>>>> projects to select. >>>>> >>>>> [1] >>>>> http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ >>>>> >>>>> On Fri, Sep 19, 2014 at 1:22 PM, Sajith Kariyawasam <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi Rajeevan, >>>>>> >>>>>> You need to configure SonarQube server in your IDE to point to a real >>>>>> Sonar server. Or, you need to run a server in your local machine. >>>>>> >>>>>> Please refer [1] >>>>>> >>>>>> [1] >>>>>> http://docs.codehaus.org/display/SONAR/Installing#Installing-installingWebServerInstallingtheWebServer >>>>>> >>>>>> Thanks, >>>>>> Sajith >>>>>> >>>>>> >>>>>> On Fri, Sep 19, 2014 at 12:40 PM, Vimalanathan Rajeevan < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I tried for a code quality check with SonarQube in IntelliJ IDEA for >>>>>>> a maven project. I Installed the plugin required and tried to associate >>>>>>> the >>>>>>> project with SonarQube as explained in [1]. When I type the project >>>>>>> name, >>>>>>> "Associate With SonarQube" window doesn't show any projects to select. >>>>>>> What >>>>>>> could be the issue? >>>>>>> >>>>>>> [1] >>>>>>> http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+IntelliJ >>>>>>> >>>>>>> Thanks, >>>>>>> Rajeevan >>>>>>> >>>>>>> -- >>>>>>> Best Regards, >>>>>>> V.Rajeevan >>>>>>> Software Engineer, >>>>>>> WSO2 Inc. :http://wso2.com >>>>>>> >>>>>>> Mobile : +94 773090875 >>>>>>> Email : [email protected] >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Dev mailing list >>>>>>> [email protected] >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Sajith Kariyawasam* >>>>>> >>>>>> >>>>>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com >>>>>> <http://wso2.com>AMIE (SL)Mobile: +94772269575* >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Best Regards, >>>>> V.Rajeevan >>>>> Software Engineer, >>>>> WSO2 Inc. :http://wso2.com >>>>> >>>>> Mobile : +94 773090875 >>>>> Email : [email protected] >>>>> >>>> >>>> >>>> >>>> -- >>>> *Sajith Kariyawasam* >>>> >>>> >>>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com >>>> <http://wso2.com>AMIE (SL)Mobile: +94772269575* >>>> >>> >>> >>> >>> -- >>> Best Regards, >>> V.Rajeevan >>> Software Engineer, >>> WSO2 Inc. :http://wso2.com >>> >>> Mobile : +94 773090875 >>> Email : [email protected] >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *Gayashan Amarasinghe* >> Software Engineer | Platform TG >> WSO2, Inc. | http://wso2.com >> lean. enterprise. middleware >> >> Mobile : +94718314517 >> Blog : gayashan-a.blogspot.com >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Rajith Siriwardana* > Software Engineer | Cloud Team > WSO2 Inc. ; http://wso2.com > *lean. enterprise. middleware* > > --------------------------------------------------- > *http://people.apache.org/~siriwardana > <http://people.apache.org/~siriwardana>* > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
