Bug 330848 - Add org.apache.commons.net 2.2.0
Summary: Add org.apache.commons.net 2.2.0
Status: RESOLVED FIXED
Alias: None
Product: Orbit
Classification: Tools
Component: bundles (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: Indigo M5   Edit
Assignee: Martin Oberhuber CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 204740 335346
  Show dependency tree
 
Reported: 2010-11-22 14:18 EST by Kat Sharp CLA
Modified: 2011-01-25 12:11 EST (History)
7 users (show)

See Also:


Attachments
org.apache.commons.net_2.2.0.v01.jar for testing (209.56 KB, application/octet-stream)
2010-11-26 06:37 EST, Martin Oberhuber CLA
no flags Details
org.apache.commons.net.source_2.2.0.v01.jar for testing (331.76 KB, application/java-archive)
2010-11-26 06:55 EST, Martin Oberhuber CLA
no flags Details
Patch adding 2.2 to Orbit Builder (4.73 KB, patch)
2011-01-24 00:51 EST, Martin Oberhuber CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kat Sharp CLA 2010-11-22 14:18:27 EST
Build Identifier: I20100527-1700

See apache bug:
https://issues.apache.org/jira/browse/NET-288

This has been fixed in 2.2.0, when will the bundle be updated in orbit?


Reproducible: Always

Steps to Reproduce:
1. Try to connect to a server using FTP via an IPv6 address
2.
3.
Comment 1 Martin Oberhuber CLA 2010-11-22 14:54:44 EST
Whow, that was fast ... commons net must have just been released!

For TM/RSE I'm afraid IPv6 support is not relevant since I don't think we support it in any of the higher layers. From reading the release notes though, some of the bug fixes seem interesting e.g. the list parsing ones. Bug 204740 should be fixed by http://issues.apache.org/jira/browse/NET-215 for instance.

Kat, out of curiosity... where would you want to use a commons.net bundle that comes from Orbit?
Comment 2 Kat Sharp CLA 2010-11-23 07:52:57 EST
(In reply to comment #1)
> Whow, that was fast ... commons net must have just been released!
> 
> For TM/RSE I'm afraid IPv6 support is not relevant since I don't think we
> support it in any of the higher layers. From reading the release notes though,
> some of the bug fixes seem interesting e.g. the list parsing ones. Bug 204740
> should be fixed by http://issues.apache.org/jira/browse/NET-215 for instance.
> 
> Kat, out of curiosity... where would you want to use a commons.net bundle that
> comes from Orbit?

We currently use it, via RSE, in an RCP we build. So I'd like to get it updated so that we can support IPv6.
Comment 3 Martin Oberhuber CLA 2010-11-26 05:01:12 EST
Before we proceed adding commons net 2.2.0 to Orbit, I would like us to do some testing with the new version.

Apache downloads seem to be down at the moment, but here's what I'd suggest:

  1. Download the binary JAR from Apache
  2. Rename to follow OSGi naming, and inject an OSGi MANIFEST.MF
     - Should be easy to create by comparing with the current 2.0 MANIFEST.MF
  3. Attach here on bugzilla for testing

Downloading the bundle and placing it into dropins/ should pick up the new version immediately, so we can test it. When we are happy with the results, we can initiate the IP Due Diligence process and formally add it to Orbit.

Kat, since you seem to be the one most interested, could you get the binary, prepare it, perform initial testing and attach here on Bugzilla?
Comment 4 Martin Oberhuber CLA 2010-11-26 05:07:48 EST
Adding other commons.net interested parties according to IPZilla:
technogoly.osee, technology.linux-distros, soa.ebpm, rt.ecf, tools.sequoyah
Comment 5 Martin Oberhuber CLA 2010-11-26 06:37:17 EST
Created attachment 183911 [details]
org.apache.commons.net_2.2.0.v01.jar for testing

Attached "org.apache.commons-net_2.2.0.v01.jar" can be used for testing. It seems to work fine for me on Eclipse 3.7m3 / TM 3.2.1, as well as Eclipse 4.1m3 / TM 3.3 LATEST.

It's the original binary, with following modifications for Orbit:
 - Add about.html
 - Move META-INF/NOTICE.TXT to about_files/
 - Move META-INF/LICENSE.TXT to about_files/
 - MANIFEST.MF : Add Bundle-RequiredExecutionEnvironment: J2SE-1.5
 - MANIFEST.MF : Change Bundle-Version to 2.2.0.v01
 - MANIFEST.MF : Add Bundle-Localization: plugin
 - Add plugin.properties (for localization of vendor, name, description)
 - Change Bundle-Name: Commons Net -> "Apache Commons Net"
 - Change Bundle-Vendor: Apache -> "Eclipse Orbit"

One question at this point is whether I should better keep an additional copy of NOTICE.TXT and LICENSE.TXT inside META-INF/ for compatibility with other consumers.

I'll wait about 2 weeks for testing / comments before I initiate the CQ process.
Comment 6 Martin Oberhuber CLA 2010-11-26 06:55:06 EST
Created attachment 183913 [details]
org.apache.commons.net.source_2.2.0.v01.jar for testing

source bundle for debugging into commons.net_2.2 while testing.
Comment 7 Kat Sharp CLA 2010-11-28 13:46:52 EST
(In reply to comment #6)
> Created an attachment (id=183913) [details]
> org.apache.commons.net.source_2.2.0.v01.jar for testing
> 
> source bundle for debugging into commons.net_2.2 while testing.

Sorry, been ill for a few days - I'm more than happy to test and post back here. I'll get it down in the next couple of days.
Comment 8 Martin Oberhuber CLA 2010-12-07 04:46:12 EST
(In reply to comment #3)
Please remember to test whether commons net 2.2.0 addresses your needs, and provide feedback. 

The deadline for bringing in new IP into the yearly Eclipse train is typically end of January. In case we find a defect in commons net 2.2.0 we'll have to have that defect addressed and released as 2.2.1 by that time - so we better test early.

Test instructions are simple: Just download attached two JAR's and place them into the dropins/ folder of your Eclipse install.
Comment 9 Martin Oberhuber CLA 2010-12-14 07:45:26 EST
Has anybody verified that commons net 2.2 is good to use, and particularly satisifies the needs for IPv6 ?
Comment 10 Martin Oberhuber CLA 2011-01-10 07:46:43 EST
Ping?

I'm not going to add this to Eclipse without confirmation that it actually solves the original issue.
Comment 11 Chris Aniszczyk CLA 2011-01-11 12:50:56 EST
(In reply to comment #10)
> Ping?
> 
> I'm not going to add this to Eclipse without confirmation that it actually
> solves the original issue.

+1 from Linux Tools and Fedora land

We should always strive to use the latest released library...
Comment 12 Martin Oberhuber CLA 2011-01-11 12:56:51 EST
Ok, since Fedora and Linuxtools are the first to really want this, can you file the initial CQ for IP review?

After that, we'd piggyback Orbit on that, 
and after that I'd piggyback TM on Orbit.

I think you could use the source jar attached here for the Review, since I already stripped the testing sources and other stuff we won't distribute.
Comment 13 Martin Oberhuber CLA 2011-01-11 12:57:46 EST
I also suggest changing the Summary of this bug to read "add commons net 2.2.0 to Orbit" since it looks like you want it just for the version uprev (not implying any particular new functionality that you want).
Comment 14 Chris Aniszczyk CLA 2011-01-11 14:27:16 EST
Created CQs...

https://dev.eclipse.org/ipzilla/show_bug.cgi?id=4742
https://dev.eclipse.org/ipzilla/show_bug.cgi?id=4743

Once it's approved... I'll put it in Orbit.
Comment 15 Martin Oberhuber CLA 2011-01-12 10:54:51 EST
Thanks Chris.
Once approved, I can also do the Orbit commit since I've already created the files.
Comment 16 Chris Aniszczyk CLA 2011-01-13 14:09:36 EST
(In reply to comment #15)
> Thanks Chris.
> Once approved, I can also do the Orbit commit since I've already created the
> files.

Wooo, go for it Martin! It's approved now :)

https://dev.eclipse.org/ipzilla/show_bug.cgi?id=4743
Comment 17 Martin Oberhuber CLA 2011-01-14 13:44:52 EST
Will commit when the dust settles a bit over the recent Orbit Gogo addition :)
Comment 18 Chris Aniszczyk CLA 2011-01-14 14:18:50 EST
(In reply to comment #17)
> Will commit when the dust settles a bit over the recent Orbit Gogo addition :)

Heh, I've been adding libraries anyway :)
Comment 19 Martin Oberhuber CLA 2011-01-24 00:51:32 EST
Created attachment 187399 [details]
Patch adding 2.2 to Orbit Builder
Comment 20 Martin Oberhuber CLA 2011-01-24 00:52:39 EST
Added to Orbit, builds >= 20110124-0552