Download and Install aspectj version 1.6.2 on Mac OS X
Monday the 1st of December, 2008

    aspectj  most recent diff


    version 1.6.2

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



      # $Id: Portfile 41035 2008-10-21 08:33:46Z mww macports.org $

      PortSystem 1.0

      Name: aspectj
      Version: 1.6.2
      Category: java lang devel
      Platform: darwin
      Maintainers: mww
      Description: seamless aspect-oriented extension to the Java language
      Long Description: ${description}

      Homepage: http://www.eclipse.org/aspectj/
      master_sites http://download.eclipse.org/tools/aspectj/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/aspectj/ http://sunsite.informatik.rwth-aachen.de:3080/eclipse/tools/aspectj/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/eclipse/tools/aspectj/
      checksums sha1 5312911e7db01c78f74dbb2b9d7820c55bfd095f
      use_zip yes
      extract.suffix .jar

      pre-extract {
      file mkdir ${worksrcpath}
      file copy ${filespath}/ajc.sh ${worksrcpath}
      }
      extract.dir ${worksrcpath}

      configure {
      reinplace "s|__LIBDIR__|${prefix}/share/java|g" ${worksrcpath}/ajc.sh
      }

      build {}

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} README-AspectJ.html LICENSE-AspectJ.html ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath}/lib aspectjlib.jar aspectjrt.jar aspectjtools.jar aspectjweaver.jar ${destroot}${prefix}/share/java
      xinstall -m 755 ${worksrcpath}/ajc.sh ${destroot}${prefix}/bin/ajc
      }

      livecheck.check regex
      livecheck.url ${homepage}/downloads.php
      livecheck.regex aspectj-(\[0-9\\.\]+)\\.jar


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.