https://www.lucidchart.com/documents/edit/96eed0cd-05b4-4865-a575-0f3707bf9bc0#
Friday, 26 December 2014
Sun Certification Dumps for Java both SCJP and OCPJP
Sun Certified Java Programmer ( SCJP- OCPJP ) Certification DUMPS
Following are link for SCJP/OCPJP DUMPS:
2. OOPs
4. Operators
5. Flow Control
6. Assertions
11. Java Package
12. Development
Friday, 12 December 2014
How to disable the rules in sonar.
it's very easy to disable and enable the rules in sonar
login to http://localhost:9000/ for sonar server.
your project should be added here.
click here.to seee
now you need to log in..user name is admin.pwd is admin
1:-go to quality profile
then selcet java profile
2:-sonar way
3:enter the rule as key ..here and click on serach . now uncheck the box and ..inactive it
and go to dashboard ...and leave it.
4:-now run sonnar runner command once again..
and check your dashboard once again you can see. the rule has reflected vice versa you can do .
just enable it and ..do same rest of process..
login to http://localhost:9000/ for sonar server.
your project should be added here.
click here.to seee
now you need to log in..user name is admin.pwd is admin
1:-go to quality profile
then selcet java profile
2:-sonar way
3:enter the rule as key ..here and click on serach . now uncheck the box and ..inactive it
and go to dashboard ...and leave it.
4:-now run sonnar runner command once again..
and check your dashboard once again you can see. the rule has reflected vice versa you can do .
just enable it and ..do same rest of process..
Wednesday, 10 December 2014
SonarQube Tool set up manually
you can use sonar in manual process way..
Eclipse plugin approach is available her
http://javadeveloperchoiceno1.blogspot.in/p/sonar.html
Installation Steps:
Starting SonarQube Server & Running Project Analyzer
the project:
Eclipse plugin approach is available her
http://javadeveloperchoiceno1.blogspot.in/p/sonar.html
Installation Steps:
·
Go to
http://www.sonarqube.org/downloads/ link and download latest version of
SonarQube and SonarQube Runner. Extract the zip to local directory.
·
Set SONAR_RUNNER_HOME environment variable to SonarQube directory.
Ex: SONAR_RUNNER_HOME =D:\sonar-runner-2.3
·
Set
JAVA_HOME Path
·
Set
Path=% JAVA_HOME %;% SONAR_RUNNER_HOME %;
Starting SonarQube Server & Running Project Analyzer
the project:
·
Open
command prompt & go to SonarQube/bin/ directory. In bin directory there are
many directories. Go to suitable directory depending on your OS. For example
for Windows with 32 bit directory would be SonarQube/bin/ windows-x86-32.
·
Run StartSonar.bat
command & wait for few seconds to start the server.
then
·
Click
on Login link to login with default user name “admin” & password “admin”.
·
In order
to analyze the project, we have to create “sonar-project.properties” file in
our java project root directory. Sample “sonar-project.properties” file:
fi fill these detail inside property file
# Required metadata
sonar.projectKey=java-sonar-runner-simple
sonar.projectName=ETailWebApp
sonar.projectVersion=1.0
# Comma-separated paths to directories with sources (required)
sonar.sources=src
# Language
sonar.language=java
# Encoding of the source files
sonar.sourceEncoding=UTF-8
·
Open command prompt & go to Java project root
directory which we want to analyze (Make sure SonarQube server is started &
“sonar-project.properties”
file is in project root directory).
Run sonar-runner batch file which is in
sonar-runner/bin directory (We have downloaded sonar-runner.zip &
sonarqube.zip file & extracted it in local file
open cmd use follwing kind of command
cd D:\GE GDC Working Folder\ashish.negi\EtailProject\ETailWebApp_4
go up to your project..which has sonnar properties file
then
use this command
D:\Sonar\sonar-runner-2.3\bin\sonar-runner.bat
now you can see porject been interarated with report
Now go
to http://localhost:9000/ to open the Dashboard. Now in project section there
will be a project.
after this
Ø After
getting Project into Sonar… Use following URL…
Ø Save xml file into local… Ex: D:\violations.xml
Ø Open that xml file from Excel. ( We will get Excel
Report here..)
while doing all this set up you can get some issue please follow following url
t
Subscribe to:
Posts (Atom)