Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 125394 - [109892.7] Examples work for 109892
Summary: [109892.7] Examples work for 109892
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Dave Smith CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on: 125392
Blocks: 109892 127518
  Show dependency tree
 
Reported: 2006-01-26 16:18 EST by Ruth Lee CLA
Modified: 2016-05-05 11:19 EDT (History)
0 users

See Also:


Attachments
Proposed changes to the examples to divide into examples for users & examples for isv (263.82 KB, application/octet-stream)
2006-02-10 15:22 EST, Ruth Lee CLA
no flags Details
Code that shows the new plug-ins for the examples (265.48 KB, application/octet-stream)
2006-02-13 17:43 EST, Ruth Lee CLA
no flags Details
Latest version of proposed examples split (272.17 KB, application/octet-stream)
2006-02-16 18:30 EST, Ruth Lee CLA
no flags Details
The latest samples (272.16 KB, application/octet-stream)
2006-02-16 18:43 EST, Ruth Lee CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruth Lee CLA 2006-01-26 16:18:57 EST
This bugzilla is for the work to implement 109892 for the examples. (Separate examples into examples for users and examples for isv.) 

Assigning this enhancement to the default owner of the platform samples.
Comment 1 Dave Smith CLA 2006-02-01 12:51:46 EST
This should be completed in iteration 1.
Comment 2 Ruth Lee CLA 2006-02-10 15:22:40 EST
Created attachment 34513 [details]
Proposed changes to the examples to divide into examples for users & examples for isv
Comment 3 Ruth Lee CLA 2006-02-10 15:30:09 EST
We have several examples in TPTP. Below is my proposed classification and new plug-in. Harm tells me that even though the examples themselves are not API, the plug-ins that they're contained in cannot be deleted because that would break Update Manager. The old plug-ins will be made blank and the existing features will not change. Instead, a new feature will be created that contains the doc.isv and examples.isv so that a consumer can easily pick up these ISV resources again, but the ISV resources cannot continue to be packaged with the runtime zip because the ISV resources are not translated.

Proposed changes:
Plug-ins that would be made blank (no code, only plugin.xml and plugin.properties if necessary): 
   1. org.eclipse.hyades.trace.sample
   2. org.eclipse.hyades.logging.core.sample.

Example: Analysis Engine Sample			
Currently in plug-in: org.eclipse.hyades.trace.sample		
Classification (user or ISV): ISV				
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: Analyzer Extension Sample
Currently in plug-in:org.eclipse.hyades.trace.sample	
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: Apache Commons Logging Sample
Currently in plug-in:org.eclipse.hyades.logging.core.sample
Classification (user or ISV): user
Proposed new plug-in: org.eclipse.tptp.platform.examples

Example: Apache Log4J Logging Sample
Currently in plug-in:org.eclipse.haydes.logging.core.sample
Classification (user or ISV): user
Proposed new plug-in: org.eclipse.tptp.platform.examples

Example: Column Extension Sample
Currently in plug-in:org.eclipse.hyades.trace.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: Context Language Sample
Currently in plug-in:org.eclipse.hyades.trace.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: EMF Common Base Event v1.0.1 Sample
Currently in plug-in:org.eclipse.hyades.logging.core.sample
Classification (user or ISV): user
Proposed new plug-in: org.eclipse.tptp.platform.examples

Example: Export Viewer Generator Sample
Currently in plug-in:org.eclipse.hyades.trace.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: Filter Type Sample
Currently in plug-in:org.eclipse.hyades.trace.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: JSR-047 Logging Sample
Currently in plug-in:org.eclipse.hyades.logging.core.sample
Classification (user or ISV): user
Proposed new plug-in: org.eclipse.tptp.platform.examples

Example: Log Correlator Sample
Currently in plug-in:org.eclipse.hyades.trace.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: Log Parser Extension Sample
Currently in plug-in:org.eclipse.haydes.trace.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: Log Parser Sample
Currently in plug-in:org.eclipse.hyades.trace.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv

Example: Navigator Extension Sample
Currently in plug-in:org.eclipse.hyades.logging.core.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.platform.examples.isv (Can't be put into the trace.examples.isv because that's in the Monitoring project while this example is in the Platform project.)

Example: Probekit Compile Extension Sample
Currently in plug-in:org.eclipse.hyades.trace.sample
Classification (user or ISV): ISV
Proposed new plug-in: org.eclipse.tptp.trace.examples.isv


Comment 4 Ruth Lee CLA 2006-02-10 16:11:55 EST
After speaking with Valentina, I understand that the Probekit example should be removed, and the attachment has it removed.

The attachment also contains the fix to three examples:
   1. LogAnalyzerProject
      This project couldn't be created due to a null in the WizardNewProjectCreationPage::getLocationPath() method (the locationArea field was null). The fix was to override the method because the locationArea field is initialized in a method that is overriden by the LogAnalyzerSamplePage.
   2. LogParserExtensionSample
      The created example project had compile errors due to missing ICU classes in the classpath. The fix was to update the plugin.xml file to import the com.ibm.icu plug-in.
   3. LogParserProject
      The created example project had compile errors due to missing ICU classes in the classpath. The fix was to update the plugin.xml file to import the com.ibm.icu plug-in.
Comment 5 Ruth Lee CLA 2006-02-13 17:43:14 EST
Created attachment 34625 [details]
Code that shows the new plug-ins for the examples
Comment 6 Ruth Lee CLA 2006-02-16 18:30:24 EST
Created attachment 34885 [details]
Latest version of proposed examples split

As per Paul's comments, the Apache Log Correlation/Analyzer Sample has been reclassified from "ISV" to user. The documentation was moved back into org.eclipse.tptp.monitoring.doc.user and the example was moved into org.eclipse.tptp.monitoring.examples.
Comment 7 Ruth Lee CLA 2006-02-16 18:36:34 EST
Comment on attachment 34885 [details]
Latest version of proposed examples split

I just discovered a bug in the migration...deleting this file for now, will attach a new zip once the bug is fixed.
Comment 8 Ruth Lee CLA 2006-02-16 18:43:37 EST
Created attachment 34886 [details]
The latest samples

The attached zip contains the latest reclassification of the samples with the bug fixed.
Comment 9 Ruth Lee CLA 2006-02-17 17:08:04 EST
Examples checked in with Dave's permission. I think that they've been reviewed by everyone under the sun. ;o)
Comment 10 Paul Slauenwhite CLA 2009-06-30 09:45:18 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 11 Paul Slauenwhite CLA 2009-06-30 09:46:25 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.