Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » ant build and cvs(CVS does not make module visible to eclipse)
ant build and cvs [message #1401204] Tue, 15 July 2014 09:28
john a is currently offline john aFriend
Messages: 1
Registered: July 2014
Location: UK
Junior Member
Hi,

I am using a simple ant script to try to checkout a project with a particular CVS tag into an eclipse workspace. I can see the file in the file system but just not in the eclipse workspace.

I have google searched and have seen an option of opening the eclipse workspace and then manually importing the project. I have also seen the RAD importProject task but I'm not using RAD. I have also seen an option of having to use a gradle task to make the projects visible in eclipse.

My ant build file is as below:

<project name="Automated CVS checkout" basedir="." default="checkout">
   <property name="user" value="username:password@domain"/>
   <property name="module" value="projectName"/>
   <property name="cvsroot" value=":pserver:${user}:2401:/cvs/myrepo"/>
   <property name="extract.dir" value="C:\Testing\eclipse-ant\workspacetestscript"/>
   <property name="cvs.stream" value="cvs_tag_20140601"/>
   <property name="log.filename" value="./cvsextract"/>
 
   <target name="checkout">
      <cvs cvsroot="${cvsroot}" cvsrsh="ssh" dest="${extract.dir}" command="checkout -d ${module} -P -r ${cvs.stream} fullPathNameInCVSRepo" output="${log.filename}m.log" quiet="true"/>
   </target>
</project>


Is it at all possible to make cvs projects visible in eclipse by using an ant script or does it need manual intervention or other tools (RAD, Gradle)?

Thanks
Previous Topic:Luna GUI missing dialog controls and borders
Next Topic:Eclipse on 64-bit Windows 7
Goto Forum:
  


Current Time: Fri Apr 19 11:44:42 GMT 2024

Powered by FUDForum. Page generated in 0.05216 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top