From bcb9fabe7525df1bf40fc8eeef2594a88c3ee424 Mon Sep 17 00:00:00 2001 From: "Manuel Amador (Rudd-O)" Date: Fri, 20 Aug 2010 13:07:16 -0700 Subject: [PATCH] Add thirdparty jars because otherwise the premium parts that do VMWare do not compile --- wscript_configure | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wscript_configure b/wscript_configure index 5185f87fbf2..a7111b847cc 100644 --- a/wscript_configure +++ b/wscript_configure @@ -232,10 +232,13 @@ conf.env.USAGECLASSPATH = pathsep.join(usageclasspath) # 1. source directories (without including the JARs) # JARs are not included because in case of parallel compilation (IOW, all the time), javac picks up half-written JARs and die compilecp = []# list(srcdirs) -# 2.a) the thirdparty/ directory in the source if on Windows / Mac # 2.b) the deps/ directory in the source if on Linux -if conf.env.DISTRO in ["Windows","Mac"]: compilecp+= _glob(_join("cloudstack-proprietary","thirdparty","*.jar")) -else: compilecp+= _glob(_join("deps","*.jar")) +# 2.a) the thirdparty/ directory if available +if conf.env.DISTRO in ["Windows","Mac"]: + pass +else: + compilecp+= _glob(_join("deps","*.jar")) +compilecp+= _glob(_join("cloudstack-proprietary","thirdparty","*.jar")) # 3. the system classpath (system-installed JARs) compilecp+= [ conf.env.SYSTEMCLASSPATH ] compilecp+= _glob(_join(conf.env.TOMCATHOME,'bin',"*.jar"))