From: Nicholas Campbell <nicholas.j.campbell@gmail.com>
To: git@vger.kernel.org
Cc: "Shawn O. Pearce" <spearce@spearce.org>,
Robin Rosenberg <robin.rosenberg@dewire.com>
Subject: [JGIT PATCH 1/1] Generate javadoc when making jgit. Also, package docs into a zip for distribution.
Date: Mon, 10 Aug 2009 00:32:27 -0400 [thread overview]
Message-ID: <76596580908092132h1aab0c22qb364914ce9e827b2@mail.gmail.com> (raw)
Runs through defined "PLUGINS" and creates Javadoc. Assumes src is a subdir.
Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
---
make_jgit.sh | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/make_jgit.sh b/make_jgit.sh
index baaa3af..25ac15c 100755
--- a/make_jgit.sh
+++ b/make_jgit.sh
@@ -3,6 +3,7 @@
O_CLI=jgit
O_JAR=jgit.jar
O_SRC=jgit_src.zip
+O_DOC=jgit_docs.zip
PLUGINS="
org.spearce.jgit
@@ -119,3 +120,12 @@ mv $O_CLI+ $O_CLI &&
echo "Created $O_CLI." || die "Build failed."
cleanup_bin
+
+echo "Build Docs"
+for p in $PLUGINS; do
+ javadoc -sourcepath "$p/src/" -d "docs/$p/" `find "$p/src" -name "*.java"`
+done
+
+jar cf "$O_DOC" docs/
+echo "Created $O_DOC."
+
--
1.6.0.4
next reply other threads:[~2009-08-10 4:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-10 4:32 Nicholas Campbell [this message]
2009-08-10 14:56 ` [JGIT PATCH 1/1] Generate javadoc when making jgit. Also, package docs into a zip for distribution Shawn O. Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76596580908092132h1aab0c22qb364914ce9e827b2@mail.gmail.com \
--to=nicholas.j.campbell@gmail.com \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg@dewire.com \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).