neman / oldbuild.xml

  Copyright (c) 2008 Krešimir Šojat. All rights reserved.  The use and
  distribution terms for this software are covered by the Common
  Public License 1.0 (
  which can be found in the file CPL.TXT at the root of this
  distribution.  By using this software in any fashion, you are
  agreeing to be bound by the terms of this license.  You must not
  remove this notice, or any other, from this software.
<project name='neman' basedir='.' xmlns:ivy='antlib:org.apache.ivy.ant'>

    <import file='${basedir}/common.xml'/>
    <import file='${common.dir}/common.xml' optional='true'/>

    <property name='build.classes' location='${build}/classes'/>
    <property name='build.jar'     location='${build}/neman.jar'/>

    Neman targets.

    <target name='resolve' depends='ivy-install' unless='skip.resolve'>
        <ivy:settings file='${basedir}/ivysettings.xml'/>
        <ivy:resolve file='${basedir}/ivy.xml'/>

    <target name='build' depends='resolve, build-docs'>
        <mkdir dir='${build.classes}'/>

        <path id='clojure.compiler.classpath'>
            <fileset dir='${lib}'>
                <include name='**/*.jar'/>

        <java classname='clojure.lang.Compile'
            <sysproperty key='clojure.compile.path' value='${build.classes}'/>
            <arg value='net.ksojat.neman.cli'/>
            <arg value='net.ksojat.neman.core'/>
            <arg value='net.ksojat.neman.jetty'/>
            <arg value='net.ksojat.neman.json'/>
            <arg value='net.ksojat.neman.web'/>
            <arg value='net.ksojat.neman.xml'/>
            <arg value=''/>
            <arg value='net.ksojat.neman.textile'/>
            <arg value='net.ksojat.neman.css'/>
            <arg value='net.ksojat.neman.cells'/>
	    <arg value='net.ksojat.neman.swing'/>

        <jar destfile='${build.jar}'>
            <zipfileset dir='${build.classes}'/>


    <target name='dist' depends='dist-docs'/>

    <target name='publish' depends='build'>

    <target name='test' depends='build'>
        <path id='test.classpath'>
            <fileset dir='${lib}'>
                <include name='**/*.jar'/>

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.