[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-core-dev] Re: platform-core-dev digest, Vol 1 #56 - 1 msg
|
An alternative solution is to remove the root tags from the .log.xml file,
rename the .log.xml file back to .log (a file of XML fragments) and create
a XML wrapper file (i.e. .log_Wrapper.xml) in the same directory for
parsing/viewing:
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE document [<!ENTITY log SYSTEM "./.log">]>
<document>
&log;
</document>
PS
----------------------------------------------
Paul Slauenwhite
IBM Toronto Lab, Canada
Internet: paules@xxxxxxxxxx
Phone: (905) 413-3861
Tie Line: 969-3861
Fax: (905) 413-4920
---------------------------------------------
platform-core-dev-request@e
clipse.org To: platform-core-dev@xxxxxxxxxxx
Sent by: cc:
platform-core-dev-admin@ecl Subject: platform-core-dev digest, Vol 1 #56 - 1 msg
ipse.org
06/01/2002 12:05 PM
Please respond to
platform-core-dev
Send platform-core-dev mailing list submissions to
platform-core-dev@xxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://dev.eclipse.org/mailman/listinfo/platform-core-dev
or, via email, send a message with subject or body 'help' to
platform-core-dev-request@xxxxxxxxxxx
You can reach the person managing the list at
platform-core-dev-admin@xxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of platform-core-dev digest..."
Today's Topics:
1. Re: Log File DTD (John_Arthorne@xxxxxxx)
----- Message from John_Arthorne@xxxxxxx on Fri, 31 May 2002 13:32:55 -0400
-----
To: platform-core-dev@xxxxxxxxxxx
Subject: [platform-core-dev] Re: Log
File DTD
The XML syntax for log files proved to be problematic. Specifically, since
XML requires only one single top-level element, it is very difficult to
maintain an ongoing log whose syntax remains correct. If eclipse crashed,
the log file element didn't get closed, and the log file syntax could not
be parsed by an XML parser. See the following bug report for a lengthly
discussion of the issue:
http://dev.eclipse.org/bugs/show_bug.cgi?id=14223
I have removed the RFC from the core page. Sorry for the confusion.
Things have been changing fast, and inevitably code changes faster than
documentation...
"Scott
Fairbrother" To:
John_Arthorne@xxxxxxx
<scottf@xxxxxx.c cc:
om> Subject: Log File DTD
05/31/2002 12:40
PM
Hi John,
The log file that I'm seeing in build F1 does not look like the logfile DTD
specified in RFC 0003 at
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-core-home/rfc/0003/index.html
.
What is the status of the RFC?
Here is the log that I created with my logging example:
!SESSION May 31, 2002 11:14:26.614
---------------------------------------------
java.fullversion=J2RE 1.3.1 IBM Windows 32 build cn131-20020403 (JIT
enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -dev bin -data D:\F1\eclipse\runtime-workspace -os
win32 -ws win32 -arch x86
!ENTRY org.eclipse.core.resources 1 4 May 31, 2002 11:14:26.614
!MESSAGE Reference action not found: additions
!ENTRY com.ibm.wsweducation.example.serviceableplugin 4 4 May 31, 2002
11:14:37.190
!MESSAGE Test Error Message
!STACK 1
com.ibm.wsweducation.example.serviceableplugin.ServiceException: Test Error
Message
at
com.ibm.wsweducation.example.serviceableplugin.ErrorDialogAction.throwIt(ErrorDialogAction.java:70)
at
com.ibm.wsweducation.example.serviceableplugin.ErrorDialogAction.run(ErrorDialogAction.java:34)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:210)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:171)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)
at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled
Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1527)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1289)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1085)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:739)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432)
at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)
!ENTRY com.ibm.wsweducation.example.serviceableplugin 4 0 May 31, 2002
11:14:37.220
!MESSAGE Test Error Message
!SUBENTRY 1 com.ibm.wsweducation.example.serviceableplugin 4 0 May 31, 2002
11:14:37.220
!MESSAGE Plug-in Provider:.... IBM
!SUBENTRY 1 com.ibm.wsweducation.example.serviceableplugin 4 0 May 31, 2002
11:14:37.220
!MESSAGE Plug-in Name:....... Serviceable Plugin
!SUBENTRY 1 com.ibm.wsweducation.example.serviceableplugin 4 0 May 31, 2002
11:14:37.220
!MESSAGE Plug-in ID:...........
com.ibm.wsweducation.example.serviceableplugin
!SUBENTRY 1 com.ibm.wsweducation.example.serviceableplugin 4 0 May 31, 2002
11:14:37.220
!MESSAGE Version:.............. 1.0.0
!SUBENTRY 1 com.ibm.wsweducation.example.serviceableplugin 4 4 May 31, 2002
11:14:37.220
!MESSAGE The error was detected in Class:
com.ibm.wsweducation.example.serviceableplugin.ErrorDialogAction
!STACK 1
com.ibm.wsweducation.example.serviceableplugin.ServiceException: Test Error
Message
at
com.ibm.wsweducation.example.serviceableplugin.ErrorDialogAction.throwIt(ErrorDialogAction.java:70)
at
com.ibm.wsweducation.example.serviceableplugin.ErrorDialogAction.run(ErrorDialogAction.java:34)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:210)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:171)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)
at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled
Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1527)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1289)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1085)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:739)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432)
at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)
!ENTRY com.ibm.wsweducation.example.serviceableplugin 4 0 May 31, 2002
11:14:37.240
!MESSAGE Test Error Message
Thanks,
Scott Fairbrother
WebSphere Studio Workbench ISV Enablement OTI - RTP
B218/503
IBM Corp
4205 South Miami Blvd.
RTP, NC 27709
Voice : 919-254-1488
TL : 8-444-1488
FAX : (919) 000-000
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-core-dev