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

Bug 334640

Summary: Virgo test runs fail on windows due to too long path for some test resources
Product: [RT] Virgo Reporter: Borislav Kapukaranov <b.kapukaranov>
Component: unknownAssignee: Borislav Kapukaranov <b.kapukaranov>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: glyn.normington
Version: 3.0.0.M01   
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard:

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.