Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334640 - Virgo test runs fail on windows due to too long path for some test resources
Summary: Virgo test runs fail on windows due to too long path for some test resources
Status: CLOSED WONTFIX
Alias: None
Product: Virgo
Classification: RT
Component: unknown (show other bugs)
Version: 3.0.0.M01   Edit
Hardware: PC Windows All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Borislav Kapukaranov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 08:43 EST by Borislav Kapukaranov CLA
Modified: 2011-02-28 10:55 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 Borislav Kapukaranov CLA 2011-01-18 08:43:43 EST
When executing a full build + tests run several tests fail being unable to obtain  their resources. That happens because windows has a limitation on file paths. This can be fixed by reducing the resource names or as an alternative reduce the length of some of Virgo's folders. 
A *must* is at least to provide a meaningful suggestion of what the cause might be when the listFiles() fails.
Here is an example:
org.eclipse.virgo.kernel.deployer.core.DeploymentException: listFiles() failed for file C:\work\src\osgi\virgo.20110109\org.eclipse.virgo.kernel\org.eclipse.virgo.kernel.deployer.test\target\work\org.eclipse.virgo.kernel.deployer_2.2.0.BUILD-20110113194904\staging\global\par\ImportPromotionViaLibrary\1.0.0\ImportPromotionViaLibrary.par\
Comment 1 Borislav Kapukaranov CLA 2011-02-17 03:58:27 EST
Added a section in the "Test" wiki page which helps windows users cope with the Windows FS limitations. I'm closing the enhancement.
Comment 2 Glyn Normington CLA 2011-02-28 10:55:05 EST
Changing to WONTFIX as we didn't fix the problem, although we did document it better.