Skip to content

Commit 811220c

Browse files
committed
Refreshed from original download
1 parent 634f73f commit 811220c

13 files changed

Lines changed: 16 additions & 13 deletions

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ for Java 8
88
[Click here](https://github.com/BruceEckel/TIJ4-Refreshed-Examples/archive/master.zip) to download the zip file. Unzip the file into a directory of your choice.
99

1010
## Build the Examples ##
11-
1. Install the latest version of Java 8 (JDK8). (Use 32-bit version on Windows).
11+
1. Install the latest version of Java 8 (JDK8). (Use the 32-bit version on Windows because of some library issues).
1212

1313
1. Install Apache Ant. Follow the instructions [here](https://ant.apache.org/manual/install.html#getting).
1414

1515
1. Add the path to the directory where you unpacked the examples to your CLASSPATH.
1616

17-
1. Start a command prompt in the directory where you installed the examples. If your installation is successful, you should be able to type **ant build** and build everything. **ant run** will build AND run the examples. You may initially get some error messages telling you to install additional packages, but eventually you should get through the whole build process successfully.
17+
1. Start a command prompt in the directory where you installed the examples. If your installation is successful, you should be able to type **ant build** and build everything. **ant run** will build AND run the examples. You will initially get some error messages instructing you to install specified packages, but eventually you should get through the whole build process successfully.
18+
19+
20+
Report bugs in the examples or in the book [here](https://github.com/BruceEckel/TIJ4-Refreshed-Examples/issues).
File renamed without changes.

obsolete/InterfaceExtractorProcessorFactory.java renamed to annotations/InterfaceExtractorProcessorFactory.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
//: annotations/InterfaceExtractorProcessorFactory.java
22
// APT-based annotation processing.
33
package annotations;
4-
/*import com.sun.mirror.apt.*;
5-
import com.sun.mirror.declaration.*;*/
4+
import com.sun.mirror.apt.*;
5+
import com.sun.mirror.declaration.*;
66
import java.util.*;
77

88
public class InterfaceExtractorProcessorFactory
9-
implements javax.annotation.processing.Processor {
10-
public javax.annotation.processing.Processor getProcessorFor(
11-
Set<javax.lang.model.element.TypeElement> atds,
12-
javax.annotation.processing.ProcessingEnvironment env) {
9+
implements AnnotationProcessorFactory {
10+
public AnnotationProcessor getProcessorFor(
11+
Set<AnnotationTypeDeclaration> atds,
12+
AnnotationProcessorEnvironment env) {
1313
return new InterfaceExtractorProcessor(env);
1414
}
1515
public Collection<String> supportedAnnotationTypes() {

annotations/build.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
fork="true"/>
154154
</target>
155155

156-
<!-- <target name="TableCreator">
156+
<target name="TableCreator">
157157
<java
158158
classname="annotations.database.TableCreator"
159159
classpath="${java.class.path};${basedir};${basedir}/.."
@@ -184,7 +184,7 @@
184184
<arg value="-s"/>
185185
<arg value="database"/>
186186
</exec>
187-
</target> -->
187+
</target>
188188

189189
<target
190190
depends="build"
@@ -203,8 +203,8 @@
203203
<antcall target="StackLStringTest"/>
204204
<antcall target="UseCaseTracker"/>
205205
<antcall target="TableCreator"/>
206-
<!-- <antcall target="InterfaceExtractorProcessor"/>
207-
<antcall target="TableCreationProcessorFactory"/> -->
206+
<antcall target="InterfaceExtractorProcessor"/>
207+
<antcall target="TableCreationProcessorFactory"/>
208208
<delete file="failures"/>
209209
</target>
210210

obsolete/database/TableCreationProcessorFactory.java renamed to annotations/database/TableCreationProcessorFactory.java

File renamed without changes.

0 commit comments

Comments
 (0)