You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Phil Steitz (JIRA)" <di...@incubator.apache.org> on 2005/02/23 04:19:49 UTC

[jira] Commented: (DIRNAMING-13) Lack of a Activation dependency

     [ http://issues.apache.org/jira/browse/DIRNAMING-13?page=comments#action_59646 ]
     
Phil Steitz commented on DIRNAMING-13:
--------------------------------------

The Geronimo spec jars are specified in maven.xml instead of the implementation jars so that naming-factory can be built without manually downloading and installing the non-distributable Sun mail jars.  Eclipse is complaining about the indirect reference to implementation classes.  Compilation works fine from the command line (ant or maven) using the spec jars.

> Lack of a Activation dependency
> -------------------------------
>
>          Key: DIRNAMING-13
>          URL: http://issues.apache.org/jira/browse/DIRNAMING-13
>      Project: Directory naming
>         Type: Bug
>     Reporter: Emmanuel Lecharny
>     Priority: Minor

>
> The project Naming-factory rely on geronimo-spec-javamail-1.3.1, and use a MimePartDataSource class :
>     public Object getObjectInstance(Object refObj, Name nm, Context ctx,
> 				    Hashtable env) throws Exception 
>     {
> ...
> 		    MimePartDataSource mds = new MimePartDataSource(
> 			(MimePart)message);
> ...
> The problem is that MimePartDataSource implements the javax.activation.Datasource interface, thus compilation complain about it (at least on eclipse), until I add the Activation-1.0.2.jar in the classpath.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira