Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit e54537c6c76b13ac78ebe5a1eccaab3ce45b4138 1 parent 5aba591
Steve Purcell authored
9 README.md
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,7 +54,7 @@ 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`.
@@ -62,10 +62,9 @@ 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.
-
2  build.xml
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  .../com/sanityinc/jargs/examples/AutoHelpParser.java → .../com/sanityinc/jargs/examples/AutoHelpParser.java
View
File renamed without changes
0  ...om/sanityinc/jargs/examples/CustomOptionTest.java → ...om/sanityinc/jargs/examples/CustomOptionTest.java
View
File renamed without changes
0  ...yinc/jargs/examples/OptionParserSubclassTest.java → ...yinc/jargs/examples/OptionParserSubclassTest.java
View
File renamed without changes
0  ...rces/com/sanityinc/jargs/examples/OptionTest.java → ...java/com/sanityinc/jargs/examples/OptionTest.java
View
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.