View | Details | Raw Unified | Return to bug 48488 | Differences between
and this patch

Collapse All | Expand All

(-)apisupport/project/src/org/netbeans/modules/apisupport/project/Actions.java (+2 lines)
 Lines 47-52    Link Here 
47
        actions.add(CommonProjectActions.newFileAction());
47
        actions.add(CommonProjectActions.newFileAction());
48
        actions.add(null);
48
        actions.add(null);
49
        actions.add(createGlobalAction(project, new String[] {"netbeans"}, "Build"));
49
        actions.add(createGlobalAction(project, new String[] {"netbeans"}, "Build"));
50
        actions.add(createGlobalAction(project, new String[] {"debug"}, "Debug"));
50
        actions.add(createGlobalAction(project, new String[] {"clean", "netbeans"}, "Clean and Build"));
51
        actions.add(createGlobalAction(project, new String[] {"clean", "netbeans"}, "Clean and Build"));
51
        actions.add(createGlobalAction(project, new String[] {"clean"}, "Clean"));
52
        actions.add(createGlobalAction(project, new String[] {"clean"}, "Clean"));
52
        actions.add(null);
53
        actions.add(null);
 Lines 113-118    Link Here 
113
        globalCommands.put(ActionProvider.COMMAND_BUILD, new String[] {"netbeans"}); // NOI18N
114
        globalCommands.put(ActionProvider.COMMAND_BUILD, new String[] {"netbeans"}); // NOI18N
114
        globalCommands.put(ActionProvider.COMMAND_CLEAN, new String[] {"clean"}); // NOI18N
115
        globalCommands.put(ActionProvider.COMMAND_CLEAN, new String[] {"clean"}); // NOI18N
115
        globalCommands.put(ActionProvider.COMMAND_REBUILD, new String[] {"clean", "netbeans"}); // NOI18N
116
        globalCommands.put(ActionProvider.COMMAND_REBUILD, new String[] {"clean", "netbeans"}); // NOI18N
117
        globalCommands.put(ActionProvider.COMMAND_DEBUG, new String[] {"debug"}); // NOI18N
116
        /* Too dangerous:
118
        /* Too dangerous:
117
        globalCommands.put(ActionProvider.COMMAND_RUN, new String[] {"reload"}); // NOI18N
119
        globalCommands.put(ActionProvider.COMMAND_RUN, new String[] {"reload"}); // NOI18N
118
         */
120
         */
(-)nbbuild/templates/projectized.xml (+13 lines)
 Lines 334-339    Link Here 
334
            <arg line="${test.class}"/>
334
            <arg line="${test.class}"/>
335
        </java>
335
        </java>
336
    </target>
336
    </target>
337
    
338
    <target name="debug" depends="netbeans" >
339
        <nbjpdastart name="NetBeans" addressproperty="debug.port" transport="dt_socket">
340
            <classpath>
341
                <fileset dir="${netbeans.dest.dir}" >
342
                    <include name="**/*.jar" />
343
                </fileset>
344
            </classpath>
345
        </nbjpdastart>
346
        <property name="debug.server" value="n" />
347
        <antcall target="tryme-debug" />
348
    </target>
349
    
337
350
338
    <target name="debug-test-single" depends="init,test-init,test-build,do-debug-test-single"/>
351
    <target name="debug-test-single" depends="init,test-init,test-build,do-debug-test-single"/>
339
352

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