My favorites | Sign in
Project Home Downloads Issues Source
Repository:
Checkout   Browse   Changes   Clones    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!--
* Copyright (C) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Author: anorth@google.com (Alex North)
-->
<project>
<import file="${build.classpath.path}"/>

<!--
Compiles the sources referenced by the "srcs" patternset.

The model for these rules is that buildjava's source path includes the
entire universe of all source, but small fragements of it are compiled
one by one as specificed by a subproject's 'srcs' pattern.
-->
<target name="compile">
<echo message="Compiling ${libname}"/>
<buildjava destdir="${build.src.dir}" srcpattern="srcs">
<src path="${src.dir}"/>
<classpath>
<path refid="libpath"/>
<path location="${build.proto.dir}"/>
<path location="${build.messages.dir}"/>
</classpath>
</buildjava>
</target>

<!--
Compiles the tests referenced by the "srcs" patternset.
-->
<target name="compile-tests">
<buildjava srcdir="${test.dir}" destdir="${build.test.dir}" srcpattern="srcs">
<classpath>
<path refid="libpath"/>
<path location="${build.src.dir}"/>
<path location="${build.proto.dir}"/>
<path location="${build.messages.dir}"/>
</classpath>
</buildjava>
</target>

<!--
Packages compiled and source files into jars
-->
<target name="dist" depends="compile">
<distlib srcpattern="srcs" libname="${libname}"/>
</target>

</project>

Change log

a2277c277e36 by "David Hearnden <hearn...@google.com> on Mar 21, 2011   Diff
Replaces protostuff with PST for DTO-
generation tool
Go to: 
Sign in to write a code review

Older revisions

f6ee27f52a62 by Alex North <ano...@google.com> on Dec 1, 2010   Diff
Cleans up and unifies main build with
libraries build
a0bb2b999819 by Alex North <ano...@google.com> on Nov 21, 2010   Diff
Merges libraries repository into
default repository
All revisions of this file

File info

Size: 1938 bytes, 61 lines
Powered by Google Project Hosting