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.

Bug 65197 - Support for profiling nbm projects
Summary: Support for profiling nbm projects
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 15:14 UTC by Jaroslav Tulach
Modified: 2005-10-10 12:59 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Version zero - well, at least shows which build scripts to modify to allow profiling of suites. (4.33 KB, patch)
2005-09-27 15:16 UTC, Jaroslav Tulach
Details | Diff
Changes to enable profiling of all NBM project types (9.30 KB, patch)
2005-10-07 10:47 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2005-09-27 15:14:35 UTC
The goal is to add easy way to invoke profiler on nbm projects from  
netbeans.org as well as external suites in NetBeans 5.0.  
  
There should be a way how to profile an application based on NetBeans, e.g.  
pass the right arguments to nbexec and attach profiler to it, and also a way  
how to profile simple test classes.
Comment 1 Jaroslav Tulach 2005-09-27 15:16:37 UTC
Created attachment 25230 [details]
Version zero - well, at least shows which build scripts to modify to allow profiling of suites.
Comment 2 Jaroslav Tulach 2005-10-07 10:47:08 UTC
Created attachment 25651 [details]
Changes to enable profiling of all NBM project types
Comment 3 Jaroslav Tulach 2005-10-10 12:59:14 UTC
"Adding 'profile' target to projectized modules, standalone ones and suites"  
 
If anyone wants to try, you need to have fairly recent build of profiler (e.g. 
at least tomorrow's one). 
  
Checking in nbbuild/build.xml;  
/cvs/nbbuild/build.xml,v  <--  build.xml  
new revision: 1.710; previous revision: 1.709  
done  
Checking in nbbuild/templates/projectized.xml;  
/cvs/nbbuild/templates/projectized.xml,v  <--  projectized.xml  
new revision: 1.59; previous revision: 1.58  
done  
Checking in apisupport/harness/release/README;  
/cvs/apisupport/harness/release/README,v  <--  README  
new revision: 1.14; previous revision: 1.13  
done  
Checking in apisupport/harness/release/build.xml;  
/cvs/apisupport/harness/release/build.xml,v  <--  build.xml  
new revision: 1.7; previous revision: 1.6  
done  
Checking in apisupport/harness/release/run.xml;  
/cvs/apisupport/harness/release/run.xml,v  <--  run.xml  
new revision: 1.10; previous revision: 1.9  
done  
Checking in apisupport/harness/release/suite.xml;  
/cvs/apisupport/harness/release/suite.xml,v  <--  suite.xml  
new revision: 1.19; previous revision: 1.18  
done  
Checking in  
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/ModuleActions.java;  
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/ModuleActions.java,v   
<--  ModuleActions.java  
new revision: 1.11; previous revision: 1.10  
done  
Checking in  
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/SuiteActions.java;  
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/SuiteActions.java,v   
<--  SuiteActions.java  
new revision: 1.10; previous revision: 1.9