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 118322 - profiler spi ProjectTypeProfiler interface assumes ant-based project
Summary: profiler spi ProjectTypeProfiler interface assumes ant-based project
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 5 votes (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on: 109072
Blocks: 57907 89215
  Show dependency tree
 
Reported: 2007-10-10 08:23 UTC by Milos Kleint
Modified: 2011-10-11 13:42 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2007-10-10 08:23:26 UTC
profiler spi ProjectTypeProfiler interface assumes ant-based project in these methods:

String getProfilerTargetName(Project project, FileObject buildScript, int type, FileObject profiledClassFile);
FileObject getProjectBuildScript(Project project);
void configurePropertiesForProfiling(Properties props, Project project, FileObject profiledClassFile);

which prohibits implementation in a non-ant based project type. (eg. maven in issue 89215)

The only alternative to ProjectTypeProfiler seems to be to implement the "profile" action in the project type's
ActionProvider. However it's not clear to me how to connect that to the profiler codebase.
Comment 1 Jiri Sedlacek 2007-10-10 09:19:26 UTC
Should be addressed when designing general profiling framework as requested in Issue 109072. Not for 6.0.
Comment 2 Milos Kleint 2007-10-10 09:25:54 UTC
sure, marking the dependency.
Comment 3 Tomas Hurka 2009-04-08 12:50:40 UTC
Milestone cleanup: future->next
Comment 4 J Bachorik 2011-10-11 13:42:45 UTC
ProjectTypeProfiler doesn't exist anymore. Profiler functionality gets registered through project lookups.