Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2006

Tip: Looking for answers? Try searching our database.

how to do cvs check-in check-out using ant.

Thread view: 
vijaygoyal16@gmail.com - 21 Dec 2006 05:05 GMT
Hi, I want to do check-in check-out using ANT.
I have used following commands.

  <target name="checkOutFromCVS" >
       <!--<cvs command="-q diff -u -N" output="patch.txt"/>-->
        <cvs cvsRoot="${cvs.server.root}"
             package="${cvs.server.package}"
             dest="${cvs.server.destination}"
              />
   </target>

   <target name="checkOutFromCVS1" >
       <!--<cvs command="-q diff -u -N" output="patch.txt"/>-->
                <cvs command="update -A -d"/>
   </target>

I am getting following errors:-
checkOutFromCVS:
     [cvs] Caught exception: CreateProcess: cvs
-d:pserver:username@server:path
checkout ${cvs.server.package} error=2

checkOutFromCVS1:
     [cvs] Caught exception: CreateProcess: cvs update -A -d error=2

Can anyone tell me why this error is coming?
Or can anyone provide the correct commands to do cvs check-in check-out
using ANT including ENV. variable.

Thanks in Advance.

Regards
Vijay
Arne Vajhøj - 24 Dec 2006 01:59 GMT
> Hi, I want to do check-in check-out using ANT.
> I have used following commands.
[quoted text clipped - 22 lines]
>
> Can anyone tell me why this error is coming?

Looks to me as if the cvs executable is not in PATH.

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.