ClearCase for IntelliJ 5 ?

I'm wondering if there are any plans to update the ClearCase plug for Irida now JB is building release candidates?
The last discussion I recall on this was that the original developer doesn't have time to work on it, especially with all the refactoring going on in the VCS integration. But that must be stable now...

For the last many EAP builds, I found checkin/checkout works ok, mostly, unless you want to check out many files, in which case it insists on prompting you for a comment for each file. But the main problem is that 'Check In Project' doesn't work at all.
Do others see these problems?

评论操作 固定链接

+1
I think it's time to bring it up to date. VCS API suppose to be stable now (we have a RC, aren't we), although quite complicated and completely undocumented 8-(

The problem is, that last published source is one and a half versions behind and original author has been quiet lately.
Jacques, are you still interested?
Vincent, what about you, do you still have those patches for 1.32? I am actually looking at the source code now and volunteering to help.

0
评论操作 固定链接

... and I might be able to help, though I haven't done any plug-in work before.

0
评论操作 固定链接

I'm also in the "not much time available" category right now. What I can
probably do though is package up the source of the current version and
put it on the plugin page.

I didn't want to do that in the past hoping that Jacques would eventually
have time to finish his refactoring and publish the official source.
Unfortunately
it looks like this is not going to happen anytime soon so hopefully Jacques
will not see a problem in the plugin being maintained off what we have.

I'll look into it this weekend.

Vince.



0
评论操作 固定链接

Go ahead Vince.
Anyhow, I am running out of excuse not to do the merge with your version since IDEA 5.0 is going to be released soon!

Jacques

0
评论操作 固定链接

Hi Vincent,

Do you have any news about the new version for 5.0 ?

Gilles

0
评论操作 固定链接

Any luck with updating plugin to support v5?

thanks
Roman


"Simon Springall" <no_mail@jetbrains.com> wrote in message
news:2790697.1121923112742.JavaMail.javamailuser@localhost...

I'm wondering if there are any plans to update the ClearCase plug for

Irida now JB is building release candidates?

The last discussion I recall on this was that the original developer

doesn't have time to work on it, especially with all the refactoring going
on in the VCS integration. But that must be stable now...
>

For the last many EAP builds, I found checkin/checkout works ok, mostly,

unless you want to check out many files, in which case it insists on
prompting you for a comment for each file. But the main problem is that
'Check In Project' doesn't work at all.

Do others see these problems?

>


0
评论操作 固定链接

When trying to check in using Ctrl K, I get the following:

Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(53,38),button=1,modifiers=Button1,clickCount=1]
on ###overrideRedirect###
java.lang.NullPointerException
at
net.sourceforge.transparent.actions.checkin.CheckInProjectDialog.<![CDATA[]]>(CheckInProjectDialog.java:25)
at
net.sourceforge.transparent.actions.checkin.CheckInProjectAction.execute(CheckInProjectAction.java:32)
at
net.sourceforge.transparent.actions.VcsAction.runAction(VcsAction.java:95)
at
net.sourceforge.transparent.actions.VcsAction.actionPerformed(VcsAction.java:82)
at
com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:3)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:8)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:155)
at
com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:154)
at
com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:8)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:65)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:107)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:160)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
评论操作 固定链接

All,

I have found a few minutes to package up the sources and put them on the
wiki. While I was in there I fixed several problems that were happening with
IDEA 5.0.

I've uploaded 1.33.1 to the plugin manager (only for 5.0, builds 3431+). For
some reason though when the plugin manager installs it, the plugin ends up
being in <idea-plugins>/ClearcasePlugin/ClearcasePlugin causing IDEA not to
detect the plugin. If that's the case, just move the plugin one level up
(get rid of the middle 'ClearcasePlugin' directory).

The sources are on the
http://www.intellij.org/twiki/bin/view/Main/ClearcasePlugin wiki page in
ClearcasePlugin-1.33.1-src.zip

Vince.


0
评论操作 固定链接

Thanks Vince.

Did you file a bug for this?

Jacques

0
评论操作 固定链接

Hello Vincent,

VM> I've uploaded 1.33.1 to the plugin manager (only for 5.0, builds
VM> 3431+). For some reason though when the plugin manager installs it,
VM> the plugin ends up being in
VM> <idea-plugins>/ClearcasePlugin/ClearcasePlugin causing IDEA not to
VM> detect the plugin. If that's the case, just move the plugin one
VM> level up (get rid of the middle 'ClearcasePlugin' directory).

Why don't you simply remove the top-level "ClearcasePlugin" directory from
the ZIP archive? This should allow the plugin manager to unpack the plugin
correctly.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
评论操作 固定链接

Hello,

I just downloaded and installed the latest version of the ClearCase
plugin: version 1.33.2

The update process removed the old ClearCasePlugin directory and put all
of the plugin files in the plugins/lib/ directory.

Following the update to 1.33.2, IntelliJ shows that I do NOT have the
ClearCase plugin installed.

Ted

0
评论操作 固定链接

You're welcome, thanks for the plugin :)

I didn't file a bug for the Plugin Manager because ClearcasePlugin was
the only plugin I could see the problem happening with. For example,
unitTest has the same directory structure and installs just fine.

I see you have removed the top level directory from the archive and now
Plugin Manager puts "lib" straight into the plugin directory.. So I'm just
not
quite sure how the PM is supposed to work anymore :)

Vince.


0
评论操作 固定链接

Ted,

try manually recreating the "ClearcasePlugin" directory and moving "lib"
under it. That should make IDEA happy again with the plugin.

The desired end result looks like:
<![CDATA[]]>/ClearcasePlugin/lib/.jar;.dll

Vince.


0
评论操作 固定链接

thanks for updating plugin! (I was about to create my own but now I don't
need to bother)
Just tried and Ctrl-K works again.

p.s.
I noticed that ClearcasePlugin.zip contains only 'lib' directory, which
probably causing all the problems with automatic setup.



"Vincent Mallet" <xmalletva@tripos.com> wrote in message
news:dd88vt$3cp$1@is.intellij.net...

All,

>

I have found a few minutes to package up the sources and put them on the
wiki. While I was in there I fixed several problems that were happening

with

IDEA 5.0.

>

I've uploaded 1.33.1 to the plugin manager (only for 5.0, builds 3431+).

For

some reason though when the plugin manager installs it, the plugin ends up
being in <idea-plugins>/ClearcasePlugin/ClearcasePlugin causing IDEA not

to

detect the plugin. If that's the case, just move the plugin one level up
(get rid of the middle 'ClearcasePlugin' directory).

>

The sources are on the
http://www.intellij.org/twiki/bin/view/Main/ClearcasePlugin wiki page in
ClearcasePlugin-1.33.1-src.zip

>

Vince.

>
>


0
评论操作 固定链接

It is good to have a working Clearcase plugin, but there are still some issues to sort out.
My project includes paths that are outside of the Clearcase root. The 'Commit Project' dialog (Ctrl-K) lists files in those non-Clearcase directories.
I tried adding these directories or even individual files to the 'Exclude from VCS' list in the Version Control Configuration but that had no effect.

Thanks,
-- Bruce

0
评论操作 固定链接

Hello Vincent,

M> I've uploaded 1.33.1 to the plugin manager (only for 5.0, builds
VM> 3431+). For some reason though when the plugin manager installs it,
VM> the plugin ends up being in
VM> <idea-plugins>/ClearcasePlugin/ClearcasePlugin causing IDEA not to
VM> detect the plugin. If that's the case, just move the plugin one
VM> level up (get rid of the middle 'ClearcasePlugin' directory).

Sorry for the confusing advice - the top-level "ClearcasePlugin" directory
in the ZIP file is indeed required, and the middle "ClearcasePlugin" directory
appeared because of a bug in the IDEA plugin installer which will be fixed
in 5.0.1.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
评论操作 固定链接

Bruce,

could you give a brief description of the directory layout of your
project? i.e. how many modules, which modules are under CC,
CC root, module's content roots and path to a file that shows up
as a problem.

Thanks,

Vince.


0
评论操作 固定链接

There are about 20 modules. All of the source files are under CC, except generated files (EJB interfaces and descriptors).

For the most part the modules each have two content roots, one under CC, one not ...
Content root under CC -
T:\vob_name\components\module_name\
src -- java source files
test -- unit tests
Content root not under CC -
c:\dev\components\module_name\generated\
src -- generated source files (EJBs)

