Index: README =================================================================== RCS file: /cvs/apisupport/harness/release/README,v retrieving revision 1.47 diff -u -r1.47 README --- README 17 Aug 2006 15:28:15 -0000 1.47 +++ README 21 Aug 2006 16:05:19 -0000 @@ -305,7 +305,9 @@ use spec.version.base (see below). Specify your test dependencies on other modules [since 5.0u2, requires /3 -schema]: +schema]. Runtime module dependencies are added on compile and runtime classpath of +tests for compatibility with /2 schema. The tags in project.xml are +described bellow: @@ -318,15 +320,75 @@ org.netbeans.modules.java.project - + - + - + + +For example we have three modules with code name bases A,B,C. A depends on B, B depends on C. + +Use case 1: + + + unit + + A + + + +Runtime classpath is A. +Compile classpath is not defined. + +Use case 2: + + + unit + + A + + + + +Runtime classpath is A,B,C. + +Use case 3: + + + unit + + A + + + + + +Runtime classpath is A,B,C. +Compile classpath is A,B,C. + +Use case 4: + + + unit + + A + + + + + + +Runtime classpath is A,B,C, unittests of A. +Compile classpath is A,B,C, unittests of A. + +Source roots for tests are placed at: + +${project.dir}/test/unit/src/ - source folder for unit testtype +${project.dir}/test/qa-functional/src - source folder for qa-functional testtype As an example, to ensure that FileUtil.toFileObject(File) will work when your unit tests are run: