ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (IVY-738) Support dynamic revisions with ftp in URLResolver
Date Tue, 11 Mar 2008 11:16:46 GMT

    [ https://issues.apache.org/jira/browse/IVY-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577385#action_12577385
] 

gni edited comment on IVY-738 at 3/11/08 4:14 AM:
--------------------------------------------------------

I've just installed the new unofficial org.apache.ivyde.eclipse_2.0.0.20080310.jar 
After removal of deprecated attributes of settings tag  (checkUpToDate="true" defaultCache="./ivy_cache")
ivyDE works fine with the previous ivy.xml file.

However it's not stable. IvyDE seems to fail to be loaded by Eclipse. Exception at eclipse
startup is :
{code}
java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException
at org.apache.ivy.plugins.resolver.VfsResolver.<init>(VfsResolver.java:34)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.ivy.util.Configurator.addChild(Configurator.java:548)
at org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:482)
at org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:458)
at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:143)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:103)
at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:93)
at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:367)
at org.apache.ivy.Ivy.configure(Ivy.java:413)
at org.apache.ivyde.eclipse.IvyPlugin.getIvy(IvyPlugin.java:368)
at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer$IvyResolveJob.<init>(IvyClasspathContainer.java:115)
at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.computeClasspathEntries(IvyClasspathContainer.java:688)
at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.scheduleRefresh(IvyClasspathContainer.java:714)
at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathInitializer.initialize(IvyClasspathInitializer.java:76)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2218)
at org.eclipse.jdt.internal.core.JavaModelManager$9.run(JavaModelManager.java:2148)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2164)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1544)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1571)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2558)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1848)
at org.eclipse.jdt.internal.core.DeltaProcessingState.initializeRoots(DeltaProcessingState.java:202)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:717)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:785)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4519)
at org.eclipse.jdt.internal.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:69)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2218)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1546)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1571)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2558)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1848)
at org.eclipse.jdt.internal.core.JavaModelManager.determineIfOnClasspath(JavaModelManager.java:904)
at org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:801)
at org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:730)
at org.eclipse.jdt.core.JavaCore.create(JavaCore.java:1456)
at org.eclipse.jdt.ui.StandardJavaElementContentProvider.internalGetParent(StandardJavaElementContentProvider.java:428)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.internalGetParent(PackageExplorerContentProvider.java:362)
at org.eclipse.jdt.ui.StandardJavaElementContentProvider.getParent(StandardJavaElementContentProvider.java:247)
at org.eclipse.jface.viewers.AbstractTreeViewer.getParentElement(AbstractTreeViewer.java:1619)
at org.eclipse.jface.viewers.TreeViewer.getParentElement(TreeViewer.java:594)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1546)
at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2393)
at org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1683)
at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2783)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.setSelectionToWidget(PackageExplorerPart.java:370)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1639)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1095)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.showInput(PackageExplorerPart.java:1169)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.editorActivated(PackageExplorerPart.java:1118)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$1.partActivated(PackageExplorerPart.java:227)
at org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:68)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartActivated(PartListenerList2.java:66)
at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:77)
at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:611)
at org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPage.java:1193)
at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1173)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1349)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1338)
at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1329)
at org.eclipse.ui.internal.WorkbenchPage$15.runWithException(WorkbenchPage.java:3172)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:801)
at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
{code}

      was (Author: gni):
    I've just installed the new unofficial org.apache.ivyde.eclipse_2.0.0.20080310.jar 
After removal of deprecated atrtibutes of settings tag  (checkUpToDate="true" defaultCache="./ivy_cache")
ivyDE works fine with the previous ivy.xml file.

I'm facing a related exception at eclipse startup though
{code}
java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException
at org.apache.ivy.plugins.resolver.VfsResolver.<init>(VfsResolver.java:34)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.ivy.util.Configurator.addChild(Configurator.java:548)
at org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:482)
at org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:458)
at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:143)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:103)
at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:93)
at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:367)
at org.apache.ivy.Ivy.configure(Ivy.java:413)
at org.apache.ivyde.eclipse.IvyPlugin.getIvy(IvyPlugin.java:368)
at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer$IvyResolveJob.<init>(IvyClasspathContainer.java:115)
at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.computeClasspathEntries(IvyClasspathContainer.java:688)
at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.scheduleRefresh(IvyClasspathContainer.java:714)
at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathInitializer.initialize(IvyClasspathInitializer.java:76)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2218)
at org.eclipse.jdt.internal.core.JavaModelManager$9.run(JavaModelManager.java:2148)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2164)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1544)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1571)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2558)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1848)
at org.eclipse.jdt.internal.core.DeltaProcessingState.initializeRoots(DeltaProcessingState.java:202)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:717)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:785)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4519)
at org.eclipse.jdt.internal.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:69)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2218)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1546)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1571)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2558)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1848)
at org.eclipse.jdt.internal.core.JavaModelManager.determineIfOnClasspath(JavaModelManager.java:904)
at org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:801)
at org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:730)
at org.eclipse.jdt.core.JavaCore.create(JavaCore.java:1456)
at org.eclipse.jdt.ui.StandardJavaElementContentProvider.internalGetParent(StandardJavaElementContentProvider.java:428)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.internalGetParent(PackageExplorerContentProvider.java:362)
at org.eclipse.jdt.ui.StandardJavaElementContentProvider.getParent(StandardJavaElementContentProvider.java:247)
at org.eclipse.jface.viewers.AbstractTreeViewer.getParentElement(AbstractTreeViewer.java:1619)
at org.eclipse.jface.viewers.TreeViewer.getParentElement(TreeViewer.java:594)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1546)
at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2393)
at org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1683)
at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2783)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.setSelectionToWidget(PackageExplorerPart.java:370)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1639)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1095)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.showInput(PackageExplorerPart.java:1169)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.editorActivated(PackageExplorerPart.java:1118)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$1.partActivated(PackageExplorerPart.java:227)
at org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:68)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartActivated(PartListenerList2.java:66)
at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:77)
at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:611)
at org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPage.java:1193)
at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1173)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1349)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1338)
at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1329)
at org.eclipse.ui.internal.WorkbenchPage$15.runWithException(WorkbenchPage.java:3172)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:801)
at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
{code}
  
> Support dynamic revisions with ftp in URLResolver
> -------------------------------------------------
>
>                 Key: IVY-738
>                 URL: https://issues.apache.org/jira/browse/IVY-738
>             Project: Ivy
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-beta-1
>         Environment: Eclipse 3.2 and IvyDE 1.2
> Eclipse 3.3 (MyEclipse 6.0.1) and IvyDE 1.3 (org.apache.ivyde.eclipse_1.3.0.20071209120000.jar)
>            Reporter: Guillaume
>         Attachments: ivy-settings-ivyde1_2.xml, ivy-settings-ivyde1_3.xml, ivy.xml, test_ant.txt,
test_ant_debug.txt, test_ivyde.txt
>
>
> Configuration (attachments follow)
> The repository structure is a simple filesystem (on the same machine than Eclipse and
Ant for the test) :
> The folder ftpuser_home\external-lib\junit\junit exists and has two subfolders named
after version numbers :
> 3.8.1 which contains ivy-3.8.1.xml, jars and so on
> 3.8.2 which contains ivy-3.8.2.xml, jars and so on
> User has proper rights to list directory contents which proves to be ok with ant task.
> Using Eclipse 3.3 and IvyDE 1.3 (snapshot build - org.apache.ivyde.eclipse_1.3.0.20071209120000.jar)
:
> JUnit 3.8.+ gets resolved to the latest 3.8.x version available on my repository (3.8.2
in this test) with an ant resolve task. But it isn't resolved at all with IvyDE.
> In ant, the related logs are pretty simple (ant ivy settings are pointing to the same
ivy settings file than ivyde) :
> [ivy:retrieve] found junit#junit;3.8.2 in ftp
> [ivy:retrieve] [3.8.2] junit#junit;3.8.+
> Ivy Console summary :
> {code}
> :::: WARNINGS
>        module not found: junit#junit;3.8.+
>     ==== ftp: tried
>  ftp://********:repo-central@localhost/external-lib/junit/junit/3.8.+/ivy-3.8.+.xml
>  ftp://********:repo-central@localhost/external-lib/junit/junit/[revision]/ivy-[revision].xml
>         ::::::::::::::::::::::::::::::::::::::::::::::
>         ::          UNRESOLVED DEPENDENCIES         ::
>         ::::::::::::::::::::::::::::::::::::::::::::::
>         :: junit#junit;3.8.+: not found
>         :::::::::::::::::::::::::::::::::::::::::::::: 
> {code}
> FTP logs :
> {code}
> (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> Connected, sending welcome
message...
> (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server
version 0.9.24 beta
> (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse
(Tim.Kosse@gmx.de)
> (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/
> (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> USER repo-central
> (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 331 Password required
for repo-central
> (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> PASS ************
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 230 Logged on
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> TYPE I
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 200 Type set to I
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD external-lib
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib"
is current directory.
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD junit
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib/junit"
is current directory.
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD junit
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib/junit/junit"
is current directory.
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD 3.8.+
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 550 CWD failed. "/external-lib/junit/junit/3.8.+":
directory not found.
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD external-lib
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 550 CWD failed. "/external-lib/junit/junit/external-lib":
directory not found.
> (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> Connected, sending welcome
message...
> (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server
version 0.9.24 beta
> (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse
(Tim.Kosse@gmx.de)
> (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/
> (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> USER repo-central
> (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 331 Password required
for repo-central
> (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> PASS ************
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 230 Logged on
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> TYPE I
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 200 Type set to I
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD external-lib
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib"
is current directory.
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD junit
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib/junit"
is current directory.
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> EPSV ALL
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 229 Entering Extended Passive
Mode (|||2324|)
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> EPSV
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 229 Entering Extended Passive
Mode (|||2325|)
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> RETR junit
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 550 File not found
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD external-lib
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 550 CWD failed. "/external-lib/junit/external-lib":
directory not found.
> (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> disconnected.
> (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> disconnected. 
> {code}
> Using Eclipse 3.2 and IvyDE 1.2 :
> If i specify either junit 3.8.1 or 3.8.2, the ivy file and he jar are properly resolved
and retrieved. But when it comes to dynamic revision 3.8.+, it fails :
> {code}
> Could not determine the last modified timestamp of "ftp://*******:repo-central@localhost/external-lib/junit/junit/3.8.+/ivy-3.8.+.xml"
because it does not exist.
>    listing all in ftp://*******:repo-central@localhost/external-lib/junit/junit/[revision]/ivy-[revision].xml
>    using external-lib to list all in ftp://*******:repo-central@localhost/external-lib/junit/junit/
> list called for URIftp://*******:repo-central@localhost/external-lib/junit/junit/
> resourceImpl=ftp://*******:repo-central@localhost/external-lib/junit/junit
> resourceImpl.exists()false
> resourceImpl.getType()imaginary
> FileType.FOLDERfolder
>        found 0 resources
>    found revs: []
>    external-lib: no resource found for [ junit | junit | 3.8.+ ]: pattern=ftp://*******:repo-central@localhost/external-lib/[organisation]/[module]/[revision]/[artifact]-[revision].xml
>    external-lib: no ivy file found for [ junit | junit | 3.8.+ ]
>        tried ftp://*******:repo-central@localhost/external-lib/junit/junit/3.8.+/ivy-3.8.+.xml
>        tried ftp://*******:repo-central@localhost/external-lib/junit/junit/[3.8.+]/ivy-[3.8.+].xml
> WARN:     module not found: [ junit | junit | 3.8.+ ]
> WARN:         external-lib: tried ftp://*******:repo-central@localhost/external-lib/junit/junit/3.8.+/ivy-3.8.+.xml
> WARN:         external-lib: tried ftp://*******:repo-central@localhost/external-lib/junit/junit/[3.8.+]/ivy-[3.8.+].xml
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message