David Jencks ha scritto:
On Aug 19, 2008, at 3:57 AM, Stefano Bagnara (JIRA) wrote:
Manage credits for Base64OutputStream inclusion
-----------------------------------------------
Key: MIME4J-71
URL: https://issues.apache.org/jira/browse/MIME4J-71
Project: Mime4j
Issue Type: Task
Affects Versions: 0.4
Reporter: Stefano Bagnara
Priority: Blocker
Fix For: 0.5
I want to add the fact that I'm investigating about the IPR for the
Base64OutputStream I introduced in the codebase some weeks ago.
http://markmail.org/message/g6cqks56o6byu4fx
http://markmail.org/message/fv7njent2jg2whdz
http://markmail.org/message/cgf5ugtwcrr4fwcd
The fact is that the package I used to get the Base64OutputStream has
a NOTICE including:
-------------
Portions of this software were originally based on the following:
- software copyright (c) 2000-2006, Oracle Corp,
<http://www.oracle.com/>. and are licensed to the Apache Software
Foundation under the "Software Grant and Corporate Contribution
License Agreement"
-------------
I didn't recognized this when I took the code at first, my bad!
Credits have to be added to the main NOTICE.txt (used in main
distributions) and a solution have to be found for the NOTICE included
in jars (currently automatically added by maven with
apache-jar-resource-bundle:1.4 that does not support this scenario).
Why can't you put the additional notice text in
src/main/appended-resources/META-INF/NOTICE.vm in the appropriate
project? This normally results in this text getting appended to the end
of the text from the resource bundle. (hopefully I've remembered the
file name correctly) This has worked for me in several places.
Thanks David! I didn't know that I could use appended-resources also for
this. I just found a discussion between you and Daniel Kulp about this
behaviour, I'll try it for sure! It's also interesting to note that
Daniel referred to the maven-shade-plugin used to merge NOTICEs
together.. interesting! I'll have to study this...
BTW I also prepared a new Base64OutputStream based on commons-codec
trunk Base64OutputStream (refactored a lot for our purpose) that is much
more performant, so maybe we'll simply dispose the Oracle's one and use
the ASF-only Base64OutputStream.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]