]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6922 Minor improvements on Scanner Report Viewer
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 12 Nov 2015 08:54:09 +0000 (09:54 +0100)
committerJulien HENRY <julien.henry@sonarsource.com>
Thu, 12 Nov 2015 08:55:09 +0000 (09:55 +0100)
sonar-batch-protocol/pom.xml
sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/viewer/ViewerApplication.java

index d7dd35788b9df28bc08297231da5fa2a259f7593..66104efcdf958b3fdf0c3157659534b5093b2599 100644 (file)
@@ -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>
index bd082f1dd8886ac6fb2bee0b92e5a04a56a20a09..e17e2363eb304b77118847e4df4b570e9e0dfc5d 100644 (file)
@@ -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();