You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Chris Mattmann <ch...@jpl.nasa.gov> on 2005/04/05 06:21:58 UTC

protocol-file plugin requires activation framework?

Hi all,

 

  I just checked out the latest Nutch source tree from svn and I see that
the protocol-file plugin requires some classes from the activation
framework, yet it's not included in the lib directory for the protocol-file.
I have the 1.4.1_02 release of Java for Redhat Linux 7.3, and my JDK doesn't
have the activation framework by default, yet I looked it up on the web and
it seems to come with java 2 EE 1.4.2. So, I can't compile the plugins
because of this. Is this some error in my environment? I was able to build
nutch before when I downloaded the sources for 0.6, so I'm wondering if
something changed between 0.6 and 0.7?

 

Thanks,

  Chris

 

 

______________________________________________
Chris A. Mattmann
Chris.Mattmann@jpl.nasa.gov 
Staff Member
Modeling and Data Management Systems Section (387)

Data Management Systems and Technologies Group

_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                        Mailstop:  171-246
Phone:  818-354-8810
_______________________________________________________

Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.

 


RE: protocol-file plugin requires activation framework?

Posted by Chris Mattmann <ch...@jpl.nasa.gov>.
Hi Jerome,

  Merci pour votre contribution! :-) Sounds really great.


Cheers,
  Chris



______________________________________________
Chris A. Mattmann
Chris.Mattmann@jpl.nasa.gov 
Staff Member
Modeling and Data Management Systems Section (387)
Data Management Systems and Technologies Group

_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                        Mailstop:  171-246
Phone:  818-354-8810
_______________________________________________________

Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.

> -----Original Message-----
> From: Jérôme Charron [mailto:jerome.charron@gmail.com]
> Sent: Tuesday, April 05, 2005 9:19 AM
> To: nutch-dev@incubator.apache.org
> Subject: Re: protocol-file plugin requires activation framework?
> 
> >
> > Thanks for the info. However, not sure why, but when I checked out the
> > latest Nutch from SVN last night, there was no activation jar in the lib
> > directory. Also, when I go to
> > http://svn.apache.org/repos/asf/incubator/nutch/trunk/lib/, there is no
> > activation jar in the lib directory....
> 
> yes, it is true. I was mistaken... there's no more activation.jar in svn,
> due to license.
> However, I just send my mime-types code. As soon as it will be added, you
> can compile protocol-file without activation.jar (protocol-ftp also).
> 
> Jerome
> 
> 
> 
> 
> --
> http://motrech.free.fr/
> http://frutch.free.fr/


Re: protocol-file plugin requires activation framework?

Posted by Jérôme Charron <je...@gmail.com>.
> 
> Thanks for the info. However, not sure why, but when I checked out the
> latest Nutch from SVN last night, there was no activation jar in the lib
> directory. Also, when I go to
> http://svn.apache.org/repos/asf/incubator/nutch/trunk/lib/, there is no
> activation jar in the lib directory....

yes, it is true. I was mistaken... there's no more activation.jar in svn, 
due to license.
However, I just send my mime-types code. As soon as it will be added, you 
can compile protocol-file without activation.jar (protocol-ftp also).

Jerome




-- 
http://motrech.free.fr/
http://frutch.free.fr/

Re: protocol-file plugin requires activation framework?

Posted by Chris Mattmann <ch...@jpl.nasa.gov>.
Hi Jerome,

 Thanks for the info. However, not sure why, but when I checked out the
latest Nutch from SVN last night, there was no activation jar in the lib
directory. Also, when I go to
http://svn.apache.org/repos/asf/incubator/nutch/trunk/lib/, there is no
activation jar in the lib directory....


Cheers,
  Chris



On 4/5/05 12:42 AM, "Jérôme Charron" <je...@gmail.com> wrote:

>> 
>> I just checked out the latest Nutch source tree from svn and I see that
>> the protocol-file plugin requires some classes from the activation
>> framework, yet it's not included in the lib directory for the
>> protocol-file.
> 
> 
> Using the jdk 1.4.2_05, I have no problem compiling the protocol-file plugin
> (the activation jar is provided in the nutch/lib directory, and is
> accessible by the plugin during compilation - see build.xml)
> 
> I will provide a contribution today for Mime Content Type support and some
> patches for protocol-file, protocol-ftp so that these plugins no more
> required actiation... so if this contribution is accepted and checked in, it
> will solve your problems.
> 
> Jerome
> 
> 
> 

______________________________________________
Chris A. Mattmann
Chris.Mattmann@jpl.nasa.gov
Staff Member
Modeling and Data Management Systems Section (387)
Data Management Systems and Technologies Group
 
_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                        Mailstop:  171-246
Phone:  818-354-8810
_______________________________________________________
 
Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.
 
 




Re: protocol-file plugin requires activation framework?

Posted by Jérôme Charron <je...@gmail.com>.
> 
> I just checked out the latest Nutch source tree from svn and I see that
> the protocol-file plugin requires some classes from the activation
> framework, yet it's not included in the lib directory for the 
> protocol-file.


Using the jdk 1.4.2_05, I have no problem compiling the protocol-file plugin 
(the activation jar is provided in the nutch/lib directory, and is 
accessible by the plugin during compilation - see build.xml)

I will provide a contribution today for Mime Content Type support and some 
patches for protocol-file, protocol-ftp so that these plugins no more 
required actiation... so if this contribution is accepted and checked in, it 
will solve your problems.

Jerome




-- 
http://motrech.free.fr/
http://frutch.free.fr/

Re: protocol-file plugin requires activation framework?

Posted by Chris Mattmann <ch...@jpl.nasa.gov>.
Hi Stephan,

 Ahhh, thanks, that makes sense. Sorry I didn't see the earlier discussion.

Take care!

Cheers,
  Chris



On 4/5/05 12:32 AM, "Stephan Lagraulet" <sl...@cardiweb.com> wrote:

> Chris,
> I think it was discussed earlier while migrating to Apache. All libraries
> licenses must be compatible with Apache license so that's why
> activation.jar is not included in the distribution and must be retrieved
> separately.
> 
> Correct me if I'm wrong, but I think this is the reason why.
> 
> Stephan
> 
> On Tue, April 5, 2005 6:21, Chris Mattmann said:
>> Hi all,
>> 
>> 
>> 
>>   I just checked out the latest Nutch source tree from svn and I see that
>> the protocol-file plugin requires some classes from the activation
>> framework, yet it's not included in the lib directory for the
>> protocol-file.
>> I have the 1.4.1_02 release of Java for Redhat Linux 7.3, and my JDK
>> doesn't
>> have the activation framework by default, yet I looked it up on the web
>> and
>> it seems to come with java 2 EE 1.4.2. So, I can't compile the plugins
>> because of this. Is this some error in my environment? I was able to build
>> nutch before when I downloaded the sources for 0.6, so I'm wondering if
>> something changed between 0.6 and 0.7?
>> 
>> 
>> 
>> Thanks,
>> 
>>   Chris
>> 
>> 
>> 
>> 
>> 
>> ______________________________________________
>> Chris A. Mattmann
>> Chris.Mattmann@jpl.nasa.gov
>> Staff Member
>> Modeling and Data Management Systems Section (387)
>> 
>> Data Management Systems and Technologies Group
>> 
>> _________________________________________________
>> Jet Propulsion Laboratory            Pasadena, CA
>> Office: 171-266B                        Mailstop:  171-246
>> Phone:  818-354-8810
>> _______________________________________________________
>> 
>> Disclaimer:  The opinions presented within are my own and do not reflect
>> those of either NASA, JPL, or the California Institute of Technology.
>> 
>> 
>> 
>> 
> 
> 

______________________________________________
Chris A. Mattmann
Chris.Mattmann@jpl.nasa.gov
Staff Member
Modeling and Data Management Systems Section (387)
Data Management Systems and Technologies Group
 
_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                        Mailstop:  171-246
Phone:  818-354-8810
_______________________________________________________
 
Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.
 
 




Re: protocol-file plugin requires activation framework?

Posted by Stephan Lagraulet <sl...@cardiweb.com>.
Chris,
I think it was discussed earlier while migrating to Apache. All libraries
licenses must be compatible with Apache license so that's why
activation.jar is not included in the distribution and must be retrieved
separately.

Correct me if I'm wrong, but I think this is the reason why.

Stephan

On Tue, April 5, 2005 6:21, Chris Mattmann said:
> Hi all,
>
>
>
>   I just checked out the latest Nutch source tree from svn and I see that
> the protocol-file plugin requires some classes from the activation
> framework, yet it's not included in the lib directory for the
> protocol-file.
> I have the 1.4.1_02 release of Java for Redhat Linux 7.3, and my JDK
> doesn't
> have the activation framework by default, yet I looked it up on the web
> and
> it seems to come with java 2 EE 1.4.2. So, I can't compile the plugins
> because of this. Is this some error in my environment? I was able to build
> nutch before when I downloaded the sources for 0.6, so I'm wondering if
> something changed between 0.6 and 0.7?
>
>
>
> Thanks,
>
>   Chris
>
>
>
>
>
> ______________________________________________
> Chris A. Mattmann
> Chris.Mattmann@jpl.nasa.gov
> Staff Member
> Modeling and Data Management Systems Section (387)
>
> Data Management Systems and Technologies Group
>
> _________________________________________________
> Jet Propulsion Laboratory            Pasadena, CA
> Office: 171-266B                        Mailstop:  171-246
> Phone:  818-354-8810
> _______________________________________________________
>
> Disclaimer:  The opinions presented within are my own and do not reflect
> those of either NASA, JPL, or the California Institute of Technology.
>
>
>
>