You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jeff MAURY (JIRA)" <ji...@apache.org> on 2008/07/25 11:23:31 UTC

[jira] Created: (DIRSERVER-1208) Can't compile with Eclipse 3.4 and m2eclipse

Can't compile with Eclipse 3.4 and m2eclipse
--------------------------------------------

                 Key: DIRSERVER-1208
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1208
             Project: Directory ApacheDS
          Issue Type: Improvement
          Components: mitosis
         Environment: Eclipse 3.4 + m2eclipse 0.9.5
            Reporter: Jeff MAURY
            Priority: Minor


Thanks to m2eclipse, I imported the trunk-with-dependencies pom and all projects are automatically generated. The Java projects created by m2eclipse use an Execution Environment as a JRE lib, and these environments have rules about the Java classes used (basically java and javax classes can only be used). The class org.apache.directory.mitosis.service.protocol.codec.AbstractMessageCodecTest uses a sun.misc.Queue class which lead to a compilation error thanks to the rules. A workaround is not to use ExecutionEnvironment but I think the current situation may lead to failed build on non Sun JVMs

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSERVER-1208) Can't compile with Eclipse 3.4 and m2eclipse

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1208.
------------------------------------------

    Resolution: Fixed

Fixed in http://svn.apache.org/viewvc?rev=687734&view=rev

The sun.misc.Queue is replaced bt a LinkedBlockingQueue.

> Can't compile with Eclipse 3.4 and m2eclipse
> --------------------------------------------
>
>                 Key: DIRSERVER-1208
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1208
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: mitosis
>         Environment: Eclipse 3.4 + m2eclipse 0.9.5
>            Reporter: Jeff MAURY
>            Priority: Minor
>
> Thanks to m2eclipse, I imported the trunk-with-dependencies pom and all projects are automatically generated. The Java projects created by m2eclipse use an Execution Environment as a JRE lib, and these environments have rules about the Java classes used (basically java and javax classes can only be used). The class org.apache.directory.mitosis.service.protocol.codec.AbstractMessageCodecTest uses a sun.misc.Queue class which lead to a compilation error thanks to the rules. A workaround is not to use ExecutionEnvironment but I think the current situation may lead to failed build on non Sun JVMs

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSERVER-1208) Can't compile with Eclipse 3.4 and m2eclipse

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-1208.
----------------------------------------


> Can't compile with Eclipse 3.4 and m2eclipse
> --------------------------------------------
>
>                 Key: DIRSERVER-1208
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1208
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: mitosis
>         Environment: Eclipse 3.4 + m2eclipse 0.9.5
>            Reporter: Jeff MAURY
>            Priority: Minor
>
> Thanks to m2eclipse, I imported the trunk-with-dependencies pom and all projects are automatically generated. The Java projects created by m2eclipse use an Execution Environment as a JRE lib, and these environments have rules about the Java classes used (basically java and javax classes can only be used). The class org.apache.directory.mitosis.service.protocol.codec.AbstractMessageCodecTest uses a sun.misc.Queue class which lead to a compilation error thanks to the rules. A workaround is not to use ExecutionEnvironment but I think the current situation may lead to failed build on non Sun JVMs

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.