Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Allow distro packagers to alter BootClassPath

Since most of distributions have strict jar-unbundling rules, this hook allows the packagers to add unbundled jars to boot class path.
  • Loading branch information...
commit 176aa0e5eadb6ae2d0a89b60a077eb74e8c9a606 1 parent 4bf68f4
Slavek Kabrda authored December 06, 2012

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. 8  argparser.cpp
8  argparser.cpp
@@ -496,6 +496,14 @@ void ArgParser::constructBootClassPath() {
496 496
         addToBootClassPath(jruby_complete_jar.c_str());
497 497
     }
498 498
 
  499
+#ifdef DISTRO_BOOT_CLASS_PATH
  500
+// hack converting macro to string
  501
+#define STR_HACK2(x) #x
  502
+#define STR_HACK(x) STR_HACK2(x)
  503
+    addToBootClassPath(STR_HACK(DISTRO_BOOT_CLASS_PATH));
  504
+#endif
  505
+
  506
+
499 507
     logMsg("BootclassPath: %s", bootClassPath.c_str());
500 508
 }
501 509
 

0 notes on commit 176aa0e

Please sign in to comment.
Something went wrong with that request. Please try again.