You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/03/08 11:56:58 UTC

[GitHub] [incubator-netbeans] rtaneja1 opened a new pull request #1052: [NETBEANS-1671] Donation 3 - Include installer sources

rtaneja1 opened a new pull request #1052: [NETBEANS-1671] Donation 3 - Include installer sources
URL: https://github.com/apache/incubator-netbeans/pull/1052
 
 
   This includes installer sources from http://bits.netbeans.org/download/apache-donation/ApacheNetBeansDonation3.zip
   Also contains support for creating NetBeans-JDK (11.0.1) bundle.
   
   Sample sh file for creating JDK bundle:
   
   ------------------------------------------------------------------------
   BASE_DIR=`pwd`
   NB_ALL=$BASE_DIR
   export BASE_DIR NB_ALL
   
   DIST=$BASE_DIR/dist
   export DIST
   
   if [ -d $DIST ] ; then
       rm -rf $DIST
   fi
   
   mkdir -p $DIST/zip/moduleclusters
   mkdir -p $DIST/logs
   cp <download location>/incubating-netbeans-10.0-vc3-bin.zip $DIST/zip/moduleclusters
   NB_BUILD_NUMBER=<BUILDNUM>
   BASENAME_PREFIX=incubating-netbeans-10.0-vc3-bin
   BUILD_DESC=$BASENAME_PREFIX
   BUILDNUMBER=<BUILDNUM>
   DATESTAMP=$BUILDNUMBER
   export BUILDNUMBER BASENAME_PREFIX NB_BUILD_NUMBER DATESTAMP BUILD_DESC
   LOCALES=ja,zh_CN,pt_BR,ru
   export LOCALES
   #l10n repo not yet present in Apache github, part of Donation 3 zip
   #cd ${BASE_DIR}
   #if [ ! -d l10n ] ; then
   #hg clone -r release82 http://hg.netbeans.org/releases/l10n
   #else
   #cd l10n
   #hg pull -u -r release82
   #fi
   #JDK build location https://java.se.oracle.com/artifactory/re-release-local/jdk/11.0.1/13/bundles/
   JDK11_BUILDS_PATH=artifactory/re-release-local/jdk/11.0.1/13/bundles/
   export JDK7_BUILDS_PATH JDK8_BUILDS_PATH JDK11_BUILDS_PATH
   
   #Bundled jvm hosted location, required for Linux and Windows bundles
   BINARY_CACHE_HOST=<host>
   WTK_BUILDS_HOST=$BINARY_CACHE_HOST
   
   export BINARY_CACHE_HOST
   export WTK_BUILDS_HOST
   
   MAC_SIGN_CLIENT=<clientjar>
   MAC_SIGN_USER=<signuser>
   MAC_SIGN_GUID=<signuid>
   CODESIGNBUREAU_CREDFILE=<credfile>
   
   export MAC_SIGN_CLIENT
   export MAC_SIGN_USER
   export MAC_SIGN_GUID
   export CODESIGNBUREAU_CREDFILE
   
   NATIVE_MAC_MACHINE=<user>@<machost>
   MAC_PATH=<path>
   #uncomment for creating mac build on above machost
   #export NATIVE_MAC_MACHINE
   #export MAC_PATH
   
   MAC_LOG_NEW=$DIST/logs/native_mac-$BUILDNUMBER.log
   export MAC_LOG_NEW
   
   BUILD_NETBEANS=0
   BUILD_NBJDK6=0
   BUILD_NBJDK7=0
   BUILD_NBJDK8=0
   BUILD_NBJDK11=1
   
   export BUILD_NETBEANS
   export BUILD_NBJDK6 BUILD_NBJDK7 BUILD_NBJDK8 BUILD_NBJDK11
   
   #if it's empty => will be set windows,linux as default
   BUNDLE_JDK_PLATFORM=
   export BUNDLE_JDK_PLATFORM
   
   OUTPUT_DIR=${NB_ALL}/dist/installers
   export OUTPUT_DIR
   DONT_SIGN_INSTALLER=y
   export DONT_SIGN_INSTALLER
   bash -x $NB_ALL/nbbuild/newbuild/build-nbi.sh
   
   --------------------------------------------------------

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists