aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorwisberg <wisberg>2006-08-03 16:03:35 +0000
committerwisberg <wisberg>2006-08-03 16:03:35 +0000
commitaf722d0d6afc76147663ada3fe398a46e21fb90e (patch)
tree34b320f727949381638b0f9ed9c0f337081511ed /build
parent7aa6cfeed1b51b7290a059de6a2f34009274e6f0 (diff)
downloadaspectj-af722d0d6afc76147663ada3fe398a46e21fb90e.tar.gz
aspectj-af722d0d6afc76147663ada3fe398a46e21fb90e.zip
doc process for adding new modules (soon to be superceded)
Diffstat (limited to 'build')
-rw-r--r--build/readme-build-and-test-aspectj.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/build/readme-build-and-test-aspectj.html b/build/readme-build-and-test-aspectj.html
index 7292fc2ac..6ae35203f 100644
--- a/build/readme-build-and-test-aspectj.html
+++ b/build/readme-build-and-test-aspectj.html
@@ -449,6 +449,39 @@ the web with the release files and documentation,
by following the build invariants below.
</p>
<p>
+<p>What to do when adding a new module (i.e., eclipse project):
+</p>
+<ol>
+ <li>Setup like the other modules, following the invariants below, esp.
+ <ol>
+ <li>same directory level</li>
+ <li>same naming conventions for source folders</li>
+ <li>same use of known classpath variables/entries</li>
+ </ol>
+ </li>
+ <li>Add module to those checked for copyright/license in
+ <a href="testsrc/org/aspectj/build/BuildModuleTests.java">
+ testsrc/org/aspectj/build/BuildModuleTests.java
+ </a>
+ </li>
+ <li>Add module to module dependency tree as usual in Eclipse project properties</li>
+ <li>If the module is to produce a jar visible in {AspectJ}/lib,
+ then add a zero-length file of the correct name to
+ <a href="products/tools/dist/lib">products/tools/dist/lib</a>
+ and an alias to that file from the module name in
+ <a href="src/org/aspectj/internal/tools/build/Builder.properties">
+ Builder.properties</a>
+ </li>
+ <li>To make the JUnit tests visible to the Ant builder, include a
+ top-level Ant suite titled {Module}ModuleTests.java
+ </li>
+ <li>Test the build in Eclipse/JUnit using
+ <a href="testsrc/org/aspectj/internal/build/BuildModuleTest.java">
+ testsrc/org/aspectj/internal/build/BuildModuleTest.java
+ </a>
+ </li>
+</ol>
+<p>
How the build system introspects, and the build invariants that
are enforced by the Ant build:
</p>