Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342750

Summary: SAXParseException in FeatureManifestParser when using shared license feature
Product: [Eclipse Project] PDE Reporter: Gunnar Wagenknecht <gunnar>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
sample build log
none
build.properties
none
feature.properties
none
feature.xml none

Description Gunnar Wagenknecht CLA 2011-04-13 14:44:13 EDT
Created attachment 193184 [details]
sample build log

I'm trying to implement the shared license feature in Eclipse. I reuse the shared license from Eclipse CVS. 

### shared license feature
feature@org.eclipse.license=v20110208,:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse,,org.eclipse.sdk-feature/features/org.eclipse.license

However, I get a lot of exceptions in the build log but they do not seem to fail the build (sample attached). As a result I do not see the features in the resulting repo (which causes a subsequent failure).
Comment 1 Gunnar Wagenknecht CLA 2011-04-13 14:47:23 EDT
BTW, this happens with the R37_M5 as well as the R37_M6 base builder tag.
Comment 2 Gunnar Wagenknecht CLA 2011-04-13 14:50:12 EDT
feature.xml header looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.gyrex.features.server"
      label="%featureName"
      version="1.0.0.qualifier"
      provider-name="%providerName"
      license-feature="org.eclipse.license"
      license-feature-version="1.0.0.qualifier">

...
(no <license...> in feature.xml)


build.properties looks like this:

bin.includes =\
  feature.xml,\
  feature.properties
Comment 3 Gunnar Wagenknecht CLA 2011-04-13 14:50:57 EDT
Created attachment 193185 [details]
build.properties
Comment 4 Gunnar Wagenknecht CLA 2011-04-13 14:51:21 EDT
Created attachment 193186 [details]
feature.properties
Comment 5 Gunnar Wagenknecht CLA 2011-04-13 14:51:59 EDT
Created attachment 193187 [details]
feature.xml
Comment 6 Gunnar Wagenknecht CLA 2011-04-14 05:12:03 EDT
May be related to bug 338835. Investigating.
Comment 7 Gunnar Wagenknecht CLA 2011-04-14 05:34:30 EDT
(In reply to comment #6)
> May be related to bug 338835. Investigating.

Confirmed.

*** This bug has been marked as a duplicate of bug 338835 ***