6 comments
Comment actions Permalink

Is it possible that one of the module roots is outside the perforce's client
root ?

-Dash.

"Kashif Noorani" <no_mail@jetbrains.com> wrote in message
news:6685410.1090980665715.JavaMail.itn@is.intellij.net...

java.io.IOException: error: Path 'C:/dev/projects/test1/...' is not under client's root 'C:\dev\projects\test2'. > at com.perforce.api.P4Process.close(P4Process.java:500) > at com.perforce.api.P4Process.close(P4Process.java:561) > at com.perforce.api.FileEntry.syncWorkspace(FileEntry.java:1165) > at com.devbrat.vcs.perforce.Perforce.syncWorkspace(Perforce.java:275) > at com.devbrat.vcs.perforce.PerforceVcs.sync(PerforceVcs.java:444) > at com.devbrat.vcs.perforce.actions.SyncProjectAction.perform(SyncProjectAction .java:23) > at com.devbrat.vcs.perforce.actions.BasicAction.execute(BasicAction.java:119) > at com.devbrat.vcs.perforce.actions.BasicAction.access$000(BasicAction.java:21) > at com.devbrat.vcs.perforce.actions.BasicAction$1.run(BasicAction.java:52) > at com.intellij.openapi.c.a.c.runTransactionRunnable(c.java:71) > at com.devbrat.vcs.perforce.actions.BasicAction.actionPerformed(BasicAction.jav a:47) > at com.intellij.openapi.h.b.m$b_.actionPerformed(m$b_.java:3) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) > at com.intellij.openapi.h.b.m.fireActionPerformed(m.java:23) > at com.intellij.ui.a.a.h.doClick(h.java:248) > at com.intellij.ui.a.a.h.access$300(h.java:145) > at com.intellij.ui.a.a.h$c_.menuDragMouseReleased(h$c_.java:9) > at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:584) > at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:481) > at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428) > at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java :277) > at com.intellij.ui.a.a.h$a_.mouseReleased(h$a_.java:1) > at java.awt.Component.processMouseEvent(Component.java:5100) > at java.awt.Component.processEvent(Component.java:4897) > at java.awt.Container.processEvent(Container.java:1569) > at java.awt.Component.dispatchEventImpl(Component.java:3615) > at java.awt.Container.dispatchEventImpl(Container.java:1627) > at java.awt.Component.dispatchEvent(Component.java:3477) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) > at java.awt.Container.dispatchEventImpl(Container.java:1613) > at java.awt.Window.dispatchEventImpl(Window.java:1606) > at java.awt.Component.dispatchEvent(Component.java:3477) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) > at com.intellij.ide.t.b(t.java:1) > at com.intellij.ide.t.a(t.java:112) > at com.intellij.ide.t.dispatchEvent(t.java:45) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja va:201) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java :151) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) > > ]]>




0
Comment actions Permalink

Yes, but the one that I am trying to sync is definitely under the client root. I have a module that uses CVS and three others that use Perforce.

0
Comment actions Permalink

In that case don't use "Sync Project" you should go to the module root
directories and just do "Sync"...

I will fix the action later to be more resilient to non-perforce modules.

-Dash.

"Kashif Noorani" <no_mail@jetbrains.com> wrote in message
news:31901491.1091037305927.JavaMail.itn@is.intellij.net...

Yes, but the one that I am trying to sync is definitely under the client

root. I have a module that uses CVS and three others that use Perforce.


0
Comment actions Permalink

Thanks.

I tried out what you proposed but got this:

0
Comment actions Permalink

This is alright... this is the status provider trying to find the status for
the files in websdk. Once it gets that error it will know that its not in p4
and back off. You can ignore this message.

-Dash.

"Kashif Noorani" <no_mail@jetbrains.com> wrote in message
news:3273234.1091050209586.JavaMail.itn@is.intellij.net...

Thanks.

>

I tried out what you proposed but got this:

>

p4 fstat C:/dev/projects/sms/dev/sms/main/java/iwc/config/thirdpartyproperties/%1 > p4 fstat C:/dev/projects/sms/dev/sms/main/java/iwc/src/com/bmc/sms/domain/mo/%1 > p4 fstat C:/dev/projects/sms/dev/sms/main/java/iwc/src/com/bmc/sms/util/%1 > p4 fstat C:/dev/projects/websdk/%1 > > error: Path 'C:/dev/projects/websdk/%1' is not under client's root 'C:\dev\projects\sms'. > > p4 dirs C:/dev/projects/websdk/%1 > error: Path 'C:/dev/projects/websdk/%1/...' is not under client's root 'C:\dev\projects\sms'. > ]]>



0

Please sign in to leave a comment.