Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6628146
Votes 0
Synopsis Exclude the .hgignore and .hgtags files from the source bundles
Category java:build
Reported Against
Release Fixed 7(b25), 6-open(b03) (Bug ID:2155640)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 09-NOV-2007
Description
The .hgignore files can sometimes creates duplicate files in the source bundles that need to overlay when expanded.

Nightly builds create these kind of errors:

     ## Extracting source bundles on dol-soli586...
     replace ./.hgignore? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
     (assuming [N]one)
     replace deploy/.hgignore? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
     (assuming [N]one)
Posted Date : 2007-11-09 21:37:10.0
Work Around
N/A
Evaluation
Include the files .hgignore and .hgtags as files that should be ignored when bundling source.

diff --git a/make/common/shared/Platform.gmk b/make/common/shared/Platform.gmk
--- a/make/common/shared/Platform.gmk
+++ b/make/common/shared/Platform.gmk
@@ -101,10 +101,10 @@ REQUIRED_FREETYPE_VERSION=2.3.0
 # so they will not be included when copying directory trees
 # or packaging up .jar files, etc.  This applies to all workspaces.
 #
-SCM_DIRs = .hg .svn CVS RCS SCCS Codemgr_wsdata deleted_files
+SCM_DIRs = .hg .svn CVS RCS SCCS Codemgr_wsdata deleted_files .hgignore .hgtags
 # When changing SCM_DIRs also change SCM_DIRS_rexp and SCM_DIRS_prune:
-SCM_DIRS_rexp = ".hg|.svn|CVS|RCS|SCCS|Codemgr_wsdata|deleted_files"
-SCM_DIRS_prune = \( -name .hg -o -name .svn -o -name CVS -o -name RCS -o -name SCCS -o -name Codemgr_wsdata -o -name deleted_files \) -prune
+SCM_DIRS_rexp = ".hg|.svn|CVS|RCS|SCCS|Codemgr_wsdata|deleted_files|.hgignore|.hgtags"
+SCM_DIRS_prune = \( -name .hg -o -name .svn -o -name CVS -o -name RCS -o -name SCCS -o -name Codemgr_wsdata -o -name deleted_files -o -name .hgignore -o -name .hgtags \) -prune
 
 # Don't define this unless it's not defined
 ifndef VARIANT
Posted Date : 2008-03-04 21:50:03.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang