appfuse:full-source goal removes empty folders, such as .svn/tmp. Some (many?) svn clients fail when the tmp folder is missing.
Scenario:
- check project into svn
- run appfuse:full-source
- notice that empty subfolders under .svn/ are missing
Cause:
A folder outside the old package is only created in the work folder if it contains one or more files, so the work folder will not contain empty folders.
Fix:
Retain empty folders, see attachment for suggestion
Side effect:
If the new package name is not 'org.*', then a number of empty org packages will be created
Description
appfuse:full-source goal removes empty folders, such as .svn/tmp. Some (many?) svn clients fail when the tmp folder is missing.
Scenario:
- check project into svn
- run appfuse:full-source
- notice that empty subfolders under .svn/ are missing
Cause:
A folder outside the old package is only created in the work folder if it contains one or more files, so the work folder will not contain empty folders.
Fix:
Retain empty folders, see attachment for suggestion
Side effect:
If the new package name is not 'org.*', then a number of empty org packages will be created
Romke added a comment - 09/Dec/08 02:46 PM It fixes the problem of the lost empty dirs, but their may be side effects that I haven't thought of.
An alternative approach would be to treat .svn folders differently from the rest, but I think that's less elegant.
3179
by Matt Raible
(1 file)
- APF-1117: Fixed full-source so it doesn't remove .svn/tmp. Thanks to Romke for the patch.
09/Dec/08 02:54 PM (20 months, 12 days ago)
APF-1117: Fixed full-source so it doesn't remove .svn/tmp. Thanks to Romke for the patch.