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 172752 - Can't import xml snapshots
Summary: Can't import xml snapshots
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 11:46 UTC by Erno Mononen
Modified: 2009-09-22 15:29 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 Erno Mononen 2009-09-22 11:46:18 UTC
The profiler allows to export snapshots to .xml, .csv etc formats, but importing snapshots in those formats does not 
seem to be possible.
Comment 1 Jiri Sedlacek 2009-09-22 11:56:09 UTC
Right, the profiler allows exporting the data to various formats so you can process them further in other tools. If you
want to save the data and open them later in the profiler then use the profiler native snapshot format ".nps".

BTW I don't think the export/import features need to be symmetrical - a tool may provide export feature but doesn't need
to provide import. Currently we don't have any plans to provide support for importing external snapshots.
Comment 2 Erno Mononen 2009-09-22 12:05:26 UTC
Please make it then clear on the http://wiki.netbeans.org/FitnessViaPartnership page that users shouldn't bother 
attaching snapshots in formats other than .nps. Now I have a bunch of .xml snapshots in my hands.
Comment 3 Jiri Sedlacek 2009-09-22 12:52:24 UTC
You should contact the page owner to update the contents - jtulach? BTW when saving the snapshot the ".nps" format is
the default choice, there's no need to change anything, just click the Save button. Do you have any information why the
users decided to use the xml format?
Comment 4 Erno Mononen 2009-09-22 13:18:46 UTC
Well I updated the page myself. I don't know why the users chose the .xml format, but it seems likely they assumed the 
profiler can import .xml snapshots (and I can't blame them for that).
Comment 5 Jiri Sedlacek 2009-09-22 13:47:27 UTC
Thanks. I'm thinking of separating "Save" functionality from "Export" which could improve the usability a bit. "Save"
would save the snapshot to a ".nps" file which can be later loaded back, "Export" would transform the snapshot data into
a common format for other tools. Not sure if it's doable for 6.8...
Comment 6 Erno Mononen 2009-09-22 15:29:33 UTC
Yes, I think that would be better.