Skip to content

Commit 3f4a3ca

Browse files
committed
Ant build.xml creator first cut
1 parent b459197 commit 3f4a3ca

34 files changed

Lines changed: 268 additions & 3 deletions

File tree

Ant-Common.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<project basedir="." name="Thinking in Java Director's Cut by Bruce Eckel">
1+
<project basedir=".">
22

33
<property name="chapter" value="CHAPTER?"/>
44

@@ -24,6 +24,22 @@
2424
</sequential>
2525
</macrodef>
2626

27+
<macrodef name="jrunp">
28+
<attribute name="cls" default="NOT SET"/>
29+
<attribute name="dirpath" default="NOT SET"/>
30+
<sequential>
31+
<echo>Running: @{cls}</echo>
32+
<java
33+
classname="@{cls}"
34+
classpath="${java.class.path};${basedir};${basedir}/.."
35+
dir="@{dirpath}"
36+
failonerror="true"
37+
fork="true"/>
38+
<echo>Finished: @{cls}</echo>
39+
<echo>--------------------------------</echo>
40+
</sequential>
41+
</macrodef>
42+
2743
<condition property="version1.8">
2844
<equals arg1="1.8" arg2="${ant.java.version}"/>
2945
</condition>
@@ -46,6 +62,7 @@
4662
<javac includeantruntime="false"
4763
classpath="${java.class.path};${basedir};${basedir}/.."
4864
debug="true"
65+
excludes="${excludedfiles}"
4966
srcdir="${basedir}">
5067
<compilerarg value="-Xmaxerrs"/>
5168
<compilerarg value="10"/>
File renamed without changes.
File renamed without changes.

build.xml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" ?>
22

3-
<project basedir="." default="run" name="Thinking in Java, 4th Edition (Refreshed) by Bruce Eckel">
3+
<project basedir="." default="run" name="Thinking in Java Director's Cut by Bruce Eckel">
44

55
<description>
66
Main build.xml for the source code for
7-
Thinking in Java, 4th Edition (Refreshed) by Bruce Eckel
7+
Thinking in Java Director's Cut by Bruce Eckel
88
Code available at http://www.MindView.net
99
See installation instructions in README.md
1010
See copyright notice in CopyRight.txt
@@ -43,6 +43,15 @@
4343
concurrency/build.xml
4444
gui/build.xml
4545
swt/build.xml
46+
patterns/build.xml
47+
references/build.xml
48+
assertions/build.xml
49+
database/build.xml
50+
unittesting/build.xml
51+
debugging/build.xml
52+
logging/build.xml
53+
network/build.xml
54+
remote/build.xml
4655
"/>
4756

4857
<target name="run" description="Compiles and runs all examples">
File renamed without changes.

0 commit comments

Comments
 (0)