I would like that too. An option would be even better :)
I have changed NativeClearCase.java before (see below) but now the .java files is not in the .jar file anymore. public void checkOut(File file) { String comment = "transparent checkout of " + file.getPath(); System.out.println(comment); // checkStatus(Clearcase.checkout(file.getPath(), comment, false, true)); checkStatus(Clearcase.checkout(file.getPath(), comment, true, true)); }
This may just be a issue with the Clearcase plugin, or it may apply to the whole VCS API, but it appears that the info about what is cheked in and out is only retained within a single session of IDEA.
If I checkout a file I can then press Control-K to check in the project. Very cool. However if I exit IDEA and re-launch it, then there is no longer any way from within IDEA to find the check outs and I have to go back the external tools to manage my checkouts.
It should keep track of the modified files and offer to check them in even across session. However IDEA is smart enough to discard trivial changes (adding space after the end of a line,...) and optimize away the check in. If you did not change the file, you must have run into this.
The implementatin is sweet. Thank you so much. Having been an avid CVS user, it was heartbreaking to have to switch over to ClearCase, but your plugin ( native mode ) just made it so much smoother. So, thanks for the very useful plugin.
A quick question: How do I enter the checkin comments?
I really don't think so, but I'll check. The last time it happened I had half a dozen files that I'd checked out in IDEA and changed that IDEA couldn't find after a restart.
It should keep track of the modified files and offer to check them in even across session. However IDEA is smart enough to discard trivial changes (adding space
after
the end of a line,...) and optimize away the check in. If you did not
I do not have access to a linux box so I only test windows platform. However the sources are available at http://sourceforge.net/projects/transparent/ Send me patches if you want fixes to be integrated.
Thanks very much for posting this. I'm new to Idea, and I need to show it using clearcase to make it viable. Unfortunatley, ccjni.dll causes an exception when I try to check-out. My clearcase installation works from the command line without problems.
would it help to post the whole error log? ClearCase 3.21, Idea build #648, Windows NT4, sp6, build 1381.
thanks An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x117BF7E0 Function=[Unknown.] Library=D:\idea\plugins\ccjni.dll
NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions.
Current Java thread: at net.sourceforge.eclipseccase.jni.Clearcase.initialize(Native Method) at net.sourceforge.eclipseccase.jni.Clearcase.(Clearcase.java:128)
at net.sourceforge.transparent.NativeClearCase.]]>(NativeClearCase.java:11) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
Nope no can do. You have to turn it on. However I am working on some big projects (5K controlled elements) and I did not see any problem with LVCS. Initial cache creation can take as much as 5mn on a 1.2Ghz 512MB computer but once it is done, startup is 30s, very much in line with other IDEs. I just advise you to reduce the days that LVCS keep history.
Mike I assume that the versions that are needed for VCS plugins would be kept even though it is past the duration of history (I do not check in the project for 5 days and I have set to key the history for 3 days). Am I true here?
I do not have access to a linux box so I only test windows platform. However the sources are available at http://sourceforge.net/projects/transparent/ Send me patches if you want fixes to be integrated.
I might be off today, but that code seems a bit dated and won't compilr under 648 (Example: com.intellij.openapi.vcs.CheckinProjectPanel)
if I select "clearcase about" to display the version number I get the following stack dump in the idea console: java.io.IOException at com.intellij.openapi.vfs.b.b.bg.createChildData(bg.java:47) at net.sourceforge.transparent.actions.AboutAction$1.run(AboutAction.java:32) at com.intellij.openapi.application.b.e.runWriteAction(e.java:31) at net.sourceforge.transparent.actions.AboutAction.runAction(AboutAction.java:2 9) at net.sourceforge.transparent.actions.BasicAction.actionPerformed(BasicAction. java:38) at com.intellij.openapi.actionSystem.b.k.actionPerformed(k.java:1) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at com.intellij.openapi.actionSystem.b.ba.fireActionPerformed(ba.java) at com.intellij.ui.b.a.n.doClick(n.java:247) at com.intellij.ui.b.a.n.access$300(n.java:252) at com.intellij.ui.b.a.o.mouseReleased(o.java:1) at java.awt.Component.processMouseEvent(Component.java:5093) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3598) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at com.intellij.ide.q.a(q.java:71) at com.intellij.ide.q.dispatchEvent(q.java:41) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja va:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java :150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) "Jacques Morel" <jacmorel@yahoo.com> wrote in message news:amufb5$b1a$1@is.intellij.net...
Mike I assume that the versions that are needed for VCS plugins would be kept even though it is past the duration of history (I do not check in the project for 5 days and I have set to key the history for 3 days). Am I true here?
If you are referring build #648 and higher, than you are.
It works quite fine, thank you.
Is it possible to configure the plugin, so that the checkout is node
RESERVED instead of UNRESERVED?
Thanks
Claude
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:am98sk$qmr$1@is.intellij.net...
>
>
>
I would like that too. An option would be even better :)
I have changed NativeClearCase.java before (see below) but now the .java files is not in the .jar file anymore.
public void checkOut(File file) {
String comment = "transparent checkout of " + file.getPath();
System.out.println(comment);
// checkStatus(Clearcase.checkout(file.getPath(), comment, false, true));
checkStatus(Clearcase.checkout(file.getPath(), comment, true, true));
}
Michael Bertelsen
SPSS Inc.
"Claude Leuchter" <claude.leuchter@swisslife.ch> wrote in message news:ama3gf$1p4$1@is.intellij.net...
This may just be a issue with the Clearcase plugin, or it may apply to the
whole VCS API, but it appears that the info about what is cheked in and out
is only retained within a single session of IDEA.
If I checkout a file I can then press Control-K to check in the project.
Very cool. However if I exit IDEA and re-launch it, then there is no longer
any way from within IDEA to find the check outs and I have to go back the
external tools to manage my checkouts.
Am I missing something?
Guy
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:am98sk$qmr$1@is.intellij.net...
>
>
>
It should keep track of the modified files and offer to check them in even
across session.
However IDEA is smart enough to discard trivial changes (adding space after
the end of a line,...) and optimize away the check in. If you did not change
the file, you must have run into this.
"Guy Gascoigne - Piggford" <guy@wyrdrune.com> wrote in message
news:amae91$gpk$1@is.intellij.net...
out
>
longer
>
>
>
>
>
Jacques,
The implementatin is sweet. Thank you so much. Having been an avid CVS user,
it was heartbreaking to have to switch over to ClearCase, but your plugin
( native mode ) just made it so much smoother. So, thanks for the very
useful plugin.
A quick question: How do I enter the checkin comments?
arun
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:am98sk$qmr$1@is.intellij.net...
>
>
>
I really don't think so, but I'll check. The last time it happened I had
half a dozen files that I'd checked out in IDEA and changed that IDEA
couldn't find after a restart.
I'll try to check for sure.
Guy
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:amgpj9$tha$1@is.intellij.net...
after
change
>
the
the
>
>
Has anyone tried running this under linux? Without recent source, I am
not sure I want to se if I can sneek by with the plugin as is..
I do not have access to a linux box so I only test windows platform.
However the sources are available at
http://sourceforge.net/projects/transparent/
Send me patches if you want fixes to be integrated.
Jacques
"Mark Lussier" <mark@ironhide.com> wrote in message
news:pan.2002.09.24.20.36.50.19141.14520@ironhide.com...
http://www.intellij.org/twiki/bin/view/Main/ClearcasePlugin.
Thanks very much for posting this. I'm new to Idea, and I need to show it using clearcase to make it viable. Unfortunatley, ccjni.dll causes an exception when I try to check-out. My clearcase installation works from the command line without problems.
would it help to post the whole error log?
ClearCase 3.21, Idea build #648, Windows NT4, sp6, build 1381.
thanks
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x117BF7E0
Function=[Unknown.]
Library=D:\idea\plugins\ccjni.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at net.sourceforge.eclipseccase.jni.Clearcase.initialize(Native Method)
at net.sourceforge.eclipseccase.jni.Clearcase.(Clearcase.java:128) at net.sourceforge.transparent.NativeClearCase.]]>(NativeClearCase.java:11)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
You are quick Jacques!
Thank you!
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:amufb5$b1a$1@is.intellij.net...
>
>
>
Thanks for the quick enhancements!
It is necessary to enable LocalVCS?
I would like to run without it.
Claude
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:amufb5$b1a$1@is.intellij.net...
>
>
>
Nope no can do. You have to turn it on. However I am working on some big
projects (5K controlled elements) and I did not see any problem with LVCS.
Initial cache creation can take as much as 5mn on a 1.2Ghz 512MB computer
but once it is done, startup is 30s, very much in line with other IDEs.
I just advise you to reduce the days that LVCS keep history.
Mike I assume that the versions that are needed for VCS plugins would be
kept even though it is past the duration of history (I do not check in the
project for 5 days and I have set to key the history for 3 days).
Am I true here?
Jacques
"Claude Leuchter" <claude.leuchter@swisslife.ch> wrote in message
news:amvbks$h3d$1@is.intellij.net...
>
>
>
>
http://www.intellij.org/twiki/bin/view/Main/ClearcasePlugin.
I might be off today, but that code seems a bit dated and won't compilr
under 648 (Example: com.intellij.openapi.vcs.CheckinProjectPanel)
M
if I select "clearcase about" to display the version number I get the
following stack dump in the idea console:
java.io.IOException
at com.intellij.openapi.vfs.b.b.bg.createChildData(bg.java:47)
at
net.sourceforge.transparent.actions.AboutAction$1.run(AboutAction.java:32)
at com.intellij.openapi.application.b.e.runWriteAction(e.java:31)
at
net.sourceforge.transparent.actions.AboutAction.runAction(AboutAction.java:2
9)
at
net.sourceforge.transparent.actions.BasicAction.actionPerformed(BasicAction.
java:38)
at com.intellij.openapi.actionSystem.b.k.actionPerformed(k.java:1)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at
com.intellij.openapi.actionSystem.b.ba.fireActionPerformed(ba.java)
at com.intellij.ui.b.a.n.doClick(n.java:247)
at com.intellij.ui.b.a.n.access$300(n.java:252)
at com.intellij.ui.b.a.o.mouseReleased(o.java:1)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at com.intellij.ide.q.a(q.java:71)
at com.intellij.ide.q.dispatchEvent(q.java:41)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:amufb5$b1a$1@is.intellij.net...
>
>
>
Jacques,
If you are referring build #648 and higher, than you are.
--
Best regards,
Mike Aizatsky.
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"