Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321900

Summary: xsl test feature includes org.eclipse.test
Product: [WebTools] WTP Source Editing Reporter: David Williams <david_williams>
Component: wst.xslAssignee: Project Inbox <wst.xsl-inbox>
Status: RESOLVED FIXED QA Contact: David Carver <d_a_carver>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description David Williams CLA 2010-08-05 12:38:42 EDT
While getting the Indigo based build running for WTP, the test set up was failing because of this inclusion. In brief, in Indigo, the platform has changed the test framework to be a zipped rep, instead of a zipped "image". So, I was changing our WTP/build scripts to _install_ the test framework, instead of just unzipping it. The install would fail due to 'conflicting dependencies" due to the xsl feature including a different version of org.eclipse.test. 

I removed org.eclipse.test (and the junit ant fragment) from the xsl_test feature to get past this failure. 

If you really need it there, we can investigate further to see why different versions are being "included" but I think it is not a good idea to _include_ org.eclipse.test with our test features. Doing that makes them very tightly tied to exactly that version of the org.eclipse.test bundle which doesn't seem like what we'd want. 

If XSL team needs this plugin added back to test feature, we'll investigate. Otherwise I think we can closed this as fixed. 

Thanks,
Comment 1 David Carver CLA 2010-08-05 13:13:17 EDT
(In reply to comment #0)
> While getting the Indigo based build running for WTP, the test set up was
> failing because of this inclusion. In brief, in Indigo, the platform has
> changed the test framework to be a zipped rep, instead of a zipped "image". So,
> I was changing our WTP/build scripts to _install_ the test framework, instead
> of just unzipping it. The install would fail due to 'conflicting dependencies"
> due to the xsl feature including a different version of org.eclipse.test. 
> 
> I removed org.eclipse.test (and the junit ant fragment) from the xsl_test
> feature to get past this failure. 
> 
> If you really need it there, we can investigate further to see why different
> versions are being "included" but I think it is not a good idea to _include_
> org.eclipse.test with our test features. Doing that makes them very tightly
> tied to exactly that version of the org.eclipse.test bundle which doesn't seem
> like what we'd want. 
> 
> If XSL team needs this plugin added back to test feature, we'll investigate.
> Otherwise I think we can closed this as fixed. 

Athena build required this for CI, but I may switch the wst.xsl build for CI builds over to maven, which would mean that this particular plugin wouldn't be needed as Maven doesn't require it.
Comment 2 David Williams CLA 2010-08-05 13:35:47 EDT
Great. Thanks.