|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
info.licenseHi folks,
I am trying to automate the collection and use of license files in my build process. eg, suppose I have project A which depends on the modules apache/commons-lang and apache/commons-logging. I need to include both of these licenses in project A somehow when I distribute it. I've seen this: http://ant.apache.org/ivy/history/latest-milestone/ivyfile/license.html I'm now wondering how best to use it. Presumably, I should modify the ivy.xml for all the modules that have licenses, and add in the <license> tag as a first step =). Is there anything built in to Ivy to retrieve the data from the specified URLs? Perhaps I need to write something to parse the Ivy XML reports and retrieve all the licenses? Alternatively, I have considered possibly doing this using <conf name="license" description="License files"/>, and associating the license files for each project with that configuration. That seems like it'd be kind of irritating to implement though. Anyone have any suggestions for me? Thanks, Mike. |
|
|
Re: info.licenseOn Fri, Jan 29, 2010 at 2:10 PM, Michael Shea <mike@...> wrote:
> I've seen this: > http://ant.apache.org/ivy/history/latest-milestone/ivyfile/license.html > > I'm now wondering how best to use it. Presumably, I should modify the > ivy.xml for all the modules that have licenses, and add in the <license> tag > as a first step =). Is there anything built in to Ivy to retrieve the data > from the specified URLs? Perhaps I need to write something to parse the Ivy > XML reports and retrieve all the licenses? > > Alternatively, I have considered possibly doing this using <conf > name="license" description="License files"/>, and associating the license > files for each project with that configuration. That seems like it'd be kind > of irritating to implement though. > Seems like the simplest thing is the first idea: write a script (XSLT?) that churns through the ivy report output, then retrieves all the license files. -Archie -- Archie L. Cobbs |
|
|
AW: info.licenseSee also
https://issues.apache.org/jira/browse/IVY-893 Jan > -----Ursprüngliche Nachricht----- > Von: Archie Cobbs [mailto:archie.cobbs@...] > Gesendet: Freitag, 29. Januar 2010 21:47 > An: ivy-user@... > Betreff: Re: info.license > > On Fri, Jan 29, 2010 at 2:10 PM, Michael Shea <mike@...> wrote: > > > I've seen this: > > > http://ant.apache.org/ivy/history/latest-milestone/ivyfile/lic > > > > I'm now wondering how best to use it. Presumably, I should > modify the > > ivy.xml for all the modules that have licenses, and add in > the <license> tag > > as a first step =). Is there anything built in to Ivy to > retrieve the data > > from the specified URLs? Perhaps I need to write something > to parse the Ivy > > XML reports and retrieve all the licenses? > > > > Alternatively, I have considered possibly doing this using <conf > > name="license" description="License files"/>, and > associating the license > > files for each project with that configuration. That seems > like it'd be kind > > of irritating to implement though. > > > > Seems like the simplest thing is the first idea: write a > script (XSLT?) that > churns through the ivy report output, then retrieves all the > license files. > > -Archie > > -- > Archie L. Cobbs > |
|
|
Re: AW: info.licenseThe <description> tag allows for any arbitrary XML tags within it. I assume this is to let you type up HTML descriptions. We use this to include custom license tags for attribution and such.
_________________________________________________________ Eric Anderson Palantir Technologies | Engineering Team Lead eanderson@... | 520.440.3773 _________________________________________________________ On Jan 31, 2010, at 9:53 PM, <Jan.Materne@...> <Jan.Materne@...> wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |