You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jeff mutonho <ej...@yahoo.com> on 2004/09/01 13:07:19 UTC
updating sub projects from cvs
Hi guys
I've defined a preGoal and a goal to update projects from CVS ,clean the projects and do a rebuild as follows:
<preGoal name="support-build-all">
<j:set var="maven.scm.cvs.module">Support_Persistence</j:set>
<attainGoal name="scm:cvs-update-project"/>
<j:set var="maven.scm.cvs.module">Support_Web</j:set>
<attainGoal name="scm:cvs-update-project"/>
</preGoal>
<goal name="support-build-all">
<attainGoal name="multiproject:clean"/>
<!--m:reactor basedir="${basedir}"
includes="*/project.xml"
goals="support-build-all"
banner="Building Project"
ignoreFailures="false"/-->
</goal>
and when I run maven , the cvs-update-project goal seems to run repeatedly , printing out the following(shown below), more than 5 times , then it continues with the next goal of cleaning up
scm:cvs-update-project:
[cvs] ? Support_Persistence/deploycodeWIN.log
[cvs] ? Support_Persistence/deploycodeWIN.txt
[cvs] ? Support_Persistence/directory structure.html
[cvs] ? Support_Persistence/goals.txt
[cvs] ? Support_Persistence/maven.xml
[cvs] ? Support_Persistence/persitence_build.log
[cvs] ? Support_Persistence/project.properties
[cvs] ? Support_Persistence/project.xml
[cvs] ? Support_Persistence/target-classes.txt
[cvs] ? Support_Web/DEBUG.log
[cvs] ? Support_Web/compilerErr.log
[cvs] ? Support_Web/filelist.txt
[cvs] ? Support_Web/maven.xml
[cvs] ? Support_Web/project.properties
[cvs] ? Support_Web/project.xml
[cvs] ? Support_Web/target
[cvs] ? Support_Web/webContent.html
Is this normal?Is this the right way of going about setting up a nightly build ?
jeff mutonho
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
Re: updating sub projects from cvs
Posted by Brett Porter <br...@gmail.com>.
why not just CVS update from the base directory? It's recursive...
- Brett
On Wed, 1 Sep 2004 04:07:19 -0700 (PDT), jeff mutonho
<ej...@yahoo.com> wrote:
> Hi guys
>
> I've defined a preGoal and a goal to update projects from CVS ,clean the projects and do a rebuild as follows:
>
> <preGoal name="support-build-all">
> <j:set var="maven.scm.cvs.module">Support_Persistence</j:set>
> <attainGoal name="scm:cvs-update-project"/>
> <j:set var="maven.scm.cvs.module">Support_Web</j:set>
> <attainGoal name="scm:cvs-update-project"/>
> </preGoal>
>
> <goal name="support-build-all">
> <attainGoal name="multiproject:clean"/>
> <!--m:reactor basedir="${basedir}"
> includes="*/project.xml"
> goals="support-build-all"
> banner="Building Project"
> ignoreFailures="false"/-->
> </goal>
>
> and when I run maven , the cvs-update-project goal seems to run repeatedly , printing out the following(shown below), more than 5 times , then it continues with the next goal of cleaning up
>
> scm:cvs-update-project:
> [cvs] ? Support_Persistence/deploycodeWIN.log
> [cvs] ? Support_Persistence/deploycodeWIN.txt
> [cvs] ? Support_Persistence/directory structure.html
> [cvs] ? Support_Persistence/goals.txt
> [cvs] ? Support_Persistence/maven.xml
> [cvs] ? Support_Persistence/persitence_build.log
> [cvs] ? Support_Persistence/project.properties
> [cvs] ? Support_Persistence/project.xml
> [cvs] ? Support_Persistence/target-classes.txt
> [cvs] ? Support_Web/DEBUG.log
> [cvs] ? Support_Web/compilerErr.log
> [cvs] ? Support_Web/filelist.txt
> [cvs] ? Support_Web/maven.xml
> [cvs] ? Support_Web/project.properties
> [cvs] ? Support_Web/project.xml
> [cvs] ? Support_Web/target
> [cvs] ? Support_Web/webContent.html
>
> Is this normal?Is this the right way of going about setting up a nightly build ?
>
> jeff mutonho
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org