diff options
author | wisberg <wisberg> | 2005-03-08 07:37:24 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2005-03-08 07:37:24 +0000 |
commit | 52faf9b65c990a1982f31a65b7d4187e77860f0b (patch) | |
tree | 9ad88638b45730fffd505969baa09bfb4beb22e1 | |
parent | 07cea8cd5891580ab0dae9fd006c8d751f6437f9 (diff) | |
download | aspectj-52faf9b65c990a1982f31a65b7d4187e77860f0b.tar.gz aspectj-52faf9b65c990a1982f31a65b7d4187e77860f0b.zip |
doc'd skipped libraries and resource patterns moved into .properties file, testing of resource pattern
-rw-r--r-- | build/readme-build-and-test-aspectj.html | 11 | ||||
-rw-r--r-- | build/readme-build-module.html | 17 |
2 files changed, 28 insertions, 0 deletions
diff --git a/build/readme-build-and-test-aspectj.html b/build/readme-build-and-test-aspectj.html index 8707eba60..09b679084 100644 --- a/build/readme-build-and-test-aspectj.html +++ b/build/readme-build-and-test-aspectj.html @@ -368,6 +368,17 @@ Some build problems and fixes encountered in the past: from the project or Eclipse complains about duplicate jar files in the path. </li> + <li>More generally, if you find extra classes in the assembled jars, + most likely you have added unexpected libraries to the build, e.g., + when adding libraries for the IBM JRE. + To skip those, add them to the "skip.libraries" list in + <a href="src/org/aspectj/internal/tools/build/Builder.properties"> + src/org/aspectj/internal/tools/build/Builder.properties</a>. + These libraries will always be skipped for any module built this way; + there is no way to include a library in one module but not another. + For more information on the properties file, see + <a href="readme-build-module.html">readme-build-module.html</a>. + </li> </ul> </body> diff --git a/build/readme-build-module.html b/build/readme-build-module.html index 60c5dcb49..e63b0c38d 100644 --- a/build/readme-build-module.html +++ b/build/readme-build-module.html @@ -138,6 +138,23 @@ Under Ant, when building in a pre-Java-5 VM, this source will be ignored (hence, it must not be required to compile). Under Eclipse, developers not using Java 5 should close the corresponding modules. +<h4>Builder.properties, resources, and tree audit tests</h4> +<p/> +In <a href="src/org/aspectj/internal/tools/build/Builder.properties"> + src/org/aspectj/internal/tools/build/Builder.properties</a> +you can set up +<ul> + <li>product aliases for mapping module jars</li> + <li>libraries to exclude for assembling module jars</li> + <li>patterns for copying resources.</li> +</ul> +Regarding the patterns, if you add a resource with an unrecognized suffix to a +source tree, the corresponding unit test in +<a href="testsrc/BuildModuleTests.java">testsrc/BuildModuleTests.java</a> +will fail. You'll need to update the <code>Builder.properties</code> +file (and recreate the build.jar) to ensure that the new resource +is copied to the assembled module jar. + <h3>Debugging build problems</h3> <h4>Running under Eclipse</h4> When running Ant from eclipse, |