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

(-)a/java.project/apichanges.xml (+19 lines)
Lines 109-114 Link Here
109
    <!-- ACTUAL CHANGES BEGIN HERE: -->
109
    <!-- ACTUAL CHANGES BEGIN HERE: -->
110
110
111
    <changes>
111
    <changes>
112
        <change id="ProfilerActions">
113
            <api name="general"/>
114
            <summary>Added 
115
                <code>JavaRunner.QUICK_PROFILE</code>, 
116
                <code>JavaRunner.QUICK_TEST_PROFILE</code> and
117
                <code>JavaRunner.QUICK_PROFILE_APPLET</code> constants
118
            </summary>
119
            <version major="1" minor="44"/>
120
            <date day="23" month="3" year="2011"/>
121
            <author login="yardus"/>
122
            <compatibility addition="yes"/>
123
            <description>
124
                <p>
125
                    Integrating profiler into the generic project infrastructure.
126
                </p>
127
            </description>
128
            <class package="org.netbeans.api.java.project.runner" name="JavaRunner"/>
129
            <issue number="203519"/>
130
        </change>
112
        <change id="ProjectClassPathModifier.extenderForModifier">
131
        <change id="ProjectClassPathModifier.extenderForModifier">
113
            <api name="classpath"/>
132
            <api name="classpath"/>
114
            <summary>Added <code>ProjectClassPathModifier.extenderForModifier</code></summary>
133
            <summary>Added <code>ProjectClassPathModifier.extenderForModifier</code></summary>
(-)a/java.project/manifest.mf (-1 / +1 lines)
Lines 3-9 Link Here
3
OpenIDE-Module-Layer: org/netbeans/modules/java/project/layer.xml
3
OpenIDE-Module-Layer: org/netbeans/modules/java/project/layer.xml
4
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/java/project/Bundle.properties
4
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/java/project/Bundle.properties
5
OpenIDE-Module-Needs: javax.script.ScriptEngine.freemarker
5
OpenIDE-Module-Needs: javax.script.ScriptEngine.freemarker
6
OpenIDE-Module-Specification-Version: 1.43
6
OpenIDE-Module-Specification-Version: 1.44
7
OpenIDE-Module-Recommends: org.netbeans.spi.java.project.runner.JavaRunnerImplementation
7
OpenIDE-Module-Recommends: org.netbeans.spi.java.project.runner.JavaRunnerImplementation
8
AutoUpdate-Show-In-Client: false
8
AutoUpdate-Show-In-Client: false
9
9
(-)a/java.project/src/org/netbeans/api/java/project/runner/JavaRunner.java (-1 / +37 lines)
Lines 107-113 Link Here
107
     * @since 1.22
107
     * @since 1.22
108
     */
108
     */
109
    public static final String QUICK_DEBUG = "debug";
109
    public static final String QUICK_DEBUG = "debug";
110
110
    
111
    /**
112
     * <p>"Test" run the given file in the profiling mode. Classfiles produced by the Java infrastructure will be
113
     * executed.</p>
114
     *
115
     * <p>These properties are should be set in the properties, or inferable: {@link #PROP_EXECUTE_CLASSPATH},
116
     * {@link #PROP_CLASSNAME}, {@link #PROP_PLATFORM_JAVA}, {@link #PROP_WORK_DIR}, {@link #PROP_RUN_JVMARGS}
117
     * and {@link #PROP_APPLICATION_ARGS}.</p>
118
     *
119
     * @since 1.44
120
     */
121
    public static final String QUICK_PROFILE = "profile";
122
    
111
    /**
123
    /**
112
     * <p>"Test" run the given test. Classfiles produced by the Java infrastructure will be
124
     * <p>"Test" run the given test. Classfiles produced by the Java infrastructure will be
113
     * executed.</p>
125
     * executed.</p>
Lines 134-139 Link Here
134
     */
146
     */
135
    public static final String QUICK_TEST_DEBUG = "junit-debug";
147
    public static final String QUICK_TEST_DEBUG = "junit-debug";
136
148
149
    /**
150
     * <p>"Test" run the given test in the profiling mode. Classfiles produced by the Java infrastructure will be
151
     * executed.</p>
152
     *
153
     * <p>These properties are should be set in the properties, or inferable: {@link #PROP_EXECUTE_CLASSPATH},
154
     * {@link #PROP_CLASSNAME}, {@link #PROP_PLATFORM_JAVA}, {@link #PROP_WORK_DIR} and {@link #PROP_RUN_JVMARGS}.</p>
155
     *
156
     * <p><strong>application.args</strong> property is not supported.</p>
157
     *
158
     * @since 1.44
159
     */
160
    public static final String QUICK_TEST_PROFILE = "junit-profile";
161
    
