Changeset 6673 for lang/scala/sandbox

Show
Ignore:
Timestamp:
02/14/08 16:54:14 (6 years ago)
Author:
keisuken
Message:

Loop library add.

Location:
lang/scala/sandbox
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • lang/scala/sandbox/build.xml

    r6271 r6673  
    8686      fork="true" 
    8787      classname="jp.ne.cappuccino.keisuken.lang.reflect.ClassUtils" 
     88      classpath="${classpath}" /> 
     89  </target> 
     90 
     91  <target name="test-keisuken-loop" depends="compile"> 
     92    <java 
     93      fork="true" 
     94      classname="jp.ne.cappuccino.keisuken.scl.lang.Loop" 
    8895      classpath="${classpath}" /> 
    8996  </target> 
     
    125132    Compact Library rules. 
    126133  =================================================================--> 
     134 
     135  <target name="minimum-library"> 
     136<!-- 
     137 scala/ 
     138 scala/collection/{_,immutable,mutable} 
     139 scala/comcat/ 
     140 scala/runtime/ 
     141 scala/util/_ 
     142 scala/xml/{_,parsing,pull}  
     143--> 
     144    <property name="original" value="${tmp}/scala-library-original"/> 
     145    <property name="compact" value="${tmp}/scala-library-compact"/> 
     146    <delete dir="${scala-library-compact-jar}" quiet="true"/> 
     147    <delete dir="${tmp}" quiet="true"/> 
     148    <mkdir dir="${original}"/> 
     149    <mkdir dir="${compact}"/> 
     150    <unjar src="${scala-library-jar}" dest="${original}"/> 
     151    <copy todir="${compact}"> 
     152      <fileset dir="${original}"> 
     153        <include name="library.properties"/> 
     154        <include name="scala/*.class"/> 
     155        <include name="scala/collection/*.class"/> 
     156        <include name="scala/collection/immutable/**.class"/> 
     157        <include name="scala/collection/mutable/**.class"/> 
     158        <include name="scala/compat/*.class"/> 
     159        <include name="scala/runtime/*.class"/> 
     160        <include name="scala/util/*.class"/> 
     161        <include name="scala/xml/*.class"/> 
     162        <include name="scala/xml/parsing/*.class"/> 
     163        <include name="scala/xml/pull/*.class"/> 
     164      </fileset> 
     165    </copy> 
     166    <jar jarfile="${scala-library-compact-jar}" 
     167      basedir="${compact}" 
     168      manifest="${original}/META-INF/MANIFEST.MF" 
     169    /> 
     170  </target> 
    127171 
    128172  <target name="compact-library">