Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Critical
-
Resolution: Unresolved
-
Component/s: p4-plugin
-
Labels:None
-
Environment:Windows 2008 Server
-
Similar Issues:
Description
I hit a case where the Perforce "quick clean" option does not remove all of my class files.
This leaves a class file in the /classes output directory, and when rebuilt, blocks the anonymous (MyClass$Anon.class) files from being generated, breaking the build.
I do not see any error messages that indicate the root cause of this issue.
This issues took me hours to track down and verify. If quick-clean had aborted the build when it fails, this would have saved a lot of headache.
Here is failing directory before the clean:
d---- 4/2/2013 3:52 PM firstperson
d---- 4/2/2013 3:52 PM orbit
a-- 4/2/2013 3:52 PM 16553 BasicView.class
a-- 4/2/2013 3:52 PM 4859 BasicViewPropertyLimits.class
a-- 4/2/2013 3:52 PM 2793 ViewElevationAnimator.class
a-- 4/2/2013 3:52 PM 470 ViewModel.class
a-- 4/2/2013 3:52 PM 1237 ViewPropertyAccessor$ElevationAccessor.class
a-- 4/2/2013 3:52 PM 913 ViewPropertyAccessor$EyePositionAccessor.class
a-- 4/2/2013 3:52 PM 876 ViewPropertyAccessor$HeadingAccessor.class
a-- 4/2/2013 3:52 PM 868 ViewPropertyAccessor$PitchAccessor.class
a-- 4/2/2013 3:52 PM 1422 ViewPropertyAccessor.class
a-- 4/2/2013 3:52 PM 826 ViewPropertyLimits.class
a-- 4/2/2013 3:52 PM 1366 ViewUtil$ViewState.class
a-- 4/2/2013 3:52 PM 11575 ViewUtil.class
After the clean I get:
d---- 4/2/2013 4:43 PM firstperson
d---- 4/2/2013 4:43 PM orbit
a-- 4/2/2013 3:52 PM 1422 ViewPropertyAccessor.class
As far as I can tell, there is no reason why this file should not have been removed.
Again, this is working fine for me in production, so I honestly don't know how to debug it.
File a separate ticket for the .p4config issue. It's more complicated than you think, because your .p4config file can actually be named anything you want (as it is configurable by the P4CONFIG environment variable, which the p4 plugin clears when it runs).