Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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







Back to the top