Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: AW: [cdt-dev] Imported source projects and source lookup don' t workinCDT 3.1 SDK builds

You’d figure… Does this mean that PDE is broken or is there something we need to do to make the manifests come out. It doesn’t look obvious what I need to do in the sourceTemplatePlugin in cdt-feature.

 

Doug Schaefer, QNX Software Systems

Eclipse CDT Project Lead, Tools PMC member

http://cdtdoug.blogspot.com

 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Niefer
Sent: Thursday, April 20, 2006 11:25 AM
To: CDT General developers list.
Subject: RE: AW: [cdt-dev] Imported source projects and source lookup don' t workinCDT 3.1 SDK builds

 


If they don't have a manifest, then they would need an eclipse 2.0 style plugin.xml.  The build by default generates 3.0 style plugins and should generate a manifest for you.

-Andrew

Doug Schaefer <DSchaefer@xxxxxxx>
Sent by: cdt-dev-bounces@xxxxxxxxxxx

04/20/2006 11:11 AM

Please respond to
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

To

"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

cc

 

Subject

RE: AW: [cdt-dev] Imported source projects and source lookup don'        t workinCDT 3.1 SDK builds

 

 

 




They never needed them before. The source plugins predate our move to manifests.
 
Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC member
http://cdtdoug.blogspot.com
 

 



From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Niefer
Sent:
Thursday, April 20, 2006 11:09 AM
To:
CDT General developers list.
Subject:
Re: AW: [cdt-dev] Imported source projects and source lookup don't workinCDT 3.1 SDK builds

 

Not having a manifest would indeed cause the source to not be found during import.  So the question becomes why don't the source plugins have manifests?


-Andrew

Keith Campbell/Ottawa/IBM@IBMCA
Sent by: cdt-dev-bounces@xxxxxxxxxxx

04/20/2006 09:28 AM

 

Please respond to
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

 

To

"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

cc

 

Subject

Re: AW: [cdt-dev] Imported source projects and source lookup don't        workinCDT 3.1 SDK builds


 

 

 

 






This may have something to do with the fact that the org.eclipse.cdt.source plugin does not have META-INF/MANIFEST.MF (at least not in 200604100500). I added one to my installation and the error log no longer contains a complaint about it.


-Keith

"Ploett, Norbert" <norbert.ploett@xxxxxxxxxxx>
Sent by: cdt-dev-bounces@xxxxxxxxxxx

2006/04/20 09:12

 

Please respond to
"CDT General developers list."

 

To

"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

cc

 

Subject

AW: [cdt-dev] Imported source projects and source lookup don't        workinCDT 3.1 SDK builds


 

 

 

 






>
I would check with PDE Build to see if it is a bug in their area.

So which mailing list do I post to?


pde-build-dev

platform-releng-dev


Or elsewhere?



Norbert

 



Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Doug Schaefer
Gesendet:
Donnerstag, 20. April 2006 14:50
An:
CDT General developers list.
Betreff:
RE: [cdt-dev] Imported source projects and source lookup don't workinCDT 3.1 SDK builds


This could be a bug in PDE. Or they change the rules. Our build.properties files have not changed. The compile part of PDE picks up the source folders for classes to include in the build from the Runtime Information part of the editor. In the past, it also picked up which folders to include in the build. The source directories was only for additional directories to include, such as schemas.


“Unpack” is the setting that turns off the plugin as a jar feature. These should be left off except for plugins that contain shared libraries since the operating systems can’t load them from the jar files.


I would check with PDE Build to see if it is a bug in their area.


Doug Schaefer, QNX Software Systems

Eclipse CDT Project Lead, Tools PMC member

http://cdtdoug.blogspot.com
 


 





From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Ploett, Norbert
Sent:
Thursday, April 20, 2006 5:01 AM
To:
CDT General developers list.
Subject:
AW: [cdt-dev] Imported source projects and source lookup don't workinCDT 3.1 SDK builds


John,


I checked your hints and found the following:


- The Build Configuration / Source Build (e.g. for cdt.core) does not have any of the source directories checked. That would be easy to change but since I have little experience, and do not have testbed, I hesitate do just do it. Maybe if somebody who knows would encourage me ...


- I am not sure about setting the "Unpack ..." property in the feature since we do not really want unpacked plugins, at least not for the runtime builds, maybe for the sdk builds. So even if somebody can confirm that this is actually necessary this change should be discussed in the community.


Opinions?



Norbert Ploett

 


 





Von:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von John Camelon
Gesendet:
Mittwoch, 19. April 2006 15:36
An:
CDT General developers list.
Betreff:
Re: [cdt-dev] Imported source projects and source lookup don't workinCDT 3.1 SDK builds


I don't have time to look right now, but are the feature.xml and build.properties both set properly?

I believe the "Source Build" for the build.properties needs to actually include all of the source directories, and the feature.xml should "unpack plugin archive after installation", that has worked for me in the past.


--
JohnC

"Sascha Radike" <sradike@xxxxxxxxxxxx>
Sent by: cdt-dev-bounces@xxxxxxxxxxx

04/19/2006 07:48 AM

 

 

Please respond to
"CDT General developers list."

 

 

To

"'CDT General developers list.'" <cdt-dev@xxxxxxxxxxx>

cc

 

Subject

AW: [cdt-dev] Imported source projects and source lookup don't work        inCDT 3.1 SDK builds




 

 

 

 

 






Yeah, I noticed missing source code, too. Also the extension point schemas
can't be found.

That's why I imported all plugins from HEAD.

Sascha

________________________________________
Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im
Auftrag von Ploett, Norbert
Gesendet: Mittwoch, 19. April 2006 12:39
An: CDT General developers list.
Betreff: [cdt-dev] Imported source projects and source lookup don't work
inCDT 3.1 SDK builds

Hi folks,

this is quite a nuisance, I noticed it a few weeks ago and nobody responded
to my posting. So I'll try again now.

- Install eclipse 3.2RC1 and a CDT SDK (!) nightly build from the CDT build
machine (I have the one from April 18 currently, does not matter much
however).
- Import any CDT plug-in, let's take cdt.core for example AS SOURCE PROJECT.
- Admire a list of round 70 error messages like so:

Package 'org.eclipse.cdt.core.dom.ast.c' does not exist in this
plug-in org.eclipse.cdt.core/META-INF MANIFEST.MF line
11 1145442735079 15555
These errors are there because

a) The imported plug-in project does NOT contain ANY SOURCES and
b) the jar file which is packaged in (e.g.
org.eclipse.cdt.core_3.1.0.200604180500.jar) is not on the java compiler's
build path.

b) can easily be righted manually but the problem of missing sources
remains: I have no way to look into the code.

Guess it has something to do with the build process on the cdt build
machine. The sources are not packaged with the SDK in the right way. Will
anybody take a look at this? Is this behavior reproducable for anybody else?


Thanks,


Norbert Ploett

=======================
Dr.-Ing. Norbert Plött
Siemens A&D ATS 1
Gleiwitzer Str. 555
90475 Nürnberg
Tel.: +49 911 895 3484
Fax: +49 911 895 3715


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top