Permalink
Browse files

Move examples from src/test/resources to src/examples/java

  • Loading branch information...
1 parent 5aba591 commit e54537c6c76b13ac78ebe5a1eccaab3ce45b4138 @purcell committed Sep 18, 2012
View
@@ -16,10 +16,10 @@ details.
Prerequisites
-------------
-For each prerequisite, the version with which JArgs has been tested is given
+For each prerequisite, the version with which JArgs has been tested is given
in parentheses. Any version equal to or later than this should work.
-To build JArgs and run its tests you need on of
+To build JArgs and run its tests you need on of
- [Apache Ant](http://ant.apache.org/) (1.8.2), by The Apache Software
Foundation
@@ -54,18 +54,17 @@ Documentation
-------------
The main documentation is the detailed worked example in
-`src/test/resources/com/sanityinc/jargs/examples/gnu/OptionTest.java`, plus the
+`src/examples/java/com/sanityinc/jargs/examples/OptionTest.java`, plus the
generated API documentation in `target/site/apidocs`.
Package contents
----------------
- `src/main/java/com/sanityinc/jargs` -- The library itself.
-- `src/test/resources/com/sanityinc/jargs/examples` -- Examples showing how to
+- `src/examples/java/com/sanityinc/jargs/examples` -- Examples showing how to
use the library.
- `src/test/java/com/sanityinc/jargs` -- JUnit tests.
- `target/site/apidocs` -- API and other documentation.
- `target/classes` -- Compiled classes, once built.
- `target/` -- JArgs jars, once built.
-
View
@@ -40,7 +40,7 @@
<property name="build.classes" value="target/classes"/>
<property name="test.src" value="src/test/java"/>
<property name="test.classes" value="target/test-classes"/>
- <property name="examples.src" value="src/test/resources"/>
+ <property name="examples.src" value="src/examples/java"/>
<property name="examples.classes" value="target/examples-classes"/>
<property name="source-version" value="1.5" />
<property name="jdk-version" value="1.5" />

0 comments on commit e54537c

Please sign in to comment.