diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-12 09:54:09 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-12 09:55:09 +0100 |
commit | 676b19a17f17484853638fad738839f8bebb2b72 (patch) | |
tree | ee934e4d4ca3c2015fa991f55302a97a72235e14 /sonar-batch-protocol | |
parent | 1bee96aec33f4fa92c82a2d4359ae47e9b42a51a (diff) | |
download | sonarqube-676b19a17f17484853638fad738839f8bebb2b72.tar.gz sonarqube-676b19a17f17484853638fad738839f8bebb2b72.zip |
SONAR-6922 Minor improvements on Scanner Report Viewer
Diffstat (limited to 'sonar-batch-protocol')
-rw-r--r-- | sonar-batch-protocol/pom.xml | 2 | ||||
-rw-r--r-- | sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/viewer/ViewerApplication.java | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sonar-batch-protocol/pom.xml b/sonar-batch-protocol/pom.xml index d7dd35788b9..66104efcdf9 100644 --- a/sonar-batch-protocol/pom.xml +++ b/sonar-batch-protocol/pom.xml @@ -64,6 +64,8 @@ <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> + <finalName>scanner-report-viewer-${project.version}</finalName> + <appendAssemblyId>false</appendAssemblyId> <archive> <manifest> <mainClass>org.sonar.batch.protocol.viewer.ViewerApplication</mainClass> diff --git a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/viewer/ViewerApplication.java b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/viewer/ViewerApplication.java index bd082f1dd88..e17e2363eb3 100644 --- a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/viewer/ViewerApplication.java +++ b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/viewer/ViewerApplication.java @@ -102,9 +102,10 @@ public class ViewerApplication { private void loadReport() { final JFileChooser fc = new JFileChooser(); - fc.setDialogTitle("Choose batch report directory"); + fc.setDialogTitle("Choose scanner report directory"); fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); - fc.setApproveButtonText("Open batch report"); + fc.setFileHidingEnabled(false); + fc.setApproveButtonText("Open scanner report"); int returnVal = fc.showOpenDialog(frame); if (returnVal == JFileChooser.APPROVE_OPTION) { File file = fc.getSelectedFile(); |