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 144588 - Profiler integration breaks project buildscript
Summary: Profiler integration breaks project buildscript
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords: REGRESSION
: 144102 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-20 13:42 UTC by Jiri Sedlacek
Modified: 2009-01-13 12:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2008-08-20 13:42:32 UTC
After integrating the profiler with a project, all newlines in the buildscript are removed.
Comment 1 Jiri Sedlacek 2008-08-20 13:45:19 UTC
Steps to reproduce:

 1/ Create Anagram Game sample project
 2/ Open its build.xml, the file is correct
 3/ Close build.xml, perform profiler integration (invoke Profile Project action)
 4/ Open the build.xml again, there are no newlines

This is regression caused by fix of issue #132721.
Comment 2 Jiri Sedlacek 2008-08-20 13:54:54 UTC
Fixed in main.


changeset:   96949:8c511832ec46
date:        Wed Aug 20 14:53:53 2008 +0200
summary:     Fixed #144413 and #144588 : partial revert of reading project buildscript.
Comment 3 Jiri Sedlacek 2008-08-20 22:22:24 UTC
*** Issue 144102 has been marked as a duplicate of this issue. ***
Comment 4 Daria Titova 2008-08-21 14:57:01 UTC
There is no changeset you provided in the repository.
(http://hg.netbeans.org/main/rev/8c511832ec46 - Error page)
And Profiler commit validation tests are failing because of this issue ().
See 
fail -
http://deadlock.netbeans.org/hudson/job/trunk/3488/testReport/org.netbeans.test.profiler/ProfilerValidation/testProfiler/
screenshot -
http://deadlock.netbeans.org/hudson/job/trunk/3488/artifact/ide.kit/build/test/qa-functional/work/o.n.t.p.P/testProfiler/screen.png
Comment 5 Tomas Hurka 2008-08-21 15:02:23 UTC
It is fixed in profiler-main.
Comment 6 Quality Engineering 2008-08-22 06:06:38 UTC
Integrated into 'main-golden', available in build *200808220201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/8c511832ec46
User: Jiri Sedlacek <jis@netbeans.org>
Log: Fixed #144413 and #144588 : partial revert of reading project buildscript.
Comment 7 mariadavydova 2009-01-13 12:07:54 UTC
verified in Build 200812170242