Download and Install mx4j version 3.0.1 on Mac OS X
Friday the 25th of July, 2008

    mx4j  most recent diff


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



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

      PortSystem 1.0

      Name: mx4j
      Version: 3.0.1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Open Source JMX for Enterprise Computing.
      Long Description: MX4J is a project to build an Open Source implementation of the Java(TM) Management Extensions (JMX) and of the JMX Remote API (JSR 160) specifications, and to build tools relating to JMX.
      Homepage: http://mx4j.sourceforge.net/

      distname ${name}-${version}-src
      master_sites sourceforge
      checksums md5 eb5c08c4281aeb94c08ead7091b23dde

      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe port:junit port:jakarta-bcel port:jakarta-log4j port:commons-logging

      use_configure no

      worksrcdir ${name}-${version}

      build.dir ${worksrcpath}/build
      build.cmd ant
      build.target compile.jmx compile.rjmx
      build.args

      post-extract {
      file link -symbolic ${worksrcpath}/lib/jakarta-bcel.jar ${prefix}/share/java/jakarta-bcel.jar
      file link -symbolic ${worksrcpath}/lib/jakarta-log4j.jar ${prefix}/share/java/jakarta-log4j.jar
      file link -symbolic ${worksrcpath}/lib/commons-logging.jar ${prefix}/share/java/commons-logging.jar
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/dist/lib/mx4j.jar ${worksrcpath}/dist/lib/mx4j-jmx.jar ${worksrcpath}/dist/lib/mx4j-impl.jar ${worksrcpath}/dist/lib/mx4j-remote.jar ${worksrcpath}/dist/lib/mx4j-rimpl.jar ${worksrcpath}/dist/lib/mx4j-rjmx.jar ${destroot}${prefix}/share/java/
      }

    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/mx4j
      % sudo port install mx4j
      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 mx4j
      ---> Verifying checksum for mx4j
      ---> Extracting mx4j
      ---> Configuring mx4j
      ---> Building mx4j with target all
      ---> Staging mx4j into destroot
      ---> Installing mx4j
    - 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 mx4j with these commands:
      %  man mx4j
      % apropos mx4j
      % which mx4j
      % locate mx4j

     Where to find more information:

    Darwin Ports



    image test