ant build and cvs [message #1401204] |
Tue, 15 July 2014 09:28 |
john a 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
|
|
|
Powered by
FUDForum. Page generated in 0.05216 seconds