Hello,

That's because the extension you made (MPECLIPE-60 I guess) does *NOT* download 
an artifact which has the type EJB. It downloads only JAR artifacts. See my 
comment on this ticket:

http://jira.codehaus.org/browse/MPECLIPSE-60

Regards,
St�phane


-----Original Message-----
From: Ryan, Scott [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 28, 2004 6:23 PM
To: 'Maven Users List'
Subject: Eclipse Source when EJB's are used


I am trying to include EJB implementation source code in my eclipse projects 
for web projects that only use the client jars.  I have the several web 
projects that access EJB's via their home and remote interfaces.  In the 
project XML I include a dependency for the jar version of the artifact which 
resolves to the client jar.  I have created source zip files that include both 
the client code as well as the implementation code.  

The problem is that when I include the sources in the .classpath entry Eclipse 
only lets me see the source code for the client jar rather than the 
implementation code.  If I was able to see the implementation code I could set 
breakpoints and debug within the implementation code.  If I include the 
deployment jar (ejb) then my war is built with the incorrect jar.  

I extended the eclipse plugin to support downloading of the source code and 
inclusion into the .classpath.  I tried to reference the dependency twice but 
the system ignores any duplicates.  

Any input would be appreciated.  Here is my sample project.xml with duplicates.

<dependency>
    <groupId>group1</groupId>
    <artifactId>api-ejb</artifactId>
    <version>3.0.1.0</version>
    <type>jar</type>
    <properties>
        <war.bundle>true</war.bundle>
    </properties>
</dependency>
<dependency>
    <groupId>group1</groupId>
    <artifactId>api-ejb</artifactId>
    <version>3.0.1.0</version>
    <type>ejb</type>
    <properties>
        <eclipse.source>true</eclipse.source>
    </properties>
</dependency>

Scott Damon Ryan
Developer
(720) 514-5389
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to