Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Request help checking out PDE source
Request help checking out PDE source [message #37609] Sun, 14 December 2008 03:44 Go to next message
Robert Konigsberg is currently offline Robert KonigsbergFriend
Messages: 5
Registered: July 2009
Junior Member
Hi all,

I'd like to create a patch for a PDE feature enhancement I requested, to
try to take on bug 257949* but am having difficulty checking out the
source from the CVS repository. I _think_ I'm pulling it from the right
place, but whenever I do I wind up with compiler errors.

I am using 3.5M3 so that my development environment has a near up-to-date
set of plug-ins.

For instance, here are the nine errors associated with the downloaded copy
of org.eclipse.pde.core:

SimpleConfiguratorManipulator cannot be resolved to a type P2Utils.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 116
Java Problem
SimpleConfiguratorManipulator cannot be resolved to a type P2Utils.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 116
Java Problem
SimpleConfiguratorManipulator cannot be resolved to a type P2Utils.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 116
Java Problem
SimpleConfiguratorManipulator cannot be resolved to a type P2Utils.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 196
Java Problem
SimpleConfiguratorManipulator cannot be resolved to a type P2Utils.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 196
Java Problem
SimpleConfiguratorManipulator cannot be resolved to a type P2Utils.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 196
Java Problem
The import org.eclipse.equinox.internal.provisional.simpleconfigurator
cannot be resolved P2Utils.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 20 Java
Problem
The method getComplianceOptions() is undefined for the type
IExecutionEnvironment ClasspathComputer.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 226 Java
Problem
The method setLocation(String) in the type BundleInfo is not applicable
for the arguments (URI) P2Utils.java
org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 151 Java
Problem

So, OK, I didn't give quite that easy, but I then had to search the CVS
repository for SimpleConfiguratorManipulator. To make a long story short,
I found some p2 plugins, downloaded them, and my compiler error count
increased. Unsurprisingly, I don't feel comfortable writing an enhancement
when I can't even get the code to compile!

In this case, the pde.core plug-in came from the CVS path
pde/ui/org.eclipse.pde.core

Your expert advice sought. Thanks!

* https://bugs.eclipse.org/bugs/show_bug.cgi?id=257949
Re: Request help checking out PDE source [message #37636 is a reply to message #37609] Sun, 14 December 2008 17:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

Rob, can you try Eclipse 3.5M4 (came out last friday)?

Sometimes, when you checkout things from HEAD in Platform projects like
PDE, you need to get other dependencies that we may use that are
actively being developed.

Hope this helps.

Robert Konigsberg wrote:
> Hi all,
>
> I'd like to create a patch for a PDE feature enhancement I requested, to
> try to take on bug 257949* but am having difficulty checking out the
> source from the CVS repository. I _think_ I'm pulling it from the right
> place, but whenever I do I wind up with compiler errors.
>
> I am using 3.5M3 so that my development environment has a near
> up-to-date set of plug-ins.
>
> For instance, here are the nine errors associated with the downloaded
> copy of org.eclipse.pde.core:
>
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 116 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 116 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 116 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 196 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 196 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 196 Java Problem
> The import org.eclipse.equinox.internal.provisional.simpleconfigurator
> cannot be resolved P2Utils.java
> org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 20
> Java Problem
> The method getComplianceOptions() is undefined for the type
> IExecutionEnvironment ClasspathComputer.java
> org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 226
> Java Problem
> The method setLocation(String) in the type BundleInfo is not applicable
> for the arguments (URI) P2Utils.java
> org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 151
> Java Problem
>
> So, OK, I didn't give quite that easy, but I then had to search the CVS
> repository for SimpleConfiguratorManipulator. To make a long story
> short, I found some p2 plugins, downloaded them, and my compiler error
> count increased. Unsurprisingly, I don't feel comfortable writing an
> enhancement when I can't even get the code to compile!
>
> In this case, the pde.core plug-in came from the CVS path
> pde/ui/org.eclipse.pde.core
>
> Your expert advice sought. Thanks!
>
> * https://bugs.eclipse.org/bugs/show_bug.cgi?id=257949
>
>
Re: Request help checking out PDE source [message #37655 is a reply to message #37609] Sun, 14 December 2008 18:24 Go to previous message
Robert Konigsberg is currently offline Robert KonigsbergFriend
Messages: 5
Registered: July 2009
Junior Member
Update: I was able to get it most of the way by doing this:

1. Installing 3.5M4.
2. Including org.eclipse.test and org.eclipse.test.performance plug-ins
3. Closing org.eclipse.pde.api.tools and o.e.p.api.tools.tests.
3a. I did this because the only error left was related to being inable to
find o.e..jdt.launching.environments.ExecutionEnvironmentDescript ion, and
rather than import all of o.e.jdt, I cut my losses there.

Thanks! Please let me know if you think I am making any mistakes. Also,
thanks to Remy for his persistent help.
Re: Request help checking out PDE source [message #587172 is a reply to message #37609] Sun, 14 December 2008 17:38 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Rob, can you try Eclipse 3.5M4 (came out last friday)?

Sometimes, when you checkout things from HEAD in Platform projects like
PDE, you need to get other dependencies that we may use that are
actively being developed.

Hope this helps.

Robert Konigsberg wrote:
> Hi all,
>
> I'd like to create a patch for a PDE feature enhancement I requested, to
> try to take on bug 257949* but am having difficulty checking out the
> source from the CVS repository. I _think_ I'm pulling it from the right
> place, but whenever I do I wind up with compiler errors.
>
> I am using 3.5M3 so that my development environment has a near
> up-to-date set of plug-ins.
>
> For instance, here are the nine errors associated with the downloaded
> copy of org.eclipse.pde.core:
>
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 116 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 116 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 116 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 196 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 196 Java Problem
> SimpleConfiguratorManipulator cannot be resolved to a type
> P2Utils.java org.eclipse.pde.core/src/org/eclipse/pde/internal/core
> line 196 Java Problem
> The import org.eclipse.equinox.internal.provisional.simpleconfigurator
> cannot be resolved P2Utils.java
> org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 20
> Java Problem
> The method getComplianceOptions() is undefined for the type
> IExecutionEnvironment ClasspathComputer.java
> org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 226
> Java Problem
> The method setLocation(String) in the type BundleInfo is not applicable
> for the arguments (URI) P2Utils.java
> org.eclipse.pde.core/src/org/eclipse/pde/internal/core line 151
> Java Problem
>
> So, OK, I didn't give quite that easy, but I then had to search the CVS
> repository for SimpleConfiguratorManipulator. To make a long story
> short, I found some p2 plugins, downloaded them, and my compiler error
> count increased. Unsurprisingly, I don't feel comfortable writing an
> enhancement when I can't even get the code to compile!
>
> In this case, the pde.core plug-in came from the CVS path
> pde/ui/org.eclipse.pde.core
>
> Your expert advice sought. Thanks!
>
> * https://bugs.eclipse.org/bugs/show_bug.cgi?id=257949
>
>
Re: Request help checking out PDE source [message #587181 is a reply to message #37609] Sun, 14 December 2008 18:24 Go to previous message
Robert Konigsberg is currently offline Robert KonigsbergFriend
Messages: 5
Registered: July 2009
Junior Member
Update: I was able to get it most of the way by doing this:

1. Installing 3.5M4.
2. Including org.eclipse.test and org.eclipse.test.performance plug-ins
3. Closing org.eclipse.pde.api.tools and o.e.p.api.tools.tests.
3a. I did this because the only error left was related to being inable to
find o.e..jdt.launching.environments.ExecutionEnvironmentDescript ion, and
rather than import all of o.e.jdt, I cut my losses there.

Thanks! Please let me know if you think I am making any mistakes. Also,
thanks to Remy for his persistent help.
Previous Topic:Request help checking out PDE source
Next Topic:How to run executable jar via eclipse update manager
Goto Forum:
  


Current Time: Thu Aug 05 20:23:19 GMT 2021

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

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

Back to the top