diff options
author | James Moger <james.moger@gitblit.com> | 2011-05-04 17:35:49 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-05-04 17:35:49 -0400 |
commit | cf9550d8df51d927c63176675280d69b86e7a6e2 (patch) | |
tree | 9974201aae08af4e46275465eff30793e13262aa /src/com/gitblit/Launcher.java | |
parent | b5b4026628c50ffdfa3ceeb93badb613cdca18eb (diff) | |
download | gitblit-cf9550d8df51d927c63176675280d69b86e7a6e2.tar.gz gitblit-cf9550d8df51d927c63176675280d69b86e7a6e2.zip |
Build infrastructure improvements. Setting to show remote branches.
The JGit team is now publishing 0.12.1 artifacts on the Eclipse Maven
site. Yeah! That was the last missing piece for a slick Git:Blit
deployment. The build has been reworked to download from Eclipse and
to also download source and javadoc jars for setting up a development
environment.
Made the log4j pattern configurable by operating system.
Moved Markdown utils to their own class since I need StringUtils for
Build and that introduced a chicken-and-egg scenario.
Diffstat (limited to 'src/com/gitblit/Launcher.java')
-rw-r--r-- | src/com/gitblit/Launcher.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/gitblit/Launcher.java b/src/com/gitblit/Launcher.java index a55056d5..3173dc33 100644 --- a/src/com/gitblit/Launcher.java +++ b/src/com/gitblit/Launcher.java @@ -101,6 +101,10 @@ public class Launcher { * @throws IOException
*/
public static void addJarFile(File f) throws IOException {
+ if (f.getName().indexOf("-sources") > -1 || f.getName().indexOf("-javadoc") > -1) {
+ // don't add source or javadoc jars to runtime classpath
+ return;
+ }
URL u = f.toURI().toURL();
if (debug)
System.out.println("load=" + u.toExternalForm());
|