Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 95529 invoked from network); 21 Oct 2008 07:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 07:46:05 -0000 Received: (qmail 2560 invoked by uid 500); 21 Oct 2008 07:46:07 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 2506 invoked by uid 500); 21 Oct 2008 07:46:07 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 2497 invoked by uid 99); 21 Oct 2008 07:46:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 00:46:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 07:45:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7D4FC234C21E for ; Tue, 21 Oct 2008 00:45:44 -0700 (PDT) Message-ID: <1112965707.1224575144508.JavaMail.jira@brutus> Date: Tue, 21 Oct 2008 00:45:44 -0700 (PDT) From: =?utf-8?Q?Nicolas_Lalev=C3=A9e_=28JIRA=29?= To: notifications@ant.apache.org Subject: [jira] Commented: (IVYDE-127) IvyDE crashes if you try to use Eclipse variables in configuration In-Reply-To: <2097843894.1224412364238.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVYDE-127?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12641= 300#action_12641300 ]=20 Nicolas Lalev=C3=A9e commented on IVYDE-127: --------------------------------------- IvyDE was very sensitive to incorrect path or not supported scheme, but it = has been fixed in trunk while working on IVYDE-78. Then about the support of {{${workspace_loc:...}}, would IVYDE-94 fill your= need ? > IvyDE crashes if you try to use Eclipse variables in configuration > ------------------------------------------------------------------ > > Key: IVYDE-127 > URL: https://issues.apache.org/jira/browse/IVYDE-127 > Project: IvyDE > Issue Type: Bug > Components: classpath container > Affects Versions: 2.0.0.alpha1 > Environment: Eclipse Ganymede > Reporter: Sakari Maaranen > > I tried to use Eclipse-style variable ${workspace_loc:/path/to/ivysetting= s.xml} in IvyDE project specific configuration. > This crashes IvyDE and I cannot open the project specific IvyDE classpath= container settings anymore. When I click on the "Edit..."-button for ivy.x= ml in the project build path properties, nothing happens. > As an improvement, it would be nice to have support for variables in IvyD= E configurations, just like the Eclipse Ant integration has. > As a bug, IvyDE should not crash like this, if you give an invalid config= uration. > In Eclipse workspace .metadata/.log there is an exception: > (Anonymized text has been replaced with ##.) > !ENTRY org.apache.ivyde.eclipse 4 0 2008-10-19 13:10:36.812 > !MESSAGE The creation of the job failed > !STACK 0 > java.lang.RuntimeException: java.net.MalformedURLException: no protocol: = ${workspace_loc:/######-platform/#####-ivysettings.xml} > =09at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfigura= tion.getInheritedIvySettingsPath(IvyClasspathContainerConfiguration.java:26= 9) > =09at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.computeC= lasspathEntries(IvyClasspathContainer.java:185) > =09at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.schedule= Refresh(IvyClasspathContainer.java:227) > =09at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathInitializer.initia= lize(IvyClasspathInitializer.java:71) > =09at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(= JavaModelManager.java:2371) > =09at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContaine= r(JavaModelManager.java:1684) > =09at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2= 554) > =09at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.finish(Ivyd= eContainerPage.java:165) > =09at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWi= zard.performFinish(ClasspathContainerWizard.java:94) > =09at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.ja= va:742) > =09at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.ja= va:373) > =09at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) > =09at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.jav= a:228) > =09at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > =09at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) > =09at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823= ) > =09at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) > =09at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) > =09at org.eclipse.jface.window.Window.open(Window.java:801) > =09at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWi= zard.openWizard(ClasspathContainerWizard.java:225) > =09at org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.configureContainer= Entry(BuildPathDialogAccess.java:247) > =09at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPag= e.openContainerSelectionDialog(LibrariesWorkbookPage.java:870) > =09at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPag= e.editElementEntry(LibrariesWorkbookPage.java:553) > =09at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPag= e.editEntry(LibrariesWorkbookPage.java:474) > =09at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPag= e.libaryPageCustomButtonPressed(LibrariesWorkbookPage.java:270) > =09at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPag= e.access$0(LibrariesWorkbookPage.java:248) > =09at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPag= e$LibrariesAdapter.customButtonPressed(LibrariesWorkbookPage.java:197) > =09at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogFiel= d.buttonPressed(TreeListDialogField.java:168) > =09at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogFiel= d.doButtonSelected(TreeListDialogField.java:386) > =09at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogFiel= d.access$2(TreeListDialogField.java:382) > =09at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogFiel= d$2.widgetSelected(TreeListDialogField.java:347) > =09at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.jav= a:228) > =09at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > =09at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) > =09at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823= ) > =09at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) > =09at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) > =09at org.eclipse.jface.window.Window.open(Window.java:801) > =09at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogActio= n.java:157) > =09at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) > =09at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelecti= on(ActionContributionItem.java:583) > =09at org.eclipse.jface.action.ActionContributionItem.access$2(ActionCont= ributionItem.java:500) > =09at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Actio= nContributionItem.java:411) > =09at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > =09at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) > =09at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823= ) > =09at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) > =09at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) > =09at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) > =09at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) > =09at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) > =09at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.= java:288) > =09at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.j= ava:488) > =09at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149= ) > =09at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApp= lication.java:113) > =09at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHan= dle.java:193) > =09at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApp= lication(EclipseAppLauncher.java:110) > =09at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(= EclipseAppLauncher.java:79) > =09at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.= java:386) > =09at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.= java:179) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > =09at java.lang.reflect.Method.invoke(Unknown Source) > =09at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) > =09at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) > =09at org.eclipse.equinox.launcher.Main.run(Main.java:1236) > Caused by: java.net.MalformedURLException: no protocol: ${workspace_loc:/= #######-platform/#####-ivysettings.xml} > =09at java.net.URL.(Unknown Source) > =09at java.net.URL.(Unknown Source) > =09at java.net.URL.(Unknown Source) > =09at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfigura= tion.getInheritedIvySettingsPath(IvyClasspathContainerConfiguration.java:26= 7) > =09... 66 more --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.