Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9785

on OSX a java icon jump on dock for all starting maven build and takes focus

    XMLWordPrintable

Details

    • Improvement
    • Status: Reopened (View Workflow)
    • Minor
    • Resolution: Unresolved
    • maven-plugin
    • None

    Description

      java -Djava.awt.headless=true can be added to MAVEN_OPTS manually to avoid this
      should be set by default, and for build really needing u.i. should use a dedicated jenkins icon
      (java -Xdock:name=MyApp -Xdock:icon=/path/to/custom/icon.png)

      Attachments

        Issue Links

          Activity

            ndeloof Nicolas De Loof added a comment - https://github.com/jenkinsci/jenkins/pull/137

            now advanced option for maven jobs to build headless

            ndeloof Nicolas De Loof added a comment - now advanced option for maven jobs to build headless

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            changelog.html
            maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
            maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
            maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries_fr.properties
            maven-plugin/src/main/webapp/run-headless.html
            maven-plugin/src/main/webapp/run-headless_fr.html
            http://jenkins-ci.org/commit/jenkins/a84188ec2b1d0d152bea9309b1cc5163721a8dd2
            Log:
            Fixed JENKINS-9785 : option to run maven in headless mode to avoid boring dock icon to jump and take the focus on OSX

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: changelog.html maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries_fr.properties maven-plugin/src/main/webapp/run-headless.html maven-plugin/src/main/webapp/run-headless_fr.html http://jenkins-ci.org/commit/jenkins/a84188ec2b1d0d152bea9309b1cc5163721a8dd2 Log: Fixed JENKINS-9785 : option to run maven in headless mode to avoid boring dock icon to jump and take the focus on OSX

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            changelog.html
            maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
            maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
            maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries_fr.properties
            maven-plugin/src/main/webapp/run-headless.html
            maven-plugin/src/main/webapp/run-headless_fr.html
            http://jenkins-ci.org/commit/jenkins/a84188ec2b1d0d152bea9309b1cc5163721a8dd2
            Log:
            Fixed JENKINS-9785 : option to run maven in headless mode to avoid boring dock icon to jump and take the focus on OSX

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: changelog.html maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries_fr.properties maven-plugin/src/main/webapp/run-headless.html maven-plugin/src/main/webapp/run-headless_fr.html http://jenkins-ci.org/commit/jenkins/a84188ec2b1d0d152bea9309b1cc5163721a8dd2 Log: Fixed JENKINS-9785 : option to run maven in headless mode to avoid boring dock icon to jump and take the focus on OSX
            drulli Ulli Hafner added a comment - - edited

            This does not completely work on my machine:

            10.8.2 Mountain Lion, Java 6, Maven 3.0.4: When running surefire tests there pop ups a Dock icon for the java process surefire.booter.ForkedBooter. Is there a maven option available to suppress that?

            drulli Ulli Hafner added a comment - - edited This does not completely work on my machine: 10.8.2 Mountain Lion, Java 6, Maven 3.0.4: When running surefire tests there pop ups a Dock icon for the java process surefire.booter.ForkedBooter. Is there a maven option available to suppress that?

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            src/main/java/hudson/maven/AbstractMavenProcessFactory.java
            src/main/java/hudson/maven/MavenModuleSet.java
            src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
            src/main/resources/hudson/maven/MavenModuleSet/configure-entries_fr.properties
            src/main/webapp/run-headless.html
            src/main/webapp/run-headless_fr.html
            http://jenkins-ci.org/commit/maven-plugin/7d49e41303eabecf4908e5529beda4b4af95072a
            Log:
            Fixed JENKINS-9785 : option to run maven in headless mode to avoid boring dock icon to jump and take the focus on OSX
            Originally-Committed-As: a84188ec2b1d0d152bea9309b1cc5163721a8dd2

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/hudson/maven/AbstractMavenProcessFactory.java src/main/java/hudson/maven/MavenModuleSet.java src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly src/main/resources/hudson/maven/MavenModuleSet/configure-entries_fr.properties src/main/webapp/run-headless.html src/main/webapp/run-headless_fr.html http://jenkins-ci.org/commit/maven-plugin/7d49e41303eabecf4908e5529beda4b4af95072a Log: Fixed JENKINS-9785 : option to run maven in headless mode to avoid boring dock icon to jump and take the focus on OSX Originally-Committed-As: a84188ec2b1d0d152bea9309b1cc5163721a8dd2

            People

              Unassigned Unassigned
              ndeloof Nicolas De Loof
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: