You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gautham Pamu <ga...@gmail.com> on 2006/03/07 05:46:08 UTC

Simple CVS question: How to add a file to the toplevel cvsroot

Hi Everyone,

I knew this is not the right mailing list for this question but I am posting
here as most users on this mailing
list are familiar with CVS.

I want to have a parent pom.xml file for the all the modules in cvs. So is
it possible to add pom.xml file to the cvsroot

like for example:
CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I add file
to this folder. When I try the CVS add it is giving
this error.

~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add pom.xml
Password:
cvs add: cannot open CVS/Entries for reading: No such file or directory
cvs [add aborted]: no repository

--
-Gautham Pamu

Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by ia...@jpmchase.com.
FWIW, SysInternals' Junction utility allows you to create symbolic links on
Windows:

http://www.sysinternals.com/Utilities/Junction.html


Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078


                                                                                                                                       
                      "Wayne Fay"                                                                                                      
                      <waynefay@gmail.c        To:       "Maven Users List" <us...@maven.apache.org>                                   
                      om>                      cc:                                                                                     
                                               Subject:  Re: Simple CVS question: How to add a file to the toplevel cvsroot            
                      03/07/2006 03:20                                                                                                 
                      PM                                                                                                               
                      Please respond to                                                                                                
                      "Maven Users                                                                                                     
                      List"                                                                                                            
                                                                                                                                       




He probably means symbolic link as in "on unix or linux, ln -s dir1
dir2". Not symbolic links in CVS itself. At least, I don't know of any
symbolic links in CVS!

If you're not working on an operating system that supports symbolic
links, this will be a difficult option to employ. Perhaps you can use
Cygwin and get symlinks, not positive about that!

Wayne


On 3/7/06, Gautham Pamu <ga...@gmail.com> wrote:
>  Thanks for responding to my email. I am more inclined to the second
> option.. Can you tell me how to create these symbollic links, what
command
> should I use to acheive this or Are there any cvs commands to create
> links...
>
>    - Keep the structure and create a new module that contains a parent
POM
> and a list of symbolic links
>     to your actual CVS modules
>
> Thanks
> Gautham Pamu
>
> On 3/7/06, Emmanuel Venisse <em...@venisse.net> wrote:
> >
> > You can't do that.
> >
> > I have two workaround for your problem:
> > - Refactor your cvs modules for having only one cvs modules that
contains
> > all your actual module
> > - Keep the structure and create a new module that contains a parent POM
> > and a list of symbolic links
> > to your actual CVS modules
> >
> > Emmanuel
> >
> > Gautham Pamu a écrit :
> > > Hi Everyone,
> > >
> > > I knew this is not the right mailing list for this question but I am
> > posting
> > > here as most users on this mailing
> > > list are familiar with CVS.
> > >
> > > I want to have a parent pom.xml file for the all the modules in cvs.
So
> > is
> > > it possible to add pom.xml file to the cvsroot
> > >
> > > like for example:
> > > CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I
add
> > file
> > > to this folder. When I try the CVS add it is giving
> > > this error.
> > >
> > > ~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add
> > pom.xml
> > > Password:
> > > cvs add: cannot open CVS/Entries for reading: No such file or
directory
> > > cvs [add aborted]: no repository
> > >
> > > --
> > > -Gautham Pamu
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -Gautham Pamu
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by Wayne Fay <wa...@gmail.com>.
He probably means symbolic link as in "on unix or linux, ln -s dir1
dir2". Not symbolic links in CVS itself. At least, I don't know of any
symbolic links in CVS!

If you're not working on an operating system that supports symbolic
links, this will be a difficult option to employ. Perhaps you can use
Cygwin and get symlinks, not positive about that!

Wayne


On 3/7/06, Gautham Pamu <ga...@gmail.com> wrote:
>  Thanks for responding to my email. I am more inclined to the second
> option.. Can you tell me how to create these symbollic links, what command
> should I use to acheive this or Are there any cvs commands to create
> links...
>
>    - Keep the structure and create a new module that contains a parent POM
> and a list of symbolic links
>     to your actual CVS modules
>
> Thanks
> Gautham Pamu
>
> On 3/7/06, Emmanuel Venisse <em...@venisse.net> wrote:
> >
> > You can't do that.
> >
> > I have two workaround for your problem:
> > - Refactor your cvs modules for having only one cvs modules that contains
> > all your actual module
> > - Keep the structure and create a new module that contains a parent POM
> > and a list of symbolic links
> > to your actual CVS modules
> >
> > Emmanuel
> >
> > Gautham Pamu a écrit :
> > > Hi Everyone,
> > >
> > > I knew this is not the right mailing list for this question but I am
> > posting
> > > here as most users on this mailing
> > > list are familiar with CVS.
> > >
> > > I want to have a parent pom.xml file for the all the modules in cvs. So
> > is
> > > it possible to add pom.xml file to the cvsroot
> > >
> > > like for example:
> > > CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I add
> > file
> > > to this folder. When I try the CVS add it is giving
> > > this error.
> > >
> > > ~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add
> > pom.xml
> > > Password:
> > > cvs add: cannot open CVS/Entries for reading: No such file or directory
> > > cvs [add aborted]: no repository
> > >
> > > --
> > > -Gautham Pamu
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -Gautham Pamu
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by Emmanuel Venisse <em...@venisse.net>.
symbolic links are only on unix/linux.

cvs_root
   CVSROOT
   your_module1
   your_module2

cd cvs_root
mkdir your_new_module    <== add here your pom.xml
ln -s ../your_module1 your_module1
ln -s ../your_module2 your_module2

You have now a new CVS module in cvs that contains a pom.xml and sub_modules in the same CVS module

Emmanuel

Gautham Pamu a écrit :
>  Thanks for responding to my email. I am more inclined to the second
> option.. Can you tell me how to create these symbollic links, what command
> should I use to acheive this or Are there any cvs commands to create
> links...
> 
>     - Keep the structure and create a new module that contains a parent POM
> and a list of symbolic links
>      to your actual CVS modules
> 
> Thanks
> Gautham Pamu
> 
> On 3/7/06, Emmanuel Venisse <em...@venisse.net> wrote:
> 
>>You can't do that.
>>
>>I have two workaround for your problem:
>>- Refactor your cvs modules for having only one cvs modules that contains
>>all your actual module
>>- Keep the structure and create a new module that contains a parent POM
>>and a list of symbolic links
>>to your actual CVS modules
>>
>>Emmanuel
>>
>>Gautham Pamu a écrit :
>>
>>>Hi Everyone,
>>>
>>>I knew this is not the right mailing list for this question but I am
>>
>>posting
>>
>>>here as most users on this mailing
>>>list are familiar with CVS.
>>>
>>>I want to have a parent pom.xml file for the all the modules in cvs. So
>>
>>is
>>
>>>it possible to add pom.xml file to the cvsroot
>>>
>>>like for example:
>>>CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I add
>>
>>file
>>
>>>to this folder. When I try the CVS add it is giving
>>>this error.
>>>
>>>~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add
>>
>>pom.xml
>>
>>>Password:
>>>cvs add: cannot open CVS/Entries for reading: No such file or directory
>>>cvs [add aborted]: no repository
>>>
>>>--
>>>-Gautham Pamu
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 
> 
> --
> -Gautham Pamu
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by Gautham Pamu <ga...@gmail.com>.
Hi Max,

The tried the module alias feature in CVS but that does not meet my current
requirements as I also want pom.xml file at the toplevel which is not
allowed in CVS.

Thanks
Gautham Pamu

On 3/7/06, Max Cooper <ma...@maxcooper.com> wrote:
>
> The CVS modules facility supports features similar to symbolic links:
> http://cvsbook.red-bean.com/cvsbook.html#The%20modules%20File
>
> -Max
>
> On Tue, 2006-03-07 at 14:51 -0600, Gautham Pamu wrote:
> >  I knew about symbolic links on linux/unixs but the server is managed by
> a
> > different team and we don't have permissions
> >  to create those links.. I was able to create them on my local system
> and it
> > works. I doubt the admin team will create these links
> >  for us. Thanks a lot for responing to my question. Since it is
> supported by
> > CVS, I might have to go with first option.
> >
> > Thanks
> > Gautham Pamu
> >
> > On 3/7/06, Mang Jun Lau <Ma...@otpp.com> wrote:
> > >
> > > You can execute:
> > > ln -s path-to-actual-CVS-module
> > >
> > > This will create a symbolic link in a UNIX system.  You're out of luck
> if
> > > your CVS is on Windows.  In your cvsroot, create a new directory (i.e.
> > > module) and place your parent POM in there.  Then symlink all of your
> > > modules in that directory.  When you want to checkout the project, it
> will
> > > follow the symlinks and checkout everything in the proper location.
> > >
> > >
> > > _Mang Lau
> > >
> > >
> > >
> > >
> > >
> > > "Gautham Pamu" <ga...@gmail.com>
> > > 03/07/2006 01:19 PM
> > > Please respond to
> > > "Maven Users List" <us...@maven.apache.org>
> > >
> > >
> > > To
> > > "Maven Users List" <us...@maven.apache.org>
> > > cc
> > >
> > > Subject
> > > Re: Simple CVS question: How to add a file to the toplevel cvsroot
> > >
> > >
> > >
> > >
> > >
> > >
> > > Thanks for responding to my email. I am more inclined to the second
> > > option.. Can you tell me how to create these symbollic links, what
> command
> > > should I use to acheive this or Are there any cvs commands to create
> > > links...
> > >
> > >     - Keep the structure and create a new module that contains a
> parent
> > > POM
> > > and a list of symbolic links
> > >      to your actual CVS modules
> > >
> > > Thanks
> > > Gautham Pamu
> > >
> > > On 3/7/06, Emmanuel Venisse <em...@venisse.net> wrote:
> > > >
> > > > You can't do that.
> > > >
> > > > I have two workaround for your problem:
> > > > - Refactor your cvs modules for having only one cvs modules that
> > > contains
> > > > all your actual module
> > > > - Keep the structure and create a new module that contains a parent
> POM
> > > > and a list of symbolic links
> > > > to your actual CVS modules
> > > >
> > > > Emmanuel
> > > >
> > > > Gautham Pamu a écrit :
> > > > > Hi Everyone,
> > > > >
> > > > > I knew this is not the right mailing list for this question but I
> am
> > > > posting
> > > > > here as most users on this mailing
> > > > > list are familiar with CVS.
> > > > >
> > > > > I want to have a parent pom.xml file for the all the modules in
> cvs.
> > > So
> > > > is
> > > > > it possible to add pom.xml file to the cvsroot
> > > > >
> > > > > like for example:
> > > > > CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do
> I
> > > add
> > > > file
> > > > > to this folder. When I try the CVS add it is giving
> > > > > this error.
> > > > >
> > > > > ~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add
> > > > pom.xml
> > > > > Password:
> > > > > cvs add: cannot open CVS/Entries for reading: No such file or
> > > directory
> > > > > cvs [add aborted]: no repository
> > > > >
> > > > > --
> > > > > -Gautham Pamu
> > > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > -Gautham Pamu
> > >
> > >
> > >
> >
> >
> > --
> > -Gautham Pamu
> --
> Max Cooper <ma...@maxcooper.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
-Gautham Pamu

Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by Max Cooper <ma...@maxcooper.com>.
The CVS modules facility supports features similar to symbolic links:
http://cvsbook.red-bean.com/cvsbook.html#The%20modules%20File

-Max

On Tue, 2006-03-07 at 14:51 -0600, Gautham Pamu wrote:
>  I knew about symbolic links on linux/unixs but the server is managed by a
> different team and we don't have permissions
>  to create those links.. I was able to create them on my local system and it
> works. I doubt the admin team will create these links
>  for us. Thanks a lot for responing to my question. Since it is supported by
> CVS, I might have to go with first option.
> 
> Thanks
> Gautham Pamu
> 
> On 3/7/06, Mang Jun Lau <Ma...@otpp.com> wrote:
> >
> > You can execute:
> > ln -s path-to-actual-CVS-module
> >
> > This will create a symbolic link in a UNIX system.  You're out of luck if
> > your CVS is on Windows.  In your cvsroot, create a new directory (i.e.
> > module) and place your parent POM in there.  Then symlink all of your
> > modules in that directory.  When you want to checkout the project, it will
> > follow the symlinks and checkout everything in the proper location.
> >
> >
> > _Mang Lau
> >
> >
> >
> >
> >
> > "Gautham Pamu" <ga...@gmail.com>
> > 03/07/2006 01:19 PM
> > Please respond to
> > "Maven Users List" <us...@maven.apache.org>
> >
> >
> > To
> > "Maven Users List" <us...@maven.apache.org>
> > cc
> >
> > Subject
> > Re: Simple CVS question: How to add a file to the toplevel cvsroot
> >
> >
> >
> >
> >
> >
> > Thanks for responding to my email. I am more inclined to the second
> > option.. Can you tell me how to create these symbollic links, what command
> > should I use to acheive this or Are there any cvs commands to create
> > links...
> >
> >     - Keep the structure and create a new module that contains a parent
> > POM
> > and a list of symbolic links
> >      to your actual CVS modules
> >
> > Thanks
> > Gautham Pamu
> >
> > On 3/7/06, Emmanuel Venisse <em...@venisse.net> wrote:
> > >
> > > You can't do that.
> > >
> > > I have two workaround for your problem:
> > > - Refactor your cvs modules for having only one cvs modules that
> > contains
> > > all your actual module
> > > - Keep the structure and create a new module that contains a parent POM
> > > and a list of symbolic links
> > > to your actual CVS modules
> > >
> > > Emmanuel
> > >
> > > Gautham Pamu a écrit :
> > > > Hi Everyone,
> > > >
> > > > I knew this is not the right mailing list for this question but I am
> > > posting
> > > > here as most users on this mailing
> > > > list are familiar with CVS.
> > > >
> > > > I want to have a parent pom.xml file for the all the modules in cvs.
> > So
> > > is
> > > > it possible to add pom.xml file to the cvsroot
> > > >
> > > > like for example:
> > > > CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I
> > add
> > > file
> > > > to this folder. When I try the CVS add it is giving
> > > > this error.
> > > >
> > > > ~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add
> > > pom.xml
> > > > Password:
> > > > cvs add: cannot open CVS/Entries for reading: No such file or
> > directory
> > > > cvs [add aborted]: no repository
> > > >
> > > > --
> > > > -Gautham Pamu
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > -Gautham Pamu
> >
> >
> >
> 
> 
> --
> -Gautham Pamu
-- 
Max Cooper <ma...@maxcooper.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by Gautham Pamu <ga...@gmail.com>.
 I knew about symbolic links on linux/unixs but the server is managed by a
different team and we don't have permissions
 to create those links.. I was able to create them on my local system and it
works. I doubt the admin team will create these links
 for us. Thanks a lot for responing to my question. Since it is supported by
CVS, I might have to go with first option.

Thanks
Gautham Pamu

On 3/7/06, Mang Jun Lau <Ma...@otpp.com> wrote:
>
> You can execute:
> ln -s path-to-actual-CVS-module
>
> This will create a symbolic link in a UNIX system.  You're out of luck if
> your CVS is on Windows.  In your cvsroot, create a new directory (i.e.
> module) and place your parent POM in there.  Then symlink all of your
> modules in that directory.  When you want to checkout the project, it will
> follow the symlinks and checkout everything in the proper location.
>
>
> _Mang Lau
>
>
>
>
>
> "Gautham Pamu" <ga...@gmail.com>
> 03/07/2006 01:19 PM
> Please respond to
> "Maven Users List" <us...@maven.apache.org>
>
>
> To
> "Maven Users List" <us...@maven.apache.org>
> cc
>
> Subject
> Re: Simple CVS question: How to add a file to the toplevel cvsroot
>
>
>
>
>
>
> Thanks for responding to my email. I am more inclined to the second
> option.. Can you tell me how to create these symbollic links, what command
> should I use to acheive this or Are there any cvs commands to create
> links...
>
>     - Keep the structure and create a new module that contains a parent
> POM
> and a list of symbolic links
>      to your actual CVS modules
>
> Thanks
> Gautham Pamu
>
> On 3/7/06, Emmanuel Venisse <em...@venisse.net> wrote:
> >
> > You can't do that.
> >
> > I have two workaround for your problem:
> > - Refactor your cvs modules for having only one cvs modules that
> contains
> > all your actual module
> > - Keep the structure and create a new module that contains a parent POM
> > and a list of symbolic links
> > to your actual CVS modules
> >
> > Emmanuel
> >
> > Gautham Pamu a écrit :
> > > Hi Everyone,
> > >
> > > I knew this is not the right mailing list for this question but I am
> > posting
> > > here as most users on this mailing
> > > list are familiar with CVS.
> > >
> > > I want to have a parent pom.xml file for the all the modules in cvs.
> So
> > is
> > > it possible to add pom.xml file to the cvsroot
> > >
> > > like for example:
> > > CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I
> add
> > file
> > > to this folder. When I try the CVS add it is giving
> > > this error.
> > >
> > > ~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add
> > pom.xml
> > > Password:
> > > cvs add: cannot open CVS/Entries for reading: No such file or
> directory
> > > cvs [add aborted]: no repository
> > >
> > > --
> > > -Gautham Pamu
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -Gautham Pamu
>
>
>


--
-Gautham Pamu

Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by Mang Jun Lau <Ma...@otpp.com>.
You can execute:
ln -s path-to-actual-CVS-module

This will create a symbolic link in a UNIX system.  You're out of luck if 
your CVS is on Windows.  In your cvsroot, create a new directory (i.e. 
module) and place your parent POM in there.  Then symlink all of your 
modules in that directory.  When you want to checkout the project, it will 
follow the symlinks and checkout everything in the proper location.


_Mang Lau





"Gautham Pamu" <ga...@gmail.com> 
03/07/2006 01:19 PM
Please respond to
"Maven Users List" <us...@maven.apache.org>


To
"Maven Users List" <us...@maven.apache.org>
cc

Subject
Re: Simple CVS question: How to add a file to the toplevel cvsroot






 Thanks for responding to my email. I am more inclined to the second
option.. Can you tell me how to create these symbollic links, what command
should I use to acheive this or Are there any cvs commands to create
links...

    - Keep the structure and create a new module that contains a parent 
POM
and a list of symbolic links
     to your actual CVS modules

Thanks
Gautham Pamu

On 3/7/06, Emmanuel Venisse <em...@venisse.net> wrote:
>
> You can't do that.
>
> I have two workaround for your problem:
> - Refactor your cvs modules for having only one cvs modules that 
contains
> all your actual module
> - Keep the structure and create a new module that contains a parent POM
> and a list of symbolic links
> to your actual CVS modules
>
> Emmanuel
>
> Gautham Pamu a écrit :
> > Hi Everyone,
> >
> > I knew this is not the right mailing list for this question but I am
> posting
> > here as most users on this mailing
> > list are familiar with CVS.
> >
> > I want to have a parent pom.xml file for the all the modules in cvs. 
So
> is
> > it possible to add pom.xml file to the cvsroot
> >
> > like for example:
> > CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I 
add
> file
> > to this folder. When I try the CVS add it is giving
> > this error.
> >
> > ~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add
> pom.xml
> > Password:
> > cvs add: cannot open CVS/Entries for reading: No such file or 
directory
> > cvs [add aborted]: no repository
> >
> > --
> > -Gautham Pamu
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
-Gautham Pamu


Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by Gautham Pamu <ga...@gmail.com>.
 Thanks for responding to my email. I am more inclined to the second
option.. Can you tell me how to create these symbollic links, what command
should I use to acheive this or Are there any cvs commands to create
links...

    - Keep the structure and create a new module that contains a parent POM
and a list of symbolic links
     to your actual CVS modules

Thanks
Gautham Pamu

On 3/7/06, Emmanuel Venisse <em...@venisse.net> wrote:
>
> You can't do that.
>
> I have two workaround for your problem:
> - Refactor your cvs modules for having only one cvs modules that contains
> all your actual module
> - Keep the structure and create a new module that contains a parent POM
> and a list of symbolic links
> to your actual CVS modules
>
> Emmanuel
>
> Gautham Pamu a écrit :
> > Hi Everyone,
> >
> > I knew this is not the right mailing list for this question but I am
> posting
> > here as most users on this mailing
> > list are familiar with CVS.
> >
> > I want to have a parent pom.xml file for the all the modules in cvs. So
> is
> > it possible to add pom.xml file to the cvsroot
> >
> > like for example:
> > CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I add
> file
> > to this folder. When I try the CVS add it is giving
> > this error.
> >
> > ~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add
> pom.xml
> > Password:
> > cvs add: cannot open CVS/Entries for reading: No such file or directory
> > cvs [add aborted]: no repository
> >
> > --
> > -Gautham Pamu
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
-Gautham Pamu

Re: Simple CVS question: How to add a file to the toplevel cvsroot

Posted by Emmanuel Venisse <em...@venisse.net>.
You can't do that.

I have two workaround for your problem:
- Refactor your cvs modules for having only one cvs modules that contains all your actual module
- Keep the structure and create a new module that contains a parent POM and a list of symbolic links 
to your actual CVS modules

Emmanuel

Gautham Pamu a écrit :
> Hi Everyone,
> 
> I knew this is not the right mailing list for this question but I am posting
> here as most users on this mailing
> list are familiar with CVS.
> 
> I want to have a parent pom.xml file for the all the modules in cvs. So is
> it possible to add pom.xml file to the cvsroot
> 
> like for example:
> CVSROOT is to :ext:userName@hostname:/usr/local/cvsroot so how do I add file
> to this folder. When I try the CVS add it is giving
> this error.
> 
> ~/dev/test> cvs -d :ext:userName@hostName:/usr/local/cvsroot/ add pom.xml
> Password:
> cvs add: cannot open CVS/Entries for reading: No such file or directory
> cvs [add aborted]: no repository
> 
> --
> -Gautham Pamu
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org