Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-releng-inbox] [Bug 79850] cdt should have a source download that can be built

https://bugs.eclipse.org/bugs/show_bug.cgi?id=79850





------- Additional Comments From bkonrath@xxxxxxxxxx  2004-12-15 21:06 -------
Hi Doug,

I found the following paragraph in
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.pde.build/feature/rootfiles/readme/readme_eclipse.html?rev=1.5
:

"PDE computes the build class path of a plug-in project by looking up source
mappings in the build.properties file. This file defines how source folders are
compiled into runtime libraries. In the absence of this file, PDE will compute
the class path that contains no source folders, resulting in compilation errors.
The required build.properties file is generated by PDE when a new plug-in
project is created. If the plug-in project is created in some other way, a
build.properties file must be added manually. See the PDE Guide for details on
the format of build.properties files. (bug 9765)"

So it seems that eclipse will only generate build.properties when the  project
is imported and the eclipse SDK does not have a plugin capable of doing this in
headless mode - I just checked :) 

One of my goals for this enhancement is to be able to use pristine eclispe.org
downloads so that other linux distros can build eclipse sdk and external plugins
easily. While I think that I could make a plugin that has this functionality, I
would like to avoid using a build method that requires a Red Hat specific plugin.

Another reason I would like to include the files in the src zip is because
eclipse cannot generate all of the information when it generates the
build.properties file. You encountered this with the org.eclipse.cdt.core
plugin. I whipped up a little comparison of the two files so that the
differences are easy to see:

http://people.redhat.com/bkonrath/eclipse/build.properties.html

As I mentioned in comment #1,  ideally I would like all the files included so
that the jar file and src zip directory and file structure mirror each other. 
If this is not possible for some reason, including the build.properties file in
the src.zip is the next best thing for now. (I say for now because plugins can
be built as a one jar file instead of a directory with jars, zips and files. If
all of the files aren't included when eclipse.org switches to this method, it
will be a big pain to extract and gather the files required to build a plugin.)

BTW, I am going to file a general bug about this and ask that all plugins on
eclipse.org include all their files in the src zips.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Back to the top