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.

View | Details | Raw Unified | Return to bug 139051
Collapse All | Expand All

(-)a/o.n.bootstrap/launcher/unix/nbexec (+1 lines)
Lines 403-408 Link Here
403
    cp=""
403
    cp=""
404
    updatercp=""
404
    updatercp=""
405
    
405
    
406
    build_cp "${userdir}"
406
    build_cp "${plathome}"
407
    build_cp "${plathome}"
407
    
408
    
408
    if [ -f "${userdir}/modules/ext/updater.jar" ] ; then
409
    if [ -f "${userdir}/modules/ext/updater.jar" ] ; then
(-)a/o.n.bootstrap/src/org/netbeans/MainImpl.java (+9 lines)
Lines 52-57 Link Here
52
import java.security.PermissionCollection;
52
import java.security.PermissionCollection;
53
import java.security.Permissions;
53
import java.security.Permissions;
54
import java.util.ArrayList;
54
import java.util.ArrayList;
55
import java.util.Arrays;
55
import java.util.Collection;
56
import java.util.Collection;
56
import java.util.Enumeration;
57
import java.util.Enumeration;
57
import java.util.HashSet;
58
import java.util.HashSet;
Lines 125-130 Link Here
125
        ArrayList<File> list = new ArrayList<File>();
126
        ArrayList<File> list = new ArrayList<File>();
126
127
127
        HashSet<File> processedDirs = new HashSet<File> ();
128
        HashSet<File> processedDirs = new HashSet<File> ();
129
        List<String> argsL = Arrays.asList (args);
130
        int idx = argsL.indexOf ("--userdir");
131
        if (idx != -1 && argsL.size () > idx + 1) {
132
            String user = argsL.get (idx + 1);
133
            if (user != null) {
134
                build_cp (new File (user), list, processedDirs);
135
            }
136
        }
128
        String home = System.getProperty ("netbeans.home"); // NOI18N
137
        String home = System.getProperty ("netbeans.home"); // NOI18N
129
        if (home != null) {
138
        if (home != null) {
130
            build_cp (new File (home), list, processedDirs);
139
            build_cp (new File (home), list, processedDirs);

Return to bug 139051