Changeset 12487


Ignore:
Timestamp:
02/20/10 12:04:14 (12 years ago)
Author:
Mark Evenson
Message:

Port of ASDF-INSTALL under 'contrib/asdf-install'.

'abcl.contrib' will package ASDF-INSTALL in dist/abcl-contrib.jar.

We only have one contrib 'asdf-install'. It is not expected to work
well under Windows at the moment.

To use ASDF-INSTALL, use the following in your ~/.abclrc:

(require 'asdf)
(pushnew "jar:file:${dist.dir}/abcl-contrib.jar!/asdf-install/" asdf:*central-registry*)

Then issuing

CL-USER> (require 'asdf-install)

will load ASDF-INSTALL.

A file ~/.asdf-install can contain customizations to help ASDF-INSTALL
find the programs 'tar' and 'gpg'. 'tar' is searched for in
asdf-install:*shell-search-paths*. The location of 'gpg' can be
customized by setting *gpg-command* to a string containing the file.
This behavior should be rationalized in the future.

ASDF-INSTALL tested under OSX.

Location:
trunk/abcl
Files:
19 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r12438 r12487  
    347347    </target>
    348348
     349    <!-- XXX Generalize when (if?) we get more contribs -->
     350    <target name="abcl.contrib" depends="abcl.jar">
     351      <java fork="true"
     352            failonerror="true"
     353            classpathref="abcl.classpath.dist"
     354            dir="${basedir}/contrib/asdf-install/"
     355            inputstring="(require 'asdf) (asdf:operate 'asdf:compile-op :asdf-install)"
     356            classname="org.armedbear.lisp.Main">
     357        <arg value="--noinit"/>
     358      </java>
     359      <jar destfile="dist/abcl-contrib.jar"
     360           compress="true"
     361           basedir="contrib">
     362        <patternset>
     363          <include name="**/*.asd"/>
     364          <include name="**/*.lisp"/>
     365          <include name="**/*.abcl"/>
     366        </patternset>
     367      </jar>
     368      <echo>
     369Packaged contribs in ${dist.dir}/abcl-contrib.jar.
     370
     371To use ASDF-INSTALL, use the following in your ~/.abclrc:
     372
     373  (require 'asdf)
     374  (pushnew "jar:file:${dist.dir}/abcl-contrib.jar!/asdf-install/" asdf:*central-registry*)
     375
     376Then issuing
     377
     378  CL-USER> (require 'asdf-install)
     379
     380will load ASDF-INSTALL.
     381</echo>
     382    </target>
     383
    349384    <target name="abcl.debug.jpda" depends="abcl.jar">
    350385      <description>Invoke ABCL with JPDA listener on port 6789</description>
Note: See TracChangeset for help on using the changeset viewer.