[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Source bundles in the SDK

The source for the plug-ins I checked seem to be there and OK but PDE
import is now broken: it fails to attach the source for most bundles (see


             Andrew Niefer                                                 
             om>                                                        To 
             Sent by:                  "General development mailing list   
             eclipse-dev-bounc         of the Eclipse project."            
             es@xxxxxxxxxxx            <eclipse-dev@xxxxxxxxxxx>           
             28.11.2007 17:25                                      Subject 
                                       [eclipse-dev] Source bundles in the 
             Please respond to                                             
              mailing list of                                              
                the Eclipse                                                

Last night's build N20071128-0010 is the first build using the new format
for source bundles.

The major difference is that instead of instead of source bundles that are
folders and contain the source for multiple plugins, we now have a source
bundle per plugin and the source bundles are jared.

Would teams please take a look at this build (and builds going forward) to
ensure that the source for their bundles looks good.  Some things to look

1) A source bundle's manifest contains a "Eclipse-SourceBundle" header
which lists the bundle it corresponds to.  It also contains a "roots"
directive listing out the folders in the source jar corresponding to
different libraries.  For example, org.eclipse.pde.core.source contains the

If no roots directive is specified, the default "." is assumed.

2) Check that all the source does exist in the source jar and that any
other additional resources (specified in src.includes in your
build.properties, eg: schemas, about.html) are also present.
3) Some bundles may not actually contain any source and therefore a source
bundle is not necessary.  See for example
4) Some bundles that don't follow the standard build scenarios may need
special handling (ie Orbit bundles), see for example


https://bugs.eclipse.org/bugs/show_bug.cgi?id=202462 - Simplify the way
source is contributed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=208821 - Change SDK to use
individual source bundles
https://bugs.eclipse.org/bugs/show_bug.cgi?id=148782 - Re-design how source
is associated with code _______________________________________________
eclipse-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit