Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Aggregator fetching from unc path does not work(Buckminster Aggregator)
Aggregator fetching from unc path does not work [message #493642] Tue, 27 October 2009 12:56 Go to next message
David  is currently offline David Friend
Messages: 88
Registered: July 2009
Member
Testing the aggregator to build our internal updatesite.

We have internal plugins that are just hosted on shares with P2 metadata enabled.

I am not able to use unc paths as a location to a mapped repository. I tried file:// and \\ and //../ etc none work, in the end i had to move the files to an webserver and go towards that url, then it worked of course.

any chance unc path lookups will work in the future?


Re: Aggregator fetching from unc path does not work [message #493714 is a reply to message #493642] Tue, 27 October 2009 16:16 Go to previous messageGo to next message
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
I've tried it with my latest version of aggregator and it works fine.

Both //server/sharedname/repofolder and \\server\sharedname\repofolder work fine (they are automatically translated to file://server/sharedname/repofolder).

Is there any message in the error log?

Best regards
Filip

David wrote:
> Testing the aggregator to build our internal updatesite.
>
> We have internal plugins that are just hosted on shares with P2 metadata
> enabled.
>
> I am not able to use unc paths as a location to a mapped repository. I
> tried file:// and \\ and //../ etc none work, in the end i had to move
> the files to an webserver and go towards that url, then it worked of
> course.
>
> any chance unc path lookups will work in the future?
>
>
>
Re: Aggregator fetching from unc path does not work [message #493822 is a reply to message #493642] Wed, 28 October 2009 08:08 Go to previous messageGo to next message
David  is currently offline David Friend
Messages: 88
Registered: July 2009
Member
what version are you using?

i seem to be using:

buckminister aggregator editor 1.0.0.r10553

which is the latest on:

http://download.eclipse.org/tools/buckminster/tools

but using Eclipse 3.5.0 though not latest.

when i try i get ( i just edited the internal url, its a valid url internally):

eclipse.buildId=I20090611-1540
java.version=1.5.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sv_SE
Framework arguments: -pluginCustomization configuration\plugin_customization.ini
Command-line arguments: -os win32 -ws win32 -arch x86 -pluginCustomization configuration\plugin_customization.ini


Warning
Wed Oct 28 09:04:25 CET 2009
An exception was ignored during command execution

java.net.URISyntaxException: Illegal character in path at index 0: \\server.company.se\GRPskv\folder\Vershant\Eclipse\VE_Update _Site_libraries\lib\Galileo_Final_20090707
at java.net.URI$Parser.fail(URI.java:2816)
at java.net.URI$Parser.checkChars(URI.java:2989)
at java.net.URI$Parser.parseHierarchical(URI.java:3073)
at java.net.URI$Parser.parse(URI.java:3031)
at java.net.URI.<init>(URI.java:578)
at org.eclipse.buckminster.aggregator.p2.util.MetadataRepositor yResourceImpl.load(MetadataRepositoryResourceImpl.java:175)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:397)
at org.eclipse.buckminster.aggregator.p2.util.MetadataRepositor yResourceImpl.loadRepository(MetadataRepositoryResourceImpl. java:141)
at org.eclipse.buckminster.aggregator.p2.util.MetadataRepositor yResourceImpl.loadRepository(MetadataRepositoryResourceImpl. java:135)
at org.eclipse.buckminster.aggregator.provider.MappedRepository ItemProvider.onLocationChange(MappedRepositoryItemProvider.j ava:487)
at org.eclipse.buckminster.aggregator.provider.MappedRepository ItemProvider.notifyChanged(MappedRepositoryItemProvider.java :213)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:280)
at org.eclipse.buckminster.aggregator.impl.MappedRepositoryImpl .setLocation(MappedRepositoryImpl.java:708)
at org.eclipse.buckminster.aggregator.impl.MappedRepositoryImpl .eSet(MappedRepositoryImpl.java:354)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec tImpl.java:1073)
at org.eclipse.emf.edit.command.SetCommand.doExecute(SetCommand .java:721)
at org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe cute(AbstractOverrideableCommand.java:131)
at org.eclipse.emf.common.command.BasicCommandStack.execute(Bas icCommandStack.java:84)
at org.eclipse.emf.edit.provider.ItemPropertyDescriptor.setProp ertyValue(ItemPropertyDescriptor.java:1441)
at org.eclipse.emf.edit.ui.provider.PropertySource.setPropertyV alue(PropertySource.java:116)
at org.eclipse.ui.views.properties.PropertySheetEntry.valueChan ged(PropertySheetEntry.java:782)
at org.eclipse.ui.views.properties.PropertySheetEntry.setValue( PropertySheetEntry.java:723)
at org.eclipse.ui.views.properties.PropertySheetEntry.applyEdit orValue(PropertySheetEntry.java:146)
at org.eclipse.ui.views.properties.PropertySheetEntry$1.applyEd itorValue(PropertySheetEntry.java:103)
at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:3 33)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(Ce llEditor.java:331)
at org.eclipse.jface.viewers.CellEditor.focusLost(CellEditor.ja va:716)
at org.eclipse.jface.viewers.TextCellEditor$5.focusLost(TextCel lEditor.java:186)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:137)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java: 2583)
at org.eclipse.swt.widgets.Widget.wmKillFocus(Widget.java:1781)
at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:42 89)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3979 )
at org.eclipse.swt.widgets.Text.windowProc(Text.java:2170)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:231 2)
at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981 )
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 09)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3471)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Re: Aggregator fetching from unc path does not work [message #493848 is a reply to message #493822] Wed, 28 October 2009 09:41 Go to previous message
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
Please update from http://download.eclipse.org/tools/buckminster/tools-3.5 (current version is 1.0.0.r10827).

It should fix your problem. However, there is some more work to do (as the URI format is normalized, a messed up repository view may remain among the repository resources, which in the end should not have any influence on the aggregator functionality though).

Filip


David napsal(a):
> what version are you using?
>
> i seem to be using:
>
> buckminister aggregator editor 1.0.0.r10553
>
> which is the latest on:
>
> http://download.eclipse.org/tools/buckminster/tools
>
> but using Eclipse 3.5.0 though not latest.
>
> when i try i get ( i just edited the internal url, its a valid url
> internally):
>
> eclipse.buildId=I20090611-1540
> java.version=1.5.0_14
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sv_SE
> Framework arguments: -pluginCustomization
> configuration\plugin_customization.ini
> Command-line arguments: -os win32 -ws win32 -arch x86
> -pluginCustomization configuration\plugin_customization.ini
>
>
> Warning
> Wed Oct 28 09:04:25 CET 2009
> An exception was ignored during command execution
>
> java.net.URISyntaxException: Illegal character in path at index 0:
> \\server.company.se\GRPskv\folder\Vershant\Eclipse\VE_Update
> _Site_libraries\lib\Galileo_Final_20090707
> at java.net.URI$Parser.fail(URI.java:2816)
> at java.net.URI$Parser.checkChars(URI.java:2989)
> at java.net.URI$Parser.parseHierarchical(URI.java:3073)
> at java.net.URI$Parser.parse(URI.java:3031)
> at java.net.URI.<init>(URI.java:578)
> at org.eclipse.buckminster.aggregator.p2.util.MetadataRepositor
> yResourceImpl.load(MetadataRepositoryResourceImpl.java:175)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo
> ad(ResourceSetImpl.java:255)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo
> adHelper(ResourceSetImpl.java:270)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou
> rce(ResourceSetImpl.java:397)
> at org.eclipse.buckminster.aggregator.p2.util.MetadataRepositor
> yResourceImpl.loadRepository(MetadataRepositoryResourceImpl. java:141)
> at org.eclipse.buckminster.aggregator.p2.util.MetadataRepositor
> yResourceImpl.loadRepository(MetadataRepositoryResourceImpl. java:135)
> at org.eclipse.buckminster.aggregator.provider.MappedRepository
> ItemProvider.onLocationChange(MappedRepositoryItemProvider.j ava:487)
> at org.eclipse.buckminster.aggregator.provider.MappedRepository
> ItemProvider.notifyChanged(MappedRepositoryItemProvider.java :213)
> at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify
> (BasicNotifierImpl.java:280)
> at org.eclipse.buckminster.aggregator.impl.MappedRepositoryImpl
> .setLocation(MappedRepositoryImpl.java:708)
> at org.eclipse.buckminster.aggregator.impl.MappedRepositoryImpl
> .eSet(MappedRepositoryImpl.java:354)
> at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec
> tImpl.java:1073)
> at org.eclipse.emf.edit.command.SetCommand.doExecute(SetCommand
> .java:721)
> at org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe
> cute(AbstractOverrideableCommand.java:131)
> at org.eclipse.emf.common.command.BasicCommandStack.execute(Bas
> icCommandStack.java:84)
> at org.eclipse.emf.edit.provider.ItemPropertyDescriptor.setProp
> ertyValue(ItemPropertyDescriptor.java:1441)
> at org.eclipse.emf.edit.ui.provider.PropertySource.setPropertyV
> alue(PropertySource.java:116)
> at org.eclipse.ui.views.properties.PropertySheetEntry.valueChan
> ged(PropertySheetEntry.java:782)
> at org.eclipse.ui.views.properties.PropertySheetEntry.setValue(
> PropertySheetEntry.java:723)
> at org.eclipse.ui.views.properties.PropertySheetEntry.applyEdit
> orValue(PropertySheetEntry.java:146)
> at org.eclipse.ui.views.properties.PropertySheetEntry$1.applyEd
> itorValue(PropertySheetEntry.java:103)
> at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:3 33)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.runtime.Platform.run(Platform.java:888)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
> at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(Ce
> llEditor.java:331)
> at org.eclipse.jface.viewers.CellEditor.focusLost(CellEditor.ja
> va:716)
> at org.eclipse.jface.viewers.TextCellEditor$5.focusLost(TextCel
> lEditor.java:186)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe
> ner.java:137)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
> at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java: 2583)
> at org.eclipse.swt.widgets.Widget.wmKillFocus(Widget.java:1781)
> at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:42 89)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3979 )
> at org.eclipse.swt.widgets.Text.windowProc(Text.java:2170)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:231 2)
> at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
> at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981 )
> at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 09)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3471)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav
> a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault
> (Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work
> bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j
> ava:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start
> (IDEApplication.java:113)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.java:194)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Previous Topic:New Buckminster Build - when?
Next Topic:Aggregator chooses lowest version if selected by category
Goto Forum:
  


Current Time: Thu Apr 25 09:21:11 GMT 2024

Powered by FUDForum. Page generated in 0.03140 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top