Multiproject:site-deploy copying files twice
--------------------------------------------

         Key: MPMULTIPROJECT-53
         URL: http://jira.codehaus.org/browse/MPMULTIPROJECT-53
     Project: maven-multiproject-plugin
        Type: Bug
    Versions: 1.4.1    
 Environment: Maven 1.1 beta1, Win 2K
    Reporter: Jeff Jensen
 Assigned to: Brett Porter 


After the Checkstyle run, seemingly as part of "building reactor projects", it 
copies some files for each subproject, which is unexpected to me.  While this 
can seem trivial, the file copy time is half the build time:

--------------------------------------------------------------------
[snip]

    [echo] Generating the Checkstyle...
checkstyle:init:

checkstyle:report:
checkstyle:run:
    [echo] Using 
file:C:/devroot/healthmatch/Development/healthmatchmaven/../healthmatchbatch
/src/conf/checkstyle/checkstyle.xml for checkstyle ...
    [echo] Now building reactor projects: [HealthMatch, HealthMatch Batch]
    [copy] Copying 11550 files to 
C:\devroot\healthmatch\builds\healthmatchmultiproject\docs\multiproject\heal
thmatch
    [copy] Copying 225 files to 
C:\devroot\healthmatch\builds\healthmatchmultiproject\docs\multiproject\heal
thmatchbatch
multiproject:projects-init:

multiproject:site-init:

[snip]
--------------------------------------------------------------------


Then, when everything is all done, the site:fsdeploy does the copy, as expected 
(and deleting all the previously copied files first!):

--------------------------------------------------------------------
[snip]

site:init:

site:local-deploy-init:
    [echo]
      site clean = true
      siteDirectory = c:/devroot/healthmatch/sites/healthmatchmultiproject


site:fsdeploy:
    [echo] Cleaning destination first
    [delete] Deleting directory 
C:\devroot\healthmatch\sites\healthmatchmultiproject
    [mkdir] Created dir: C:\devroot\healthmatch\sites\healthmatchmultiproject
    [copy] Copying 15835 files to 
C:\devroot\healthmatch\sites\healthmatchmultiproject

BUILD SUCCESSFUL

[snip]
--------------------------------------------------------------------


In this build process, the file copy time takes a very long time with almost 
16,000 files!


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to