When I open the Commit Project dialog, every file under all of the c:\dev content roots shows up along with the modified CC files. (I assume it is every file, but I didn't actually check that closely).

0
评论操作 固定链接

Hey Dmitri,

I uploaded another version with the ClearcasePlugin directory
back in and it seems just fine now with 5.0.1. Thanks!

Vince.


0
评论操作 固定链接

This seems to be partially fixed with ClearcasePlugin version 1.33.3. The Commit Project dialog is now correctly excluding files outside of the CC root. However, the Exclude from VCS option in the Version Control Configurations dialog seems to have no effect.
Note: I don't have any need for the Exclude from VCS option; I only used it to try and work around the other (now fixed) issue.

Thanks,
- Bruce

0
评论操作 固定链接

Hi Dmitry,

actually I lied in my previous reply and I believe 5.0.1 has the same issue
with the plugin. I've entered IDEA-4523 to that effect. One possible cause
for this problem is if the plugin is zipped using IDEA's 'Prepare plugin for
deployment' (more details in jira).

Thanks,

Vince.




0
评论操作 固定链接

Hello Vincent,

VM> actually I lied in my previous reply and I believe 5.0.1 has the
VM> same issue with the plugin. I've entered IDEA-4523 to that effect.
VM> One possible cause for this problem is if the plugin is zipped using
VM> IDEA's 'Prepare plugin for deployment' (more details in jira).

In fact, the fix I mentioned was not included in the build 3448 - it will
be included in the final 5.0.1 build.

Anyway, it looks like the "Prepare plugin for deployment" can indeed be improved
to generate more correct ZIP files, so we'll look into this. Thanks for the
feedback!

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
评论操作 固定链接

Deleting a file from clearcase still does not work. This is the exception i get during project check-in:

No message
java.lang.UnsupportedOperationException
at net.sourceforge.transparent.TransparentOperationProvider.removeFile(TransparentOperationProvider.java:28)
at com.intellij.openapi.vcs.impl.checkin.DeleteFile.perform(DeleteFile.java:15)
at com.intellij.openapi.vcs.impl.checkin.CheckinHandler.a(CheckinHandler.java:27)
at com.intellij.openapi.vcs.impl.checkin.CheckinHandler.a(CheckinHandler.java:6)
at com.intellij.openapi.vcs.impl.checkin.CheckinHandler.access$000(CheckinHandler.java:45)
at com.intellij.openapi.vcs.impl.checkin.CheckinHandler$1.run(CheckinHandler.java:2)
at com.intellij.openapi.vcs.impl.AbstractVcsHelperImpl.runTransactionRunnable(AbstractVcsHelperImpl.java:183)
at com.intellij.openapi.vcs.impl.checkin.CheckinHandler.checkin(CheckinHandler.java:87)
at com.intellij.openapi.vcs.impl.AbstractVcsHelperImpl.a(AbstractVcsHelperImpl.java:156)
at com.intellij.openapi.vcs.impl.AbstractVcsHelperImpl.doCheckinProject(AbstractVcsHelperImpl.java:60)
at net.sourceforge.transparent.actions.checkin.CheckInEnvironment.commit(CheckInEnvironment.java:58)
at com.intellij.openapi.vcs.actions.AbstractCommonCheckinAction$2$1$1.run(AbstractCommonCheckinAction.java:4)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:24)
at com.intellij.openapi.application.impl.ApplicationImpl$1MyThread.run(ApplicationImpl.java:8)


I'm using IDEA 3436 and clearcase plugin 1.33.2

0
评论操作 固定链接

Try 1.35.0, it should work better.

Vince.


0
评论操作 固定链接

Hey Bruce,

The checkin dialog didn't seem to care much about excluded paths. 1.35.0
might be a little better at that.

Vince.


0
评论操作 固定链接

Hi.

I'm using the latest plugin.

When trying to add package to sourcr contronl, i got this error message:
<![CDATA[ N:\Q\wf\core\base\factory\kuku Error: Error: Invoke of: CreateElement Source: ClearCase.Application.1 Description: Can't create directory element because "N:\Q\wf\core\base\factory\kuku" already exists. ]]>

Thanks
Noaz

0
评论操作 固定链接

It would be helpful if you could you give some details about your
configuration:
- is N:\Q\wf\core\base\factory already in CC?
- is N:\Q\wf\core\base\factory\kuku already in CC?
- how did you add the package to CC (through the Commit dialog or
otherwise?)
- were some files added anyways?
- are you using CommandLineClearcase or NativeClearcase?

Thanks,

Vince.


0
评论操作 固定链接

Thanks for the reply:

1. N:\Q\wf\core\base\factory is already in CC
2. I add kuku: select package factory->right click->new->package. In this stage i expected a dialog to ask me 'if to add this directory to CC', but this didn't happen.
3. To add it(kuku) to CC: i selected->right click->add file. and then i got the error.
4. I thought I'm doing it wrong, so i tried again (after deleting kuku. But this time i didn't choose 'add file' but 'commit project' Got the same error.

Please your advice.
Thanks
Boaz

0
评论操作 固定链接

Forgot to mention this:

1. I'm using NewNativeClearCase
2. Not sure if i understood your question: 'kuku' has no files under it when i try to add it to CC or commit project. I can add files under other directories with no problems.

Thanks again
Boaz

0
评论操作 固定链接

Hi,

Try using NativeClearCase, I believe the problem you're seeing
was fixed there.

You're using a dynamic view, right?

Thanks,

Vince.


0

请先登录再写评论。