[ http://jira.codehaus.org/browse/MEJB-12?page=comments#action_65601 ] 

Marvin King commented on MEJB-12:
---------------------------------


  
 you need to override the clientExclude, by default **/*Session.class 
**/*Bean.class and  "**/*CMP.class are excluded.
 clientExclude will override your clientInclude if you specify the same pattern 
on both.

 
 

> EJB - Client jar doesn't have Session.class files 
> --------------------------------------------------
>
>          Key: MEJB-12
>          URL: http://jira.codehaus.org/browse/MEJB-12
>      Project: Maven 2.x Ejb Plugin
>         Type: Bug

>  Environment: win xp, unix, linux
>     Reporter: raghurajan gurunathan
>      Fix For: 2.1

>
>
> The ejb-client jar created from ejb-plugin does not contains remote interface 
> class like *Session.class Pls, see below
>                               <plugin>
>                                       
> <groupId>org.apache.maven.plugins</groupId>
>                                       
> <artifactId>maven-ejb-plugin</artifactId>
>                                       <configuration>
>                                               
> <generateClient>true</generateClient>
>                                       </configuration>
>                               </plugin>
> with reference to above section of pom.xml the created 
> artifactId-version-client.jar doesn't have Session.class, and even if tried 
> to include them using <clientIncludes> as shown below  it doesn't help 
>                               <plugin>
>                                       
> <groupId>org.apache.maven.plugins</groupId>
>                                       
> <artifactId>maven-ejb-plugin</artifactId>
>                                       <configuration>
>                                               
> <generateClient>true</generateClient>
>                                               <clientIncludes>
>                                                       
> <clientInclude>**/session/**</clientInclude>
>                                               </clientIncludes>
>                                               </configuration>
>                               </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to