This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267540 - custom silent install location nb-base.installation.location set by -J-Dnb-base.installation.location is ignored
Summary: custom silent install location nb-base.installation.location set by -J-Dnb-ba...
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Debian (show other bugs)
Version: Dev
Hardware: PC Linux
: P1 normal with 1 vote (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-11 15:24 UTC by allanNB
Modified: 2016-11-12 03:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description allanNB 2016-08-11 15:24:38 UTC
I tried this with both linux.sh and php-linux-x64.sh downloaded from: http://bits.netbeans.org/download/trunk/nightly/latest/bundles


before (in previous versions) setting the -J-Dnb-base.installation.location option for the Netbeans linux.sh command line installer meant it installed it in the location set silently (even when --silent was not set), without bringing up the installer window at all. I can't remember starting which version, but it seems neither installer no longer supports -J-Dnb-base.installation.location

manpage:
http://wiki.netbeans.org/NetBeansInstallerTipsAndTricks - section: nb-base.installation.location

usage:
/path/to/installer/netbeans-trunk-nightly-201608110002-php-linux-x64.sh "-J-Dnb-base.installation.location=$FUTURE_DIR"

I made a bash script to auto-install and keep a bunch of nightlys a few years back, you can see a more specific usage on github:
https://github.com/allanlaal/Netbeans-Nightly-Multi-Autoinstall/blob/master/getNetbeansNightly.sh
Comment 1 allanNB 2016-11-12 03:35:25 UTC
this is a major bug, I cannot autoinstall nightlys anymore - I have to do it manually :(