137
    /** <p>"Test" run the given applet. Classfiles produced by the Java infrastructure will be
162
    /** <p>"Test" run the given applet. Classfiles produced by the Java infrastructure will be
138
     * executed.</p>
163
     * executed.</p>
139
     * 
164
     * 
Lines 156-161 Link Here
156
     */
181
     */
157
    public static final String QUICK_DEBUG_APPLET = "debug-applet";
182
    public static final String QUICK_DEBUG_APPLET = "debug-applet";
158
    
183
    
184
    /** <p>"Test" run the given applet in the profiling mode. Classfiles produced by the Java infrastructure will be
185
     * executed.</p>
186
     * 
187
     * <p>These properties are should be set in the properties, or inferable: {@link #PROP_EXECUTE_CLASSPATH},
188
     * {@link #PROP_EXECUTE_FILE}, {@link #PROP_PLATFORM_JAVA}, {@link #PROP_WORK_DIR} and {@link #PROP_RUN_JVMARGS},
189
     * <code>applet.url</code>.</p>
190
     * 
191
     * @since 1.44
192
     */
193
    public static final String QUICK_PROFILE_APPLET = "profile-applet";
194
    
159
    /** Clean classfiles produced by the Java infrastructure.
195
    /** Clean classfiles produced by the Java infrastructure.
160
     * 
196
     * 
161
     * @since 1.22
197
     * @since 1.22
(-)a/projectapi/apichanges.xml (-1 / +18 lines)
Lines 107-113 Link Here
107
    <!-- ACTUAL CHANGES BEGIN HERE: -->
107
    <!-- ACTUAL CHANGES BEGIN HERE: -->
108
108
109
    <changes>
109
    <changes>
110
110
        <change id="Profiler.Actions">
111
            <api name="general"/>
112
            <summary>Profiler actions are an integral part of the project infrastructure - just like the debugger actions</summary>
113
            <version major="1" minor="43"/>
114
            <date day="23" month="3" year="2011"/>
115
            <author login="yardus"/>
116
            <compatibility addition="yes"/>
117
            <description>
118
                <p>
119
                    In order to be able to fully integrate the profiler with the project infrastructure
120
                    it is necessary to add three new constants to 
121
                    <code>ActionProvider</code> SPI for profiling a project, profiling a single file and
122
                    profiling a test for single file. 
123
                </p>
124
            </description>
125
            <class package="org.netbeans.spi.project" name="ActionProvider"/>
126
            <issue number="203519"/>
127
        </change>
111
        <change id="SourceGroup.contains.IAE">
128
        <change id="SourceGroup.contains.IAE">
112
            <api name="general"/>
129
            <api name="general"/>
113
            <summary><code>SourceGroup.contains</code> no longer throws <code>IllegalArgumentException</code></summary>
130
            <summary><code>SourceGroup.contains</code> no longer throws <code>IllegalArgumentException</code></summary>
(-)a/projectapi/manifest.mf (-1 / +1 lines)
Lines 1-7 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.netbeans.modules.projectapi/1
2
OpenIDE-Module: org.netbeans.modules.projectapi/1
3
OpenIDE-Module-Install: org/netbeans/modules/projectapi/Installer.class
3
OpenIDE-Module-Install: org/netbeans/modules/projectapi/Installer.class
4
OpenIDE-Module-Specification-Version: 1.42
4
OpenIDE-Module-Specification-Version: 1.43
5
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/projectapi/Bundle.properties
5
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/projectapi/Bundle.properties
6
OpenIDE-Module-Layer: org/netbeans/modules/projectapi/layer.xml
6
OpenIDE-Module-Layer: org/netbeans/modules/projectapi/layer.xml
7
7
(-)a/projectapi/src/org/netbeans/spi/project/ActionProvider.java (+18 lines)
Lines 130-135 Link Here
130
    String COMMAND_DEBUG_STEP_INTO = "debug.stepinto"; // NOI18N
130
    String COMMAND_DEBUG_STEP_INTO = "debug.stepinto"; // NOI18N
131
    
131
    
132
    /**
132
    /**
133
     * Standard command for running the project in profiler
134
     * @since 1.43
135
     */
136
    String COMMAND_PROFILE = "profile"; // NOI18N
137
    
138
    /**
139
     * Standard command for running single file in profiler
140
     * @since 1.43
141
    */
142
    String COMMAND_PROFILE_SINGLE = "profile.single"; // NOI18N
143
    
144
    /** 
145
     * Standard command for running one test in profiler
146
     * @since 1.43
147
    */
148
    String COMMAND_PROFILE_TEST_SINGLE = "profile.test.single"; // NOI18N
149
    
150
    /**
133
     * Standard command for deleting the project.
151
     * Standard command for deleting the project.
134
     *
152
     *
135
     * @since 1.6
153
     * @since 1.6

Return to bug 203519