Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Odd behaviour with CVS

Status
Not open for further replies.

stiley

Programmer
Sep 5, 2006
14
CA
Hi there,
I am not new to ant but have never seen the functionality it is now exhibiting, and I am confused

I have a build file with 3 main targets.

Target 1 functional-test:
Gets all files based on branches from cvs and compiles and composes an EAR and WAR file for deployment as well, zips the sources used to build the distribution files

Target2 UAT
I unzip the sources file created in first target,(functional-test), to a temporary directory, then run ant UAT which
compiles and assembles the EAR and WAR based in the local files. Finally I zip the source used to build the distribution files

Target 3 PROD
I unzip the file created in second target,(user-acceptance), to a temporary directory, then run ant PROD which
compiles and assemble the EAR and WAR, and zip the source used to build the distribution files

The point is that only the first target should ever get anything from CVS, what I am seeing is that when I run the second and third targets I am seeing messages like the following

Buildfile: build.xml
[cvs] cvs server: Updating project_name
[cvs] cvs checkout: move away project_name/.classpath; it is in the way
[cvs] C project_name/.classpath
[cvs] U project_name/.cvsignore
[cvs] cvs checkout: move away project_name/.project; it is in the way
[cvs] C project_name/.project
[cvs] C project_name/build.xml
[cvs] C project_name/hib-plan.xml
[cvs] C project_name/listPeople.war
[cvs] C project_name/web.xml
[cvs] cvs checkout: move away project_name/build.xml; it is in the way
[cvs] cvs checkout: move away project_name/hib-plan.xml; it is in the way
[cvs] cvs checkout: move away project_name/listPeople.war; it is in the way
[cvs] cvs checkout: move away project_name/web.xml; it is in the way



I have double and triple checked that these 2 targets issue NO CVS commands at all, so why the heck is cvs being invoked at all???
 
Nevermind, my mistake, I had an extra command in the target that did the get. Sorry

Sean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top