Perforce does not have a rename operation so according to Perforce Technical
Support (not
verified yet), the refactoring should be handled as follow:

1. Check out the original file
2. Perform refactoring (class rename)
3. Inform Perforce about the new file and its history relation to the old
file ('p4 integrate -v').
4. Delete the old file.

An open API (either Java or External Tools style) will allow to adapt to any
version
control system.

Tal


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, October 23, 2001 12:24 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-features] Please add a support or API for Perforce
>
>
> This is the same for usage with ClearCase,
>
> An easy refactoring like moving a class comes down in 3 actions
>
> 1.Checkout the necessary files that need to be modified
> 2.Perform refactoring
> 3.Copy the files back to their orginal spot
> 4.Perform a move in clearcase to the correct spot
> 5.Checkin everything
>
> Greetings
>
> Jan
>
> -----Original Message-----
> From: Tal Dayan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 22, 2001 23:02
> To: [EMAIL PROTECTED]
> Subject: [Eap-features] Please add a support or API for Perforce
>
>
> Please add a support for Perforce or a general API that will
> allow others to
> add
> support for Perforce and other version control systems..
>
> Some of IDEA refactoring features such as class rename or move are very
> difficult to use
> without a better support since Perforce need to be informed manually that
> the actions
>
>
> new class is actually a new version of the old one ('p4
> integrate' command)
> (a
> simple delete and add file will break the history relation between the
> files).
>
> The general API can be a Java API with a user provided implementation or
> similar
> to the exiting External Tools facility where a user provided program is
> called
> with the necessary information about the operation done by IDEA. For
> example, the class
> rename will call something like
>
> 'myCommand classRename aa/bb/cc.java aa/bb/dd.java'
>
> or something along these lines.
>
> Thanks,
>
> Tal
>
>
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-features
>
>
> Visit us at http://www.clearstream.com
>
> IMPORTANT MESSAGE
>
> Internet communications are not secure and therefore Clearstream
> International does not
> accept legal responsibility for the contents of this message.
>
> The information contained in this e-mail is confidential and may
> be legally privileged. It is
> intended solely for the addressee. If you are not the intended
> recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken
> in reliance on it, is
> prohibited and may be unlawful. Any views expressed in this
> e-mail are those of the
> individual sender, except where the sender specifically states
> them to be the views of
> Clearstream International or of any of its affiliates or subsidiaries.
>
> END OF DISCLAIMER
>
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-features


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to