Randy, in Debabrata's plugin (Perforce) you depend on VCS infrastructure and that by default defers all change information till the submit action (everything is stored locally in IDEA and P4 has no information what's happening).
So, you may try Submit and see whether the classes appear there.
r.
P.S. You other request - the deletion of files, you probably have to select the files (not directory) and run smart delete. That should work in both plugins.
P.P.S. P4Direct does two things for new files - auto-detects and offers adding the new file, or you can add the file to perforce manually (menu Perforce/Add).
P.P.P.S. And, you are right, the Perforce plugin uses the more advanced API, while P4Direct depends on the most basic API calls and callbacks.
Randolph S Kahle wrote:
I am new to the Perforce Plugin.
How do I add a file to the project?
If I use IDEA's Add File capability, I can create a new Java class, but it is not yet been introduced to Perforce.
Just to add to your replies, all the changes in the PerforcePlugin are applied when you perform "Check in Project" from the Perforce menu ( CTRL-K by default ). Then it will take all the files that are changed, added, deleted etc and applies the changes into perforce.
If you need the changes to appear immediately in perforce then you should use the P4DirectPlugin, that works great.
I do now see what you mean. The file additions are deferred until I submit the whole project to Perforce. That's fine... I just needed to understand the semantics.
I will try the delete operation again and see how that works.
Randy,
in Debabrata's plugin (Perforce) you depend on VCS infrastructure and that by
default defers all change information till the submit action (everything is
stored locally in IDEA and P4 has no information what's happening).
So, you may try Submit and see whether the classes appear there.
r.
P.S. You other request - the deletion of files, you probably have to select the
files (not directory) and run smart delete. That should work in both plugins.
P.P.S. P4Direct does two things for new files - auto-detects and offers adding
the new file, or you can add the file to perforce manually (menu Perforce/Add).
P.P.P.S. And, you are right, the Perforce plugin uses the more advanced API,
while P4Direct depends on the most basic API calls and callbacks.
Randolph S Kahle wrote:
Thanks Richard.
Just to add to your replies, all the changes in the PerforcePlugin are
applied when you perform "Check in Project" from the Perforce menu ( CTRL-K
by default ). Then it will take all the files that are changed, added,
deleted etc and applies the changes into perforce.
If you need the changes to appear immediately in perforce then you should
use the P4DirectPlugin, that works great.
-Dash.
"Richard Nemec" <rndzank@attbi.com> wrote in message
news:c6hc21$esm$1@is.intellij.net...
by
is
>
>
>
select the
plugins.
>
adding
Perforce/Add).
>
API,
>
it is
Richard,
Thanks for the information, it was very helpful.
I do now see what you mean. The file additions are deferred until I submit the whole project to Perforce. That's fine... I just needed to understand the semantics.
I will try the delete operation again and see how that works.
Randy