Download and Install commons-launcher version 1.1 on Mac OS X
Friday the 21st of November, 2008

    commons-launcher  most recent diff


    version 1.1

      View the most recent changes for the commons-launcher port at: commons-launcher.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for commons-launcher.
      The raw portfile for commons-launcher 1.1 is located here:
      http://commons-launcher.darwinports.com/dports/java/commons-launcher/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/commons-launcher
      Google
      Web Darwinports.com



      # $Id: Portfile 35275 2008-03-23 15:54:42Z jberry macports.org $

      PortSystem 1.0

      Name: commons-launcher
      Version: 1.1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Launcher
      Long Description: The Launcher Component is designed to be a cross platform Java application launcher. Commons-launcher eliminates the need for a batch or shell script to launch a Java class. The original Java classes come from the Jakarta Tomcat 4.0 project.
      Homepage: http://commons.apache.org/launcher/

      distname ${name}-${version}-src
      master_sites apache:commons/launcher/source/
      checksums md5 99082b05bfc6f5ce452d179ee2871ef9

      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe port:junit

      worksrcdir ${name}

      use_configure no

      build.cmd ant
      build.target jar javadoc
      build.args -Djunit.jar=${prefix}/share/java/junit.jar

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/dist/bin/commons-launcher.jar ${worksrcpath}/dist/bin/LauncherBootstrap.class ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.check regex
      livecheck.url http://commons.apache.org/downloads/download_launcher.cgi
      livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/commons-launcher
      % sudo port install commons-launcher
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching commons-launcher
      ---> Verifying checksum for commons-launcher
      ---> Extracting commons-launcher
      ---> Configuring commons-launcher
      ---> Building commons-launcher with target all
      ---> Staging commons-launcher into destroot
      ---> Installing commons-launcher
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using commons-launcher with these commands:
      %  man commons-launcher
      % apropos commons-launcher
      % which commons-launcher
      % locate commons-launcher

     Where to find more information:

    Darwin Ports



    Lightbox this page.