-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major
-
Component/s: violations-plugin
-
None
-
Environment:Platform: All, OS: All
For a Maven job type, each module that has the violations plugin enabled, the
output path is very, very long. In fact it exceeds the file system limit of 260
chars.
These paths can not normally, naturally be deleted. Instead, the upper level
directories need to be renamed to a shorter name (I use a single letter) and
directories at the end of the path will magically appear. When you reach the
bottom of the list, then you are able to delete the directories.
Not being able to delete these directories normally, is preventing Hudson from
cleaning itself up.
This is a typical view of the directory structure:
> >>
> >> β β β β βββAAMITools V3 Native Maven
> >> β β β β β βββbuilds
> >> β β β β β β βββ2008-07-02_10-11-19
> >> β β β β β β βββ2008-07-03_13-27-18
> >> β β β β β βββmodules
> >> β β β β β β βββau.com.aami$AAMITools
> >> β β β β β β βββbuilds
> >> β β β β β β βββ2008-05-20_11-00-38
> >> β β β β β β βββ2008-05-21_10-43-27
> >> β β β β β β βββ2008-05-21_10-45-03
> >> +β β β β β β βββ2008-05-26_11-07-13
> >> +β β β β β β βββ2008-05-26_11-30-53
> >> +β β β β β β βββ2008-05-26_11-32-38
> >> +β β β β β β βββ2008-05-27_14-49-25
> >> +β β β β β β βββ2008-05-27_14-51-16
> >> +β β β β β β βββ2008-05-27_15-05-08
> >> +β β β β β β βββ2008-05-27_15-08-52
> >> +β β β β β β βββ2008-05-27_15-14-37
> >> +β β β β β β βββ2008-05-27_15-18-44
> >> +β β β β β β βββ2008-05-28_12-11-24
> >> +β β β β β β βββ2008-06-05_10-02-07
> >> +β β β β β β βββ2008-06-05_10-16-44
> >> +β β β β β β βββ2008-06-05_10-28-00
> >> +β β β β β β βββ2008-06-05_10-46-25
> >> +β β β β β β βββ2008-06-05_11-31-43
> >> +β β β β β β βββ2008-06-05_11-38-53
> >> +β β β β β β βββ2008-06-05_13-10-11
> >> +β β β β β β βββ2008-06-05_14-12-21
> >> +β β β β β β βββ2008-06-10_10-52-03
> >> +β β β β β β βββ2008-06-10_11-02-40
> >> +β β β β β β βββ2008-06-11_12-44-40
> >> +β β β β β β βββ2008-06-11_13-12-44
> >> +β β β β β β βββ2008-06-11_13-25-52
From another example, I've traversed the entire path, to find:
C:\Documents and Settings\APCPG\.hudson\jobs\BFE R3.00
Maven\modules\au.com.aami.bfe$BFECommon\builds\2008-07-10_17-08-44\violations\file\Documents
and Settings\APCPG\.hudson\jobs\BFE R3.00
Maven\workspace\ci_bfe\BFE_Source\BFECommon\src\main\java\au\com
(255 chars long)
I am really curious as to why the violations\file bit contains a reference
back to root (Documents and Settings\APCPG\...)
I am really surprised that the plugin has been able to create the
directories to start with. (Bug in NTFS?)
So it appears that the violations plugin is generating paths that are way too long.
-Chris