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

Bug 313738

Summary: fails testing because plug-in has "jar" in its name
Product: z_Archived Reporter: Nicolas Bros <nicolas.bros>
Component: Dash AthenaAssignee: Project Inbox <athena.test-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nboldt
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 306365    

Description Nicolas Bros CLA 2010-05-20 10:36:25 EDT
Hi,

I have a plug-in named "org.eclipse.gmt.modisco.jee.ejbjar.discoverer.tests" that Athena fails on when it shouldn't:

     [echo] testPluginName: org.eclipse.gmt.modisco.jee.ejbjar.discoverer.tests
      [for] org.eclipse.gmt.modisco.jee.ejbjar.discoverer.tests: The following error occurred while executing this line:
      [for] /opt/users/hudsonbuild/workspace/cbi-modisco-nightly/build/org.eclipse.dash.common.releng/builder/tests/test.xml:600: ***
      [for] Error in builder/tests/test.xml! 

By looking in the log, I found something suspicious:

[unzip] Expanding: /opt/users/hudsonbuild/workspace/cbi-modisco-nightly/build/N201005200939/eclipse/test.assembly/eclipse/dropins/eclipse/plugins/org.eclipse.gmt.modisco.jee.ejbjar.discoverer.tests_0.9.0.v201005200939.jar into /opt/users/hudsonbuild/workspace/cbi-modisco-nightly/build/N201005200939/eclipse/test.assembly/eclipse/dropins/eclipse/plugins/org.eclipse.gmt.modisco.jee.ej.discoverer.tests_0.9.0.v201005200939

Notice the "jee.ej.discoverer" near the end where it should be "jee.ejbjar.discoverer".

I think the reason is that in:
/org.eclipse.dash.common.releng/builder/tests/customTargets.xml (line 262)
There is a replacement using regular expression ".jar", which matches any string that starts with any character followed by "jar".

Could you please fix this?
Comment 1 Nick Boldt CLA 2010-05-21 23:09:41 EDT
Fixed & rolled out onto build.eclipse.

s/.jar/.jar$/