directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Commented: (DIRNAMING-13) Lack of a Activation dependency
Date Wed, 23 Feb 2005 03:19:49 GMT
     [ 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


Mime
View raw message