[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

RE: [jcvs] Adding a file to a CVS project with jCVS



Unfortunately that's not it.  "/localcvsroot" was just an example.  The
actual
working directory is
c:/usr/local/client/the_client/the_cvs_root

and in fact it happens whenEVER I try to add something in a new directory
anywhere under the local cvs root...

It's quite annoying actually

> -----Original Message-----
> From: Tim Endres [mailto:Tim.Endres@SecureByDesign.com]
> Sent: Friday, March 16, 2001 2:54 PM
> To: Kirk Woerner; jcvs@career.gjt.org
> Subject: RE: [jcvs] Adding a file to a CVS project with jCVS
>
>
> I think you may be experiencing a long lingering bug that has problems
> with adds when the working directory is at the root of the filesystem.
> I beleive that if you checked out your WD to a lower dir, such as to
> "/localcvsroot/wd/", then the add would work.
>
> tim.
>
> > This brings up an interesting problem I've been having.  I'm using
> > jCVS 5.2.2 under Windows ME, Sun JDK 1.3, pserver to a remote Solaris
> > box.  When I am trying to add a new directory tree it is impossible
> > without some wrangling outside the interface.  Lets say the
> > root on my local machine is
> >
> > /localcvsroot
> >
> > and there are files in it.  No say I want to add a subdirectory
> > with files in it.  Now there are two methods to add files via the
> > interface, "Misc->Add File" and "Misc->Add Mutiple".
> >
> > If I use "Misc->Add File" it brings up the regular file chooser
> > listbox starting at /localcvsroot and I can select a file in the
> > new directory.  However, when I do that, I get an error box which
> > says
> >
> > Add Canceled
> > -----------------------------------------
> > The selected files directory
> > {0}
> > is not under the projects root directory
> > /localcvsroot
> > -----------------------------------------
> >
> > Now I know that "Add Multiple" seems to work for new files AND
> > directories (since cvs will just add any new directory that is
> > referenced) but "Add Multiple" works only on the currently
> > selected directory, which since it is new is not visible.
> >
> > The only way I've been able to do this is to manually edit the
> > /localcvsroot/CVS/Entries adding the new directory.  The directory
> > then shows up in the project window.  I then use "Add Multiple" and
> > commit. Since the server has added the directory, the client
> > dutifully adds another line to the Entries file and I must go
> > delete it.
> >
> > I think the real problem is with the "Misc->Add File".  Why
> > does it not know that the new dir is under the project root?
> >
> >
> >
> > > -----Original Message-----
> > > From: Carey, Bill [mailto:bcarey@ameritrade.com]
> > > Sent: Friday, March 16, 2001 12:01 PM
> > > To: 'jcvs@career.gjt.org'
> > > Subject: RE: [jcvs] Adding a file to a CVS project with jCVS
> > >
> > >
> > > Are you sure testadd.ksh exists in a sub directory that has
> itself been
> > > added to the repository BEFORE the attempted procedure.  In
> UNIX terms:
> > > $ mkdir adirectory
> > > $ cvs add adirectory
> > > $ cvs commit adirectory
> > > $ cd adirectory
> > > $ cp /from_somewhere/testadd.ksh testadd.ksh
> > > $ cvs add testadd.ksh
> > > $ cvs commit testadd.ksh
> > >
> > > > -----Original Message-----
> > > > From:	Warren Debban [SMTP:wdebba2@hallmark.com]
> > > > Sent:	Friday, March 16, 2001 12:36 PM
> > > > To:	jcvs@career.gjt.org
> > > > Subject:	[jcvs] Adding a file to a CVS project with jCVS
> > > >
> > > > I recently installed jCVS II Version 5.2.2 on a Solaris 2.6
> workstation.
> > > > It is using the server method to connect to a CVS 1.11
> > > repository running
> > > > on another Solaris 2.6 server.  Everything seems to be working
> > > fine, with
> > > > the exception that I am unable to add a new file to my
> project.  When I
> > > > use
> > > > the "add file" option I receive the message "cvs server:
> nothing known
> > > > about testadd.ksh" where testadd.ksh is the file I am trying to
> > > add.  The
> > > > file is in the working directory, but does not appear in
> the jCVS file
> > > > view
> > > > of that directory.
> > > >
> > > > I also tried using the add multiple files option, but no files were
> > > > displayed in the list box.
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > Warren Debban
> > > > Hallmark.com
> > > > 816-582-3217
> > > >
> > > > --------------------------------------------------------------------
> > > > View List Archive:   <http://www.gjt.org/mlist/jcvs/threads.html>
> > > > Search List Archive: <http://csdl.ics.hawaii.edu:8100/>
> > > > To unsubscribe from this list:
> > > >    <http://www.gjt.org/servlets/MailingLists/UnsubForm.html/jcvs>
> > >
> > > --------------------------------------------------------------------
> > > View List Archive:   <http://www.gjt.org/mlist/jcvs/threads.html>
> > > Search List Archive: <http://csdl.ics.hawaii.edu:8100/>
> > > To unsubscribe from this list:
> > >    <http://www.gjt.org/servlets/MailingLists/UnsubForm.html/jcvs>
> > >
> >
> > --------------------------------------------------------------------
> > View List Archive:   <http://www.gjt.org/mlist/jcvs/threads.html>
> > Search List Archive: <http://csdl.ics.hawaii.edu:8100/>
> > To unsubscribe from this list:
> >    <http://www.gjt.org/servlets/MailingLists/UnsubForm.html/jcvs>
> >
>
>