Bug 251403 - path length of jdt core tests too long
Summary: path length of jdt core tests too long
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 10:26 EDT by Kim Moir CLA
Modified: 2011-01-25 11:06 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Moir CLA 2008-10-20 10:26:59 EDT
From a build from the weekend

 [exec] checkdir warning:  path too long; truncating
     [exec]                    eclipse/plugins/org.eclipse.sdk.tests.source_3.5.0.N20081018-2000/src/org.eclipse.jdt.core.tests.compiler_3.3.100.N20081018-2000/src/org/eclipse/jdt/core/tests/compiler/parser/ExplicitConstructorInvocationCompletionTest.java
     [exec]                 -> C:/buildtest/N20081018-2000/eclipse-testing/test-eclipse/eclipse/plugins/org.eclipse.sdk.tests.source_3.5.0.N20081018-2000/src/org.eclipse.jdt.core.tests.compiler_3.3.100.N20081018-2000/src/org/eclipse/jdt/core/tests/compiler/parser/ExplicitConstructorInvocat
     [exec] checkdir warning:  path too long; truncating


  [exec] checkdir warning:  path too long; truncating
     [exec]                    eclipse/plugins/org.eclipse.sdk.tests.source_3.5.0.N20081018-2000/src/org.eclipse.jdt.core.tests.performance_3.3.100.N20081018-2000/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java
     [exec]                 -> C:/buildtest/N20081018-2000/ecli


The directory on the build machine is 
c:/buildtest/N20071018-2000/eclipse-testing/eclipse/plugins/org.eclipse.sdk.tests.source_3.5.0.N20081018-2000/src/org.eclipse.jdt.core.tests.performance_3.3.100.N20081018-2000/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java

which is 262 characters and the limit on windows is 254. Would it be possible to shorten your class names for these test suites?


There are more classes with this same issue.  See
http://download.eclipse.org/eclipse/downloads/drops/N20081017-2000/testresults/consolelogs/win32-6.0_consolelog.txt
Comment 1 Frederic Fusier CLA 2008-10-22 05:48:07 EDT
Kim,

It looks like it's the directory path which is too long here:
c:/buildtest/N20071018-2000/eclipse-testing/eclipse/plugins/org.eclipse.sdk.tests.source_3.5.0.N20081018-2000/src/org.eclipse.jdt.core.tests.performance_3.3.100.N20081018-2000
is 175 characters long!

Reducing it would definitely solve all the problems you got...
Comment 2 Philipe Mulet CLA 2008-12-09 11:18:35 EST
Feels to me something which should be addressed in the script as well. Given Frederic helping releng, it feels like sthg he could help with, and reassign to the releng component ?
Comment 3 Frederic Fusier CLA 2009-06-23 04:52:24 EDT
Kim,

Did you still get this issue?
If so, is there still anything I can do to help here?
Comment 4 Kim Moir CLA 2009-06-23 08:59:23 EDT
I think this can be closed.
Comment 5 Olivier Thomann CLA 2011-01-25 11:06:58 EST
Verified.