Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313738 - fails testing because plug-in has "jar" in its name
Summary: fails testing because plug-in has "jar" in its name
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Dash Athena (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 306365
  Show dependency tree
 
Reported: 2010-05-20 10:36 EDT by Nicolas Bros CLA
Modified: 2012-01-30 11:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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$/