Bug 241169 - [p2] Product editor could have a license field
Summary: [p2] Product editor could have a license field
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks: 229880 273358
  Show dependency tree
 
Reported: 2008-07-16 20:13 EDT by Pascal Rapicault CLA
Modified: 2009-04-22 19:23 EDT (History)
4 users (show)

See Also:


Attachments
org.eclipse.pde.patch (12.38 KB, patch)
2008-11-07 16:15 EST, Chris Aniszczyk CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2008-07-16 20:13:55 EDT
Since p2 is using the .product file to generate top level IUs, it would be great if the product editor could carry some notion of license such that p2 MD generation could use that has input.
Comment 1 Chris Aniszczyk CLA 2008-07-17 10:22:12 EDT
Pascal, how does this relate to features and licenses? Would this license be on a product level or can you do it per bundle level?
Comment 2 Chris Aniszczyk CLA 2008-11-07 14:29:33 EST
p2 team, how are you expecting the license format?

Do you want it to be a URL? The full license text? What are we looking to do here.
Comment 3 Chris Aniszczyk CLA 2008-11-07 16:15:20 EST
Created attachment 117368 [details]
org.eclipse.pde.patch

A work in progress.
Comment 4 Jeff McAffer CLA 2008-11-08 15:06:13 EST
suspect we should just emulate what is available on features
Comment 5 Chris Aniszczyk CLA 2008-11-08 15:07:55 EST
That would be an optional URL + Raw text.

Is that OK in p2 land?

The only thing crappy about this approach is that the information isn't really structured, but not much we can do that about that.
Comment 6 Pascal Rapicault CLA 2008-11-09 07:35:04 EST
We expect no different than what is provided in the feature editor. Thx.
Comment 7 Chris Aniszczyk CLA 2008-11-10 20:56:49 EST
done.

> 20091110

Format is:

<license>
     <url>www.url-to-license.com</url>
     <text>blah blah blah</text>
</license>