Skip to content

Commit 440b788

Browse files
committed
Starting to bring documentation in line with new branch
1 parent 89b17d8 commit 440b788

File tree

2 files changed

+9
-74
lines changed

2 files changed

+9
-74
lines changed

BUILDING.txt

Lines changed: 3 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -4,61 +4,16 @@
44

55
--[ Build requirements ]-------------------------------------
66

7-
* JDK 1.5
8-
Note: that this is a buildtime dependency for 1.5 specific
9-
features. However the final built jars should run on 1.4
10-
and 1.3 JVMs with some features unavailable.
11-
12-
* Ant 1.6 or greater
13-
To enable testing support, ensure junit.jar exists in
14-
ANT_HOME/lib.
7+
* JDK 1.7
158

9+
* Gradle
1610

1711
--[ Building from the command line ]-------------------------
1812

1913
Execute the default ant target:
20-
ant
14+
./gradlew clean build javadoc
2115

2216
This will do a full clean build, run all tests and (if
2317
successful) package up a distribution. The resulting builds
2418
reside in the 'build' directory.
2519

26-
For a list of finer grained build operations:
27-
ant -projecthelp
28-
29-
The default version number used in the build is 'SNAPSHOT'.
30-
To override this, you can pass a property to ant:
31-
ant -Dversion=MY.OTHER.VERSION
32-
33-
34-
--[ Building from the IDE ]----------------------------------
35-
36-
It is possible to compile and test the source directly from
37-
popular IDEs, without resorting to the command line.
38-
39-
Steps:
40-
- Run 'ant library'. This generates additional Java coded
41-
necessary to compile.
42-
- Create a new project.
43-
- Add the following directories as source directories:
44-
hamcrest-api/src/main/java
45-
hamcrest-generator/src/main/java
46-
hamcrest-core/src/main/java
47-
hamcrest-library/src/main/java
48-
hamcrest-integration/src/main/java
49-
build/temp/hamcrest-core/generated-code
50-
build/temp/hamcrest-library/generated-code
51-
hamcrest-examples/src/main/java
52-
- Add the following directories as test directories:
53-
hamcrest-api/src/test/java
54-
hamcrest-generator/src/test/java
55-
hamcrest-core/src/test/java
56-
hamcrest-library/src/test/java
57-
hamcrest-integration/src/test/java
58-
If this is unsupported by the IDE, add them as source
59-
directories.
60-
- Include all jars in the lib directory in the classpath.
61-
- Compile as usual in the IDE.
62-
- If supported, run all tests under org.hamcrest from the
63-
IDEs JUnit runner.
64-

README.md

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,6 @@ Downloads
1414
---------
1515
You can obtain Hamcrest binaries from [maven central][], or from [google code downloads][].
1616

17-
Binaries
18-
--------
19-
Depending on how you intend to use Hamcrest, you should use different Jars.
20-
21-
* __hamcrest-core.jar__ -- This is the core API to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations. This API is stable and will rarely change. You will need this library as a minimum.
22-
* __hamcrest-library.jar__ -- The ever-growing library of Matcher implementations. This will grow between releases.
23-
* __hamcrest-generator.jar__ -- A tool to allow many Matcher implementations to be combined into a single class so users don't have to remember many classes/packages to import. Generates code.
24-
* __hamcrest-integration.jar__ -- Provides integration between Hamcrest and other testing tools, including JUnit (3 and 4), TestNG, jMock and EasyMock.
25-
26-
Alternatively, if you don't care:
27-
28-
* __hamcrest-all.jar__ -- Includes all of the above.
29-
30-
Sources and JavaDoc jars are available for all of the above.
31-
3217
Extensions
3318
----------
3419

@@ -42,33 +27,28 @@ ALL OF THE DEPENDENCIES ARE OPTIONAL.
4227

4328
Documentation
4429
-------------
45-
Documentation can be found on the [google code wiki][].
30+
Documentation can be found on the [Hamcrest site](http://hamcrest.org).
4631

4732
Reporting Bugs/Issues
4833
---------------------
49-
If you find an issue with Java Hamcrest, please report it via the [GitHub issue tracker][], after first checking that it hasn't been raised already. N.B. a few issues are still tracked using the old [google code Issue tracker][].
34+
If you find an issue with Java Hamcrest, please report it via the
35+
[GitHub issue tracker](https://github.com/hamcrest/JavaHamcrest/issues),
36+
after first checking that it hasn't been raised already.
5037

5138
Source
5239
------
53-
The complete source for Hamcrest is bundled. This includes:
54-
* Matcher core classes [src/core]
55-
* Matcher library [src/library]
56-
* Matcher integrations [src/integration]
57-
* Syntactic sugar generator [src/generator]
58-
* Unit tests [src/unit-test]
59-
* Ant build file [build.xml]
60-
* Dependencies [lib]
61-
6240
To build, please read BUILDING.txt
6341

6442
Acknowledgements
6543
----------------
6644
Developers:
45+
6746
* Joe Walnes
6847
* Nat Pryce
6948
* Steve Freeman
7049

7150
Contributors:
51+
7252
* Robert Chatley
7353
* Tom White
7454
* Neil Dunn

0 commit comments

Comments
 (0)