Spring-javaconfig version 0.2.${realversion} - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    spring-javaconfig  most recent diff


    version 0.2.${realversion}

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


      The spring-javaconfig Portfile 44975 2009-01-05 23:27:17Z blair macports.org $

      PortSystem 1.0

      Name: spring-javaconfig
      set realversion 1.0.0.M4
      Version: 0.2.${realversion}

      Category: java
      Maintainers: blair
      Platform: darwin

      Description: Type-safe, pure-Java way to configure applications
      Long Description: The Spring JavaConfig project provides a type-safe, pure-Java option for configuring Spring Application Contexts. While most people currently use XML to configure bean definitions in their Application Contexts, Spring's versatility and metadata based internal handling of bean definitions means alternatives to XML config are easy to implement.
      Homepage: http://www.springframework.org/javaconfig

      distname ${name}-${realversion}
      Master Sites: http://s3.amazonaws.com/dist.springframework.org/milestone/SJC
      Checksums: md5 a507d2ee282d22cbc3041f0b90ab20c9 sha1 a92594291dc5e81088023f52435c27ac8fdf20c7 rmd160 3bdc3d2d9a925008515238dd939ed2daf0cf8286

      use_zip yes

      depends_lib bin:java:kaffe port:spring-framework port:cglib

      use_configure no

      worksrcdir ${name}

      build.cmd true

      destroot {
      # Ensure needed directories
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc

      file copy ${worksrcpath}/dist/org.springframework.config.java-${realversion}.jar ${destroot}${prefix}/share/java/${name}.jar

      file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.