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 14430
Collapse All | Expand All

(-)rmi/src/org/netbeans/modules/rmi/Bundle.properties (+4 lines)
Lines 170-172 Link Here
170
PROP_KeepGenerated = Keep Generated
170
PROP_KeepGenerated = Keep Generated
171
HINT_KeepGenerated = If true, source files for stubs will not be deleted.
171
HINT_KeepGenerated = If true, source files for stubs will not be deleted.
172
172
173
# RMICompilerSupport
174
# {0} - name of main job
175
# {1} - name of stub compiler
176
LBL_sub_job_display_name=Regular compile in {0} before {1}
(-)rmi/src/org/netbeans/modules/rmi/RMICompilerSupport.java (-15 / +2 lines)
Lines 75-98 Link Here
75
        }
75
        }
76
        
76
        
77
        CompilerJob j2 = new CompilerJob(job.getInitialDepth());
77
        CompilerJob j2 = new CompilerJob(job.getInitialDepth());
78
        j2.setDisplayName(NbBundle.getMessage(RMICompilerSupport.class, "LBL_sub_job_display_name", job.getDisplayName(), sct.getName()));
78
        super.addToJob(j2, depth);
79
        super.addToJob(j2, depth);
79
        job.dependsOn(j2);
80
        job.dependsOn(j2);
80
81
81
        Class xcookie;
82
        sct.prepareJob(job, cookie, entry.getDataObject());
82
83
        // compile with depth == 1 is build
84
        if (cookie == CompilerCookie.Compile.class) {
85
            xcookie = (Compiler.DEPTH_ONE == depth ? CompilerCookie.Build.class : cookie);
86
        } else {
87
            xcookie = cookie;
88
        }
89
90
        try {
91
            DataObject dobj = DataObject.find (entry.getFile ());
92
            sct.prepareJob(job, xcookie, dobj);
93
        } catch (DataObjectNotFoundException ex) {
94
            if (Boolean.getBoolean("netbeans.debug.exceptions")) ex.printStackTrace(); // NOI18N
95
        }
96
    }
83
    }
97
84
98
    /** Getter for property stubCompilerType.
85
    /** Getter for property stubCompilerType.

Return to bug 14430