cancel
Showing results for 
Search instead for 
Did you mean: 

classpath read only

Former Member
0 Kudos

hi ,

I import configuration and tried to create project for existing Dc but i got error as classpath is read only. It is also showing name clash against class path file in DTR perspective. even when i tried to sync same DC i got following error . How to resolve this problem???

com.sap.tc.devconf.SyncException: Unkown error during unsync: Cannot delete mount point if there are still files synced: C:\Documents and Settings\Admin\.dtc\0\DCs\asianpaints.com\prp\_comp\gen\default\logs\build.log

at com.sap.tc.devconf.impl.DCProxy.unsync(DCProxy.java:1428)

at com.sap.tc.devconf.impl.DevelopmentConfiguration.unsync(DevelopmentConfiguration.java:4897)

at com.sap.tc.devconf.impl.DevelopmentConfiguration.unsync(DevelopmentConfiguration.java:4889)

at com.sap.tc.devconf.impl.DevelopmentComponentNode.unsync(DevelopmentComponentNode.java:828)

at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction$1.syncSelectedDCs(DcCreateProjectAction.java:440)

at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction$1.execute(DcCreateProjectAction.java:237)

at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)

at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)

at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)

at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction.execute(DcCreateProjectAction.java:483)

at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction.execute(DcCreateProjectAction.java:126)

at com.sap.ide.eclipse.component.provider.actions.dc.DCSyncSourcesAndUsedDCsAction.run(DCSyncSourcesAndUsedDCsAction.java:52)

at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)

at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)

at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)

at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

Caused by: com.tssap.dtr.client.lib.vfs.VfsRuntimeException: Cannot delete mount point if there are still files synced: C:\Documents and Settings\Admin\.dtc\0\DCs\asianpaints.com\prp\_comp\gen\default\logs\build.log

at com.tssap.dtr.client.lib.vfs.config.impl.Client.checkPreconditionsForDeleteMountPoint(Client.java:509)

at com.tssap.dtr.client.lib.vfs.config.impl.Client.internalDeleteMountPointWithoutReleasingManager(Client.java:484)

at com.tssap.dtr.client.lib.vfs.config.impl.Client.internalDeleteMountPoints(Client.java:317)

at com.tssap.dtr.client.lib.vfs.config.impl.Client.deleteMountPoints(Client.java:230)

at com.sap.tc.devconf.impl.VFSHandler.removeMountPoint(VFSHandler.java:1063)

at com.sap.tc.devconf.impl.DevelopmentConfiguration.removeMountPoint(DevelopmentConfiguration.java:2591)

at com.sap.tc.devconf.impl.DCProxy.unsync(DCProxy.java:1330)

... 40 more

Caused by:

VFS version: 7.00 645_VAL_REL 0010 (2007-01-06 16:21:22 CET) com.tssap.dtr.client.lib.vfs.VfsRuntimeException: Cannot delete mount point if there are still files synced: C:\Documents and Settings\Admin\.dtc\0\DCs\asianpaints.com\prp\_comp\gen\default\logs\build.log

at com.tssap.dtr.client.lib.vfs.config.impl.Client.checkPreconditionsForDeleteMountPoint(Client.java:509)

at com.tssap.dtr.client.lib.vfs.config.impl.Client.internalDeleteMountPointWithoutReleasingManager(Client.java:484)

at com.tssap.dtr.client.lib.vfs.config.impl.Client.internalDeleteMountPoints(Client.java:317)

at com.tssap.dtr.client.lib.vfs.config.impl.Client.deleteMountPoints(Client.java:230)

at com.sap.tc.devconf.impl.VFSHandler.removeMountPoint(VFSHandler.java:1063)

at com.sap.tc.devconf.impl.DevelopmentConfiguration.removeMountPoint(DevelopmentConfiguration.java:2591)

at com.sap.tc.devconf.impl.DCProxy.unsync(DCProxy.java:1330)

at com.sap.tc.devconf.impl.DevelopmentConfiguration.unsync(DevelopmentConfiguration.java:4897)

at com.sap.tc.devconf.impl.DevelopmentConfiguration.unsync(DevelopmentConfiguration.java:4889)

at com.sap.tc.devconf.impl.DevelopmentComponentNode.unsync(DevelopmentComponentNode.java:828)

at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction$1.syncSelectedDCs(DcCreateProjectAction.java:440)

at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction$1.execute(DcCreateProjectAction.java:237)

at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)

at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)

at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)

at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction.execute(DcCreateProjectAction.java:483)

at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction.execute(DcCreateProjectAction.java:126)

at com.sap.ide.eclipse.component.provider.actions.dc.DCSyncSourcesAndUsedDCsAction.run(DCSyncSourcesAndUsedDCsAction.java:52)

at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)

at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)

at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)

at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

problem got resolved. u need to remove project file anf setting settings folder from dtr

Former Member
0 Kudos

Someone accidentally checked in the .classpath file. This should not be done when developing with DCs, because they will be generated automatically. Delete the .classpath file from the DTR, that should fix your problem.

Former Member
0 Kudos

i checked in DTR. My webdynpro DC is showing .classpath , .project and .metamodel files which are not there in othe WebDynpro DCs. should i delete that files or only classpath file??? if yes then how to delete that file from DTR???????

Edited by: kavita chavan on Feb 14, 2008 10:05 AM

Former Member
0 Kudos

Delete everything, check your crosspost in the Web Dynpro for Java forum to find out what you should NOT delete. Use the DTR perspective of NWDS to delete these files/folders.

Edited by: Pascal Willemsen on Feb 14, 2008 10:34 AM

Former Member
0 Kudos

so i hv to delete .classpath , .metamodel and .project files from DTR perspective and thn move that activity to production server??? correct me if i am wrong.

Former Member
0 Kudos

Yes, but there might be more files/folders that have been checked-in incorrectly. Do you have any gen* folders in the DTR? They should not be there either.

Former Member
0 Kudos

Hi Pascal ,

I tried from inctive DCs in DTR perspective to remove but delete option in disabled.

Former Member
0 Kudos

You need to create a new DTR client in the DTR perspective and use that one. DTR clients generated during Development Configuration imports have filters applied to them that limit the functionality.