ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Kaplan <grou...@memelet.com>
Subject Experience report with IvyDE trunk and "Resolve dependencies in workspace"
Date Sun, 24 Aug 2008 21:19:07 GMT

This is really great feature -- when it works. For reasons I can't quite
determine, the behavior is quite flakey. Sometimes the dependent project
will be add to the container, sometimes it will not. (I'm working with only
two projects, so my setup is simple for now.) 

Could be that the exception below is a clue. But it is not always generated.
I can add/remove my project dependency from ivy.xml and get only the info
the message that the deps were resolved (with no change in the classpath
container.) Hopefully I'll figure out the sequence of events that causes the
project to be added (and not added).

----
org.eclipse.core.internal.resources.ResourceException: The resource tree is
locked for modifications.
at
org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:115)
at
org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1747)
at
org.eclipse.core.internal.resources.Resource.deleteMarkers(Resource.java:744)
at
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.setResolveStatus(IvyClasspathContainerConfiguration.java:340)
at
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.setConfStatus(IvyClasspathContainerConfiguration.java:328)
at
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getModuleDescriptor(IvyClasspathContainerConfiguration.java:611)
at
org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.<init>(IvyResolveJob.java:113)
at
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.computeClasspathEntries(IvyClasspathContainer.java:143)
at
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.launchResolve(IvyClasspathContainer.java:168)
at
org.apache.ivyde.eclipse.cpcontainer.IvyClasspathInitializer.initialize(IvyClasspathInitializer.java:71)
at
org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2371)
at
org.eclipse.jdt.internal.core.JavaModelManager$13.run(JavaModelManager.java:2301)
at
org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2315)
at
org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1679)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2554)
at
org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2562)
at
org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1829)
at
org.eclipse.jdt.internal.core.DeltaProcessingState.initializeRoots(DeltaProcessingState.java:229)
at
org.eclipse.jdt.internal.core.DeltaProcessor.processResourceDelta(DeltaProcessor.java:1741)
at
org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:1923)
at
org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:410)
at
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:288)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:282)
at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at
org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313)
at
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1022)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

-- 
View this message in context: http://www.nabble.com/Experience-report-with-IvyDE-trunk-and-%22Resolve-dependencies-in-workspace%22-tp19134941p19134941.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message