Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 142284 - Missing ProjectRunner.PROFILE
Missing ProjectRunner.PROFILE
Status: NEW
Product: java
Classification: Unclassified
Component: Project
All All
: P2 (vote)
Assigned To: Tomas Zezula
Depends on:
Blocks: 144921
  Show dependency treegraph
Reported: 2008-07-30 18:06 UTC by Jesse Glick
Modified: 2013-09-02 14:23 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-07-30 18:06:26 UTC
ProjectRunner has the ability to debug but not profile. This seems like an omission, since AFAIK these are very similar
structurally: you start the JVM with some special options but otherwise run the program normally.

Perhaps this is rather a problem in the Profiler, since for some reason that I have not yet figured out, it has a
completely different mechanism for running project actions than the debugger. Whatever the case, it does not appear to
be integrated with CoS at all. I am trying to figure out what would be needed for autoproject to be integrated with the
Profiler (one of the main selling points of the IDE to a typical autoproject user!), preferably making it work as much
as possible like run and debug, which already use ProjectRunner; profiler.j2se is much larger than I would have expected
and the purpose of most of the source is a mystery to me so far.
Comment 1 Jesse Glick 2008-08-27 05:26:43 UTC
A relatively small ProjectTypeProfiler in global lookup turned out to be sufficient to get basic profiler integration
working with automatic projects. In order to then tie this into CoS, I needed a small Ant script using
<translate-classpath>, which you can see in

Obviously for use in ProjectRunner this would need to be expanded with some additional properties.

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