Browse Source

Followup #150 - Only create the "MAC JDK PRODUCT", when we're building for Mac (Only specifying it as done in d37a336b is not sufficient)

MeFisto94 7 years ago
parent
commit
4e0d8b0270
1 changed files with 12 additions and 10 deletions
  1. 12 10
      nbi/stub/build.xml

+ 12 - 10
nbi/stub/build.xml

@@ -154,16 +154,18 @@ jarsigner.enabled=${jarsigner.enabled}
 
         </ant>
         <!--normen-->
-	<echo message="BUILDING MAC JDK PRODUCT =================================="/>
-        <ant dir="${nbi.ext.dir}/infra/build/products/jdk" target="release-all">
-            <property name="basedir" value="${nbi.ext.dir}/infra/build/products/jdk"/>
-            <property name="environment.properties" value="${environment.properties}"/>
-            <property name="dist.dir" value="${output.dir}/components"/>
-            <property name="release.parent.uid" value=""/>
-            <property name="release.parent.version" value=""/>
-            <property name="release.parent.platforms" value=""/>
-            <property name="engine.dist.file" value="${output.dir}/registry-temp/engine.jar"/>
-        </ant>
+        <if property="platform" value="macosx"> 
+            <echo message="BUILDING MAC JDK PRODUCT =================================="/>
+            <ant dir="${nbi.ext.dir}/infra/build/products/jdk" target="release-all">
+                <property name="basedir" value="${nbi.ext.dir}/infra/build/products/jdk"/>
+                <property name="environment.properties" value="${environment.properties}"/>
+                <property name="dist.dir" value="${output.dir}/components"/>
+                <property name="release.parent.uid" value=""/>
+                <property name="release.parent.version" value=""/>
+                <property name="release.parent.platforms" value=""/>
+                <property name="engine.dist.file" value="${output.dir}/registry-temp/engine.jar"/>
+            </ant>
+        </if>
         <!--normen-build blender for platforms-->
         <for-each property="platform" list="${target.platforms}" separator=" ">
             <echo message="BUILDING BLENDER ${platform} PRODUCT =================================="/>