~ubuntu-branches/ubuntu/wily/gs-collections/wily

« back to all changes in this revision

Viewing changes to collections-api/build.xml

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2015-07-23 12:42:30 UTC
  • Revision ID: package-import@ubuntu.com-20150723124230-2rjvfv6elyn2m7d4
Tags: upstream-5.1.0
ImportĀ upstreamĀ versionĀ 5.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
3
<!--
 
4
  ~ Copyright 2013 Goldman Sachs.
 
5
  ~
 
6
  ~ Licensed under the Apache License, Version 2.0 (the "License");
 
7
  ~ you may not use this file except in compliance with the License.
 
8
  ~ You may obtain a copy of the License at
 
9
  ~
 
10
  ~     http://www.apache.org/licenses/LICENSE-2.0
 
11
  ~
 
12
  ~ Unless required by applicable law or agreed to in writing, software
 
13
  ~ distributed under the License is distributed on an "AS IS" BASIS,
 
14
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
15
  ~ See the License for the specific language governing permissions and
 
16
  ~ limitations under the License.
 
17
  -->
 
18
 
 
19
<project name="gs-collections-api" default="test" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
 
20
    <property name="src.dir" location="src/main/java" />
 
21
    <property name="generatedsrc.dir" location="target/generated-sources/java" />
 
22
    <property name="generatedtestsrc.dir" location="target/generated-test-sources/java" />
 
23
    <property name="testsrc.dir" location="src/test/java" />
 
24
    <property name="ivy.pom.name" value="Goldman Sachs Collections API" />
 
25
    <property name="javadoc.title" value="Goldman Sachs Collections API" />
 
26
    <property name="source.level" value="1.5" />
 
27
    <property name="target.level" value="1.5" />
 
28
 
 
29
    <import file="../common-build.xml" />
 
30
 
 
31
    <union id="all-sources">
 
32
        <fileset dir="${src.dir}" />
 
33
        <fileset dir="${generatedsrc.dir}" />
 
34
    </union>
 
35
 
 
36
    <!-- No tests to run in this module -->
 
37
    <target name="test" depends="install" description="Run the test cases">
 
38
    </target>
 
39
 
 
40
    <target name="generate-sources" description="Generates Sources" depends="-ivy-init">
 
41
        <ivy:cachepath pathid="generate.classpath" conf="generate-sources" />
 
42
        <typedef name="generate"
 
43
            classname="com.gs.collections.codegenerator.ant.GsCollectionsCodeGeneratorTask"
 
44
            classpathref="generate.classpath" />
 
45
        <generate templateDirectory="api" />
 
46
    </target>
 
47
 
 
48
    <target name="install" depends="-ivy-init, jar, source-jar, javadoc-jar, ivy-make-pom"
 
49
        description="installs the module to the local ivy cache">
 
50
        <ivy:resolve conf="default, master, sources, compile, runtime, compile-test, test" />
 
51
        <ivy:publish resolver="local" overwrite="true" pubrevision="${build.version.full}">
 
52
            <artifacts pattern="target/[artifact]-${build.version.full}(-[classifier]).[ext]" />
 
53
        </ivy:publish>
 
54
    </target>
 
55
 
 
56
</project>