Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Can't Compile PDE - thousands of errors(What am I doing wrong?)
Can't Compile PDE - thousands of errors [message #500790] Sat, 28 November 2009 18:36 Go to next message
mac  is currently offline mac Friend
Messages: 19
Registered: November 2009
Junior Member
I downloaded PDE.UI from CVS.
But there are thousands of compiler errors.
For example:
"Collector cannot be resolved to a type", even though the required class is in a jar that is on the BUILD PATH.
HELP!
Very cordially,
Mac

This Collector class is referenced in IUBundleContainer.java, but there is no IMPORT for the containing package = org.eclipse.equinox.internal.provisional.p2.query.
Should I just add an import?
and then goto work on the remaining 2,445 errors and warning?
Re: Can't Compile PDE - thousands of errors [message #500792 is a reply to message #500790] Sat, 28 November 2009 18:57 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
mac wrote:
> I downloaded PDE.UI from CVS.
> But there are thousands of compiler errors.
> For example:
> "Collector cannot be resolved to a type", even though the required class
> is in a jar that is on the BUILD PATH.
> HELP!
> Very cordially,
> Mac
>
> This Collector class is referenced in IUBundleContainer.java, but there
> is no IMPORT for the containing package =
> org.eclipse.equinox.internal.provisional.p2.query.
> Should I just add an import?
> and then goto work on the remaining 2,445 errors and warning?
>

Ensure your Target platform points to latest nightly build. You may download the build from
http://download.eclipse.org/eclipse/downloads/

--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
Re: Can't Compile PDE - thousands of errors [message #500816 is a reply to message #500792] Sun, 29 November 2009 09:25 Go to previous messageGo to next message
mac  is currently offline mac Friend
Messages: 19
Registered: November 2009
Junior Member
Is it possible to work with a stable, fixed set of source code for PDE without chasing the nightly build?
Cordially,
Mac

[Updated on: Sun, 29 November 2009 09:26]

Report message to a moderator

Re: Can't Compile PDE - thousands of errors [message #500818 is a reply to message #500816] Sun, 29 November 2009 10:10 Go to previous messageGo to next message
mac  is currently offline mac Friend
Messages: 19
Registered: November 2009
Junior Member
Duh...
Never mind.
I finally figured out that I couldn't start with the Java developer Eclipse and add on PDE.

Needed to start with RCP/PDE.
So got the last release 20090920-1017.
Apologies ...
Mac
Compiling core now with only ~100 warnings.
Re: Can't Compile PDE - thousands of errors [message #500844 is a reply to message #500818] Sun, 29 November 2009 14:45 Go to previous messageGo to next message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
mac wrote:
> Duh...
> Never mind.
> I finally figured out that I couldn't start with the Java developer
> Eclipse and add on PDE.
>
> Needed to start with RCP/PDE.
> So got the last release 20090920-1017.
> Apologies ...
> Mac
> Compiling core now with only ~100 warnings.

Ah, sorry for the troubles. The Equinox p2 team is currently making p2
API and this is causing PDE to catch up in HEAD.

Cheers,

~ Chris
Re: Can't Compile PDE - thousands of errors [message #500846 is a reply to message #500816] Sun, 29 November 2009 16:23 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
mac wrote:
> Is it possible to wokr with a stable, fixed set of source code for PDE
> without chasing the nightly build?
> Cordially,
> Mac
>

You need to fetch the build only when you synchronize your workspace with CVS. I would do this
exercise weekly with Integration Builds. (p2 site for I-Builds
http://download.eclipse.org/eclipse/updates/3.6-I-builds )

--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
Re: Can't Compile PDE - thousands of errors [message #500854 is a reply to message #500790] Sun, 29 November 2009 17:45 Go to previous messageGo to next message
mac  is currently offline mac Friend
Messages: 19
Registered: November 2009
Junior Member
OK - many thanks!
I'm starting to get a little bit of a feel for the environment.
I'll start going through the code in some detail now.
Very cordially,
Mac
Re: Can't Compile PDE - thousands of errors [message #500869 is a reply to message #500846] Sun, 29 November 2009 23:09 Go to previous messageGo to next message
mac  is currently offline mac Friend
Messages: 19
Registered: November 2009
Junior Member
Ankur,
I tried that link
http://download.eclipse.org/eclipse/updates/3.6-I-builds

but I got :

Access Forbidden
The file permissions are either wrong, or there is no default index file for this directory.

Please consider filing a bug against the project to let them know.
Re: Can't Compile PDE - thousands of errors [message #603687 is a reply to message #500792] Sun, 29 November 2009 09:25 Go to previous messageGo to next message
mac  is currently offline mac Friend
Messages: 19
Registered: November 2009
Junior Member
Is it possible to wokr with a stable, fixed set of source code for PDE without chasing the nightly build?
Cordially,
Mac
Re: Can't Compile PDE - thousands of errors [message #603691 is a reply to message #603687] Sun, 29 November 2009 10:10 Go to previous messageGo to next message
mac  is currently offline mac Friend
Messages: 19
Registered: November 2009
Junior Member
Duh...
Never mind.
I finally figured out that I couldn't start with the Java developer Eclipse and add on PDE.

Needed to start with RCP/PDE.
So got the last release 20090920-1017.
Apologies ...
Mac
Compiling core now with only ~100 warnings.
Re: Can't Compile PDE - thousands of errors [message #603695 is a reply to message #603691] Sun, 29 November 2009 14:45 Go to previous messageGo to next message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
mac wrote:
> Duh...
> Never mind.
> I finally figured out that I couldn't start with the Java developer
> Eclipse and add on PDE.
>
> Needed to start with RCP/PDE.
> So got the last release 20090920-1017.
> Apologies ...
> Mac
> Compiling core now with only ~100 warnings.

Ah, sorry for the troubles. The Equinox p2 team is currently making p2
API and this is causing PDE to catch up in HEAD.

Cheers,

~ Chris
Re: Can't Compile PDE - thousands of errors [message #603698 is a reply to message #603687] Sun, 29 November 2009 16:23 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
mac wrote:
> Is it possible to wokr with a stable, fixed set of source code for PDE
> without chasing the nightly build?
> Cordially,
> Mac
>

You need to fetch the build only when you synchronize your workspace with CVS. I would do this
exercise weekly with Integration Builds. (p2 site for I-Builds
http://download.eclipse.org/eclipse/updates/3.6-I-builds )

--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
Re: Can't Compile PDE - thousands of errors [message #603702 is a reply to message #500846] Sun, 29 November 2009 23:09 Go to previous message
mac  is currently offline mac Friend
Messages: 19
Registered: November 2009
Junior Member
Ankur,
I tried that link
http://download.eclipse.org/eclipse/updates/3.6-I-builds

but I got :

Access Forbidden
The file permissions are either wrong, or there is no default index file for this directory.

Please consider filing a bug against the project to let them know.
Previous Topic:Can't Compile PDE - thousands of errors
Next Topic:I wanted to use a FilteredTree in my outline view.
Goto Forum:
  


Current Time: Sat Aug 08 16:04:51 GMT 2020

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

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

Back to the top