Bug 236127 - Update Site project logs.zip is not acceptable user interface
Summary: Update Site project logs.zip is not acceptable user interface
Status: CLOSED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-06-06 15:11 EDT by John J. Barton CLA
Modified: 2019-09-09 02:37 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John J. Barton CLA 2008-06-06 15:11:28 EDT
Build ID: Version: 3.4.0 Build id: I20080523-0100

Steps To Reproduce:
1.Create an update site project based on a feature based on a plugin
2. Have an error in the plugin
3. Build All on the update site

The result is an error message in logs.zip in the update site directory.


More information:
Errors in Eclipse belong in Errors Log or Problem View. However I understand that these are difficult to implement. An acceptable alternative would be to put the errors in a console view.  I can help you get started with that solution, let me know.

An acceptable but inferior implementation is a log file. If this is the only possible path, please at least link the log file in the popup error message.

The current solution of zipping the log file is unacceptable.  This pointless extra step forces users to open the log file with an external program and navigate to read their errors.
Comment 1 Pascal Rapicault CLA 2008-06-11 14:00:46 EDT
This is true. If you have a way to capture the ant log and embellish them to present them to the user, we would really be interested. 
Comment 2 Andrew Niefer CLA 2008-06-11 14:46:40 EDT
Log files and stdout are the only ways PDE/Build has to report errors, PDE/Build is first and foremost headless.

Any improved error reporting must be done by UI.
Comment 3 John J. Barton CLA 2008-06-11 16:05:59 EDT
(In reply to comment #1)
> This is true. If you have a way to capture the ant log and embellish them to
> present them to the user, we would really be interested. 
> 

Do you know where in the source the ant process is created?  I assume it is triggered by Build All button and that the headless build just calls ant directly? (Meaning that new UI code to jam the ant log into a UI will not interfere with headless use case).

Also precise details on what source would be the correct starting point would be a big help.



Comment 4 Curtis Windatt CLA 2009-01-06 10:49:28 EST
(In reply to comment #3)
> Also precise details on what source would be the correct starting point would
> be a big help.
> 

The build/export is done by a set of operations.  For update sites this is SiteBuildOperation, but the majority of the code is higher up in the hierarchy, specifically FeatureExportOperation.

We have a build listener, ExportBuildListener, that tries to detect that an error occurred during the headless operation.

Note that if this is fixed, it should be done in a way that it can apply to all of the export operations (features, plug-ins, products and update sites).  They all use the same headless logging, though for the other operations we pop up a dialog containing the link to the zip (as the zip is not in the workspace).
Comment 5 Eclipse Webmaster CLA 2019-09-06 15:31:37 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 6 Eclipse Webmaster CLA 2019-09-06 15:36:45 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 7 Julian Honnen CLA 2019-09-09 02:37:21 EDT
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.