diff options
author | Bob Lee <crazybob@crazybob.org> | 2009-09-14 03:09:36 +0000 |
---|---|---|
committer | Bob Lee <crazybob@crazybob.org> | 2009-09-14 03:09:36 +0000 |
commit | 45c7a950cd0c1a255273fd90a6a7d5f3deaec812 (patch) | |
tree | 24e51800a7f62a1807848a4334569f4e3df7854a | |
parent | f8219430341b72264bd0a74ac5804fce83fbec9f (diff) | |
download | platform_external_jsr330-45c7a950cd0c1a255273fd90a6a7d5f3deaec812.tar.gz platform_external_jsr330-45c7a950cd0c1a255273fd90a6a7d5f3deaec812.tar.bz2 platform_external_jsr330-45c7a950cd0c1a255273fd90a6a7d5f3deaec812.zip |
Updated build script for PFD.
git-svn-id: https://atinject.googlecode.com/svn/trunk@23 3bc8319c-20ab-11de-9edc-3f40a397ab60
-rwxr-xr-x | build.sh | 26 |
1 files changed, 12 insertions, 14 deletions
@@ -1,5 +1,4 @@ -VERSION=EDR -NAME=atinject +NAME=javax.inject # Clear and recreate build directory. rm -r build @@ -9,22 +8,21 @@ mkdir -p build/dist # Compile classes. javac -g -d build/classes `find src -name *.java` +FOOTER="<font size='-1'>Copyright (C) 2009 <a href='http://code.google.com/p/atinject/'>\ +The JSR-330 Expert Group</a>. \ +Licensed under the <a href='http://www.apache.org/licenses/LICENSE-2.0'>Apache \ +License</a>, Version 2.0.</font>" + # Generate Javadocs. -javadoc -protected \ - -header "<font color='red'><b>This is a DRAFT specification.</b></font>" \ - -sourcepath src -d build/javadoc javax.inject +javadoc -protected -bottom "$FOOTER" \ + -sourcepath src -d build/javadoc javax.inject # Generate jars. cp -R src build find build/src -name .svn -type d | xargs rm -r -jar cfM build/dist/$NAME-$VERSION-src.zip -C build/src . - -jar cfM build/dist/$NAME-$VERSION-javadoc.zip -C build/javadoc . -jar cfM build/dist/$NAME-$VERSION.jar -C build/classes . +jar cfM build/dist/$NAME-src.zip -C build/src . -jar cfM build/$NAME-$VERSION.zip -C build/dist . +jar cfM build/dist/$NAME-javadoc.zip -C build/javadoc . +jar cfM build/dist/$NAME.jar -C build/classes . -# Pending license footer. -#-bottom <font size='-1'>Copyright (C) 2009 The JSR-330 Expert Group. Licensed -# under the <a href='http://www.apache.org/licenses/LICENSE-2.0'>Apache License</a>, -# Version 2.0.</font> +jar cfM build/$NAME.zip -C build/dist . |