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 191989 - Profiler Integration will be removed from <project>
Summary: Profiler Integration will be removed from <project>
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 08:38 UTC by stefan79
Modified: 2010-11-18 21:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
My existing project. (14.71 KB, application/octet-stream)
2010-11-16 08:38 UTC, stefan79
Details
The Question-Dialog. (84.11 KB, image/jpeg)
2010-11-16 08:39 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2010-11-16 08:38:22 UTC
[ BUILD # : 201011150001 ]
[ JDK VERSION : 1.6.21 ]

When I open an existing project, I got the message, that profiler-Integration
will be removed.
Why
Comment 1 stefan79 2010-11-16 08:38:53 UTC
Created attachment 102994 [details]
My existing project.
Comment 2 stefan79 2010-11-16 08:39:53 UTC
Created attachment 102995 [details]
The Question-Dialog.
Comment 3 Tomas Hurka 2010-11-16 09:02:22 UTC
See issue #189151.
Comment 4 stefan79 2010-11-16 11:52:48 UTC
(In reply to comment #3)
> See issue #189151.
What does this mean?
Profiler is now integrated into NB and cleans my project file, so I can only use my project at 6.9 or at 7.0?
Comment 5 J Bachorik 2010-11-18 21:07:11 UTC
It means that in NB 7+ the targets required by profiler are included in the basic distribution and therefore no modification of the build.xml is necessary. In fact, such a modification would clash with the build infrastructure and would produce unpredictable results. As such, all modifications are removed from the project files once they are opened in NB 7+.
This doesn't mean that you can not open your project in an older IDE anymore - the IDE will simply generate the profiler integration again (as it did you first time tried to profile the particular project).
I agree that the message could be somehow confusing but the only alternative would be to remove the integration in silence - and that also might not be something you want.

Closing as invalid since "why" is not a real error description. If you would prefer to have an improved wording for the user warning when removing the unnecessary integration bits from a project when opening in NB 7+, please, reopen with a clear statement what is perceived as an erroneous behavior.