Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Regarding the new shared license feature

Hi Kim,

thanks for the quick reply! :)

On Wed, Mar 2, 2011 at 17:50, Kim Moir <Kim_Moir@xxxxxxxxxx> wrote:
You don't need to include your license feature in any other features. If you update your maps to include a reference to the location of your license feature, it should be fetched automatically by the features that refer to the license.
Ok, I updated my map file, but I don't actually use it for my build, since I use an ant build... o.O 

  Do you actually ship your container feature or is it just used at build time?  If so, #3.  
I just use the container at build time... (I plan to improve this later)
 
What does your feature.xml look like for the license feature and an feature that references it?
- org.eclipse.sequoyah.license.feature/feature.xml:
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.sequoyah.license.feature"
      label="Sequoyah License Feature"
      version="1.0.0.qualifier"
      provider-name="Eclipse.org">
</feature>

- org.eclipse.sequoyah.device.feature/feature.xml:
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.sequoyah.device.feature"
      label="%featureName"
      version="2.0.0.qualifier"
      provider-name="%providerName"
      plugin="org.eclipse.sequoyah.device.framework"
      license-feature="org.eclipse.sequoyah.license.feature"
      license-feature-version="1.0.0.qualifier">

   <description>
      %description
   </description>

   <copyright>
      %copyright
   </copyright>

   <url>
      <update label="%sequoyahUpdateSiteName" url="" href="http://download.eclipse.org/sequoyah/updates/2.0/">http://download.eclipse.org/sequoyah/updates/2.0/"/>
      <discovery label="%sequoyahUpdateSiteName" url="" href="http://download.eclipse.org/sequoyah/updates/2.0/">http://download.eclipse.org/sequoyah/updates/2.0/"/>
   </url>

   <requires>
      <import plugin="org.eclipse.ui"/>
       ...
   </requires>

   <plugin>
   ...
   </plugin>
</feature>

I tried to access your SVN repo, but was denied access.  From the log, It looks like it's having problems parsing a feature.xml.
Yes, I think it is failing on that too... but why? o.O

-- 
Thanks,

Daniel Pastore
Sequoyah Team


Back to the top