Hello There
I am trying to use maven to check out my project from cvs but I haven't been
able to get the correct syntax in the pom.xml file in order to do this.
Could anyone point me to the right direction!. Thanks for your help.
Sowmya.R wrote:
>
> Hi Wayne ,
> I got where is that problem .
> When I am doing the direct checkout from the cvs it is creating
> Entries,Root,Repository and Tag documents within CVS folder and that
> particular tag is downloading.
> But when i am doing with maven it is only creating
> the Entries,Root,Repository in CVS folder and by default it is downloading
> the HEAD tag project.It is not creating that Tag document in CVS Folder.
> example I am having Branch and in that i want checkout september_release.
>
> I gave the as follows:
>
> <scm>
> <connection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
> :/istcvs/CVSHOME:xtclients/xtTest</connection>
> <developerConnection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
> :/istcvs/CVSHOME:xtclients/xtTest</developerConnection>
> <tag>september_release</tag>
> <url>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
> :/istcvs/CVSHOME:xtclients/xtTest</url>
> </scm>
>
> And I tried for the different combinations. still it is not working.
> Please help me out of this issue... :(
>
>
> Thanks,
> Sowmya.R
>
>
> On Mon, Mar 24, 2008 at 12:07 PM, Sowmya. R <[EMAIL PROTECTED]>
> wrote:
>
>> Hi Wayne Fay, How to checkout the project through tags name. I am giving
>> the folder modules to checkout ,but i want to checkout the
>> particular tag .example I am having tags like branch ,Version .In version
>> I want to checkout the Regular tag.
>>
>> I am using
>> <scm>
>> <connection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> :/istcvs/CVSHOME:xtclients/xtTest</connection>
>> <developerConnection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> :/istcvs/CVSHOME:xtclients/xtTest</developerConnection>
>> <url>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> :/istcvs/CVSHOME:xtclients/xtTest</url>
>> </scm>
>>
>> Now I am giving like this -
>>
>> <url>scm:cvs:pserver:${myname}:[EMAIL PROTECTED]
>> :/istcvs/CVSHOME:EAI/XT/${mybranch}</url>
>>
>> But if i give the foldername it is working fine , but if i give
>> the particular tag example : xtlients/xttest/Version/PROD_1.1 It is
>> giving
>> the error
>> "cvs checkout: cannot find module"
>>
>> Please let me know what will be the solution for this issue.
>>
>> On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
>>
>> > You could use:
>> > mvn -Dmyname=abc -Dmypass=xyz
>> >
>> > And then in the pom:
>> > ...:pserver:${myname}:[EMAIL PROTECTED]
>> >
>> > But really, this is not how most people use Maven. Instead you should
>> > look at storing these values in settings.xml.
>> >
>> > Wayne
>> >
>> > On 3/19/08, Sowmya. R <[EMAIL PROTECTED]> wrote:
>> > > Hi Wayne,
>> > >
>> > > I am trying to do for CVS not with the remote repository.
>> > > I am using
>> > > <scm>
>> > > <connection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> > :/istcvs/CVSHOME:xtclients/xtTest</connection>
>> > > <developerConnection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> > :/istcvs/CVSHOME:xtclients/xtTest</developerConnection>
>> > > <url>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> > :/istcvs/CVSHOME:xtclients/xtTest</url>
>> > > </scm>
>> > >
>> > > To connect to cvs.But i want to pass username and password to connect
>> > > cvs in command line .Please provide me the information .
>> > >
>> > > Thanks,
>> > > Sowmya.R
>> > >
>> > > On 3/19/08, Wayne Fay <[EMAIL PROTECTED]> wrote:
>> > > > Take a look at the SCM plugin:
>> > > >
>> >
>> http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
>> > > >
>> > > > Wayne
>> > > >
>> > > >
>> > > > On 3/18/08, Sowmya. R <[EMAIL PROTECTED]> wrote:
>> > > > > Hi,
>> > > > >
>> > > > > I am working on the maven tool for my project ,where I have
>> > to
>> > > > > checkout from CVS and I want to ask for CVS user id and password
>> > from
>> > > > > the user while checkingout the project.This process I want to do
>> > > > > dynamically to checkout multiple projects.
>> > > > >
>> > > > > I am new user of maven ,Pleases help me out to resove this
>> > issue.
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Regads,
>> > > > >
>> > > > > Sowmya.R
>> > > > >
>> > > >
>> > > > >
>> > ---------------------------------------------------------------------
>> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > ---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > > >
>> > > >
>> > >
>> > >
>> > > --
>> > > Regads,
>> > >
>> > > Sowmya.R
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>> --
>> Regads,
>>
>> Sowmya.R
>
>
>
>
> --
> Regads,
>
> Sowmya.R
>
>
--
View this message in context:
http://www.nabble.com/How-to-checkout-the-Project-from-cvs-in-Maven2.0.7-without-using-eclipse.-tp16136871s177p16324815.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]