Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 32053 | Differences between
and this patch

Collapse All | Expand All

(-)runide.cpp (-7 / +8 lines)
 Lines 232-238    Link Here 
232
    addOption(strdup(buf), NULL);
232
    addOption(strdup(buf), NULL);
233
233
234
    if (userdir[0] != '\0') {
234
    if (userdir[0] != '\0') {
235
        strcat(strcpy(buf, "-Dnetbeans.user="), userdir);
235
        strcat(strcpy(buf, "--userdir "), userdir);
236
        addOption(strdup(buf), NULL);
236
        addOption(strdup(buf), NULL);
237
    }
237
    }
238
  
238
  
 Lines 517-525    Link Here 
517
            ) {
517
            ) {
518
            fatal(getStringRes(MSG_USAGE));
518
            fatal(getStringRes(MSG_USAGE));
519
        }
519
        }
520
        else if (strcmp("-single", arg) == 0) {
520
//        else if (strcmp("-single", arg) == 0) {
521
            multiuser = 0;
521
//            multiuser = 0;
522
        } else if (0 == strcmp("-userdir", arg)) {
522
//        } 
523
        else if (0 == strcmp("-userdir", arg) || 0 == strcmp("--userdir", arg)) {
523
            multiuser = 1;
524
            multiuser = 1;
524
            if (argc > 0) {
525
            if (argc > 0) {
525
                arg = *argv;
526
                arg = *argv;
 Lines 539-545    Link Here 
539
        } else if (0 == strcmp(RUN_UPDATER, arg)) {
540
        } else if (0 == strcmp(RUN_UPDATER, arg)) {
540
            runide = 0;
541
            runide = 0;
541
            runupdater = 1;
542
            runupdater = 1;
542
        } else if (0 == strcmp("-jdkhome", arg)) {
543
        } else if (0 == strcmp("-jdkhome", arg) || 0 == strcmp("--jdkhome", arg)) {
543
            if (argc > 0) {
544
            if (argc > 0) {
544
                arg = *argv;
545
                arg = *argv;
545
                argv++;
546
                argv++;
 Lines 566-572    Link Here 
566
            else {
567
            else {
567
                fatal(getStringRes(MSG_USAGE));
568
                fatal(getStringRes(MSG_USAGE));
568
            }
569
            }
569
        } else if (0 == strcmp("-cp:p", arg)) {
570
        } else if (0 == strcmp("-cp:p", arg) || 0 == strcmp("--cp:p", arg)) {
570
            if (argc > 0) {
571
            if (argc > 0) {
571
                arg = *argv;
572
                arg = *argv;
572
                argv++;
573
                argv++;
 Lines 581-587    Link Here 
581
            else {
582
            else {
582
                fatal(getStringRes(MSG_USAGE));
583
                fatal(getStringRes(MSG_USAGE));
583
            }
584
            }
584
        } else if (0 == strcmp("-cp", arg) || 0 == strcmp("-cp:a", arg)) {
585
        } else if (0 == strcmp("-cp", arg) || 0 == strcmp("-cp:a", arg) || 0 == strcmp("--cp", arg) || 0 == strcmp("--cp:a", arg)) {
585
            if (argc > 0) {
586
            if (argc > 0) {
586
                arg = *argv;
587
                arg = *argv;
587
                argv++;
588
                argv++;

Return to bug 32053
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo