Re: Subclipse Question [message #57562] |
Thu, 13 December 2007 09:46 |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On Dec 13, 10:05 am, David Fanning <n...@dfanning.com> wrote:
> Subversion Users,
>
> I can see how to create an IDL project by checking the
> files out of my Subversion repository with Subclipse,
> but I cannot see how to add files in other projects
> to the repository from within IDL.
>
> In other words, once I have files in an IDL project,
> that I checked out of my repository, I can see how
> to work with them. But from within IDL I can't see how
> to add a file to the repository. Am I missing something?
> Or is Subclipse, as a Subversion client, not as powerful
> as a client like TortoiseSNV?
The file has to be in a project that Subclipse knows about (so move it
there or create it there in the first place).
Right click on the file to be added. Go to Team > Add to Version
Control (it's the first item in the third "grouping" in the context
menu). Note: it doesn't *really* get added until you do a
"commit" (i.e the repo doesn't know about it until you commit).
Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II
|
|
|
Re: Subclipse Question [message #57563 is a reply to message #57562] |
Thu, 13 December 2007 09:36  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> It is as if Subclipse doesn't know about this file, so
> won't give me the right Team menu, which does have
> an Add to Repository selection. (I see this if I right-click
> on a file that I previously checked out of my repository.)
Of course, I have all the functionality I want with
Subversion and TortoiseSVN. After spending all day
writing a tutorial on installing Subclipse in IDL
to get Subversion control, I'm just wondering if after
I've done all this work, I'm going to end up with the
lamest method. :-(
Cheers,
David
P.S. I will say that TortoiseSVN is about as good a
piece of software as I have worked with in a LONG time!
Simple, intuitive, and does the job every time.
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Subclipse Question [message #57564 is a reply to message #57563] |
Thu, 13 December 2007 09:25  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Chris Torrence writes:
> I haven't played much with Subclipse, but in Perforce, you do the
> following:
>
> 1. Create the new file within your IDL project, either by creating a
> new file, or dragging one in from somewhere else.
>
> 2. Right click on the file, go under Team->Open for Add.
Yes, this is what I expected too. But when I right-click
on the file, I don't have this option under Team. I only
have Apply Patch and Show Local History.
It is as if Subclipse doesn't know about this file, so
won't give me the right Team menu, which does have
an Add to Repository selection. (I see this if I right-click
on a file that I previously checked out of my repository.)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Subclipse Question [message #57565 is a reply to message #57564] |
Thu, 13 December 2007 09:14  |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
I haven't played much with Subclipse, but in Perforce, you do the
following:
1. Create the new file within your IDL project, either by creating a
new file, or dragging one in from somewhere else.
2. Right click on the file, go under Team->Open for Add.
This should add the file to the current changelist, ready to check in.
To create new subfolders within your IDL Project, just create the
subfolders, copy the files into the subfolders, and then mark the
files as "Open for Add". Perforce will automatically create the
appropriate subfolders within the repository.
-Chris
ITTVIS
|
|
|