if you don't provide excludes, then the default excludes will override
the includes if both contains the same pattern.
for the meantime....
try overriding the exclusion rules / assigning your own values
default excludes:
**/*Bean.class
**/*CMP.class
**/*package.html
pete marvin
[EMAIL PROTECTED] wrote:
> Well i tried with 2.1 ejb plugin noticed that client includes works fine
>
> but when i tried to include *Session.class its not doing that i think by
> default its filtering Session.class, i reopened the issue with Jira
>
>
>
>
>
>
> Thanks,
> Raghu
>
>
>
>
>
> Pete Marvin King <[EMAIL PROTECTED]>
> 05/04/2006 04:54 AM
> Please respond to "Maven Users List"
>
>
> To: Maven Users List <[email protected]>
> cc:
> Subject: Re: EJB Client Jar Problem
>
>
>
> verified, it's already fixed on version 2.1 of the plugin
> clientExclude doesn't work on version 2.0.
>
>
> Pete Marvin King wrote:
>
>> include and exclude works fine in the unit test.
>> can you try getting the latest version. =)
>>
>> btw, if you don't specify client exclusion
>> it will automatically exclude the following :
>>
>> **/*Bean.class
>> **/*CMP.class
>> **/*package.html
>>
>>
>> pete marvin
>>
>>
>> [EMAIL PROTECTED] wrote:
>>
>>
>>> It sounds like an bug
>>>
>>> I created a bug in jira for this http://jira.codehaus.org/browse/MEJB-12
>>>
>>>
>>>
>>>
>>>
>>> Thanks,
>>> Raghu
>>>
>>>
>>>
>>>
>>>
>>> Pete <[EMAIL PROTECTED]>
>>> 05/03/2006 04:43 PM
>>> Please respond to "Maven Users List"
>>>
>>>
>>> To: "Maven Users List" <[email protected]>
>>> cc:
>>> Subject: Re: EJB Client Jar Problem
>>>
>>>
>>> I had the same problem so would be interested if anyone can help ?
>>>
>>> On 02/05/06, [EMAIL PROTECTED] <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>>> Hi,,
>>>>
>>>> I'm trying to create ejb client from ejb project
>>>>
>>>> this is what i have in my pom
>>>>
>>>> <plugin>
>>>> <groupId>org.apache.maven.plugins</groupId>
>>>> <artifactId>maven-ejb-plugin</artifactId>
>>>> <configuration>
>>>> <generateClient>true</generateClient>
>>>> <clientExcludes>
>>>> <clientExclude>**/Session*</clientExclude>
>>>> </clientExcludes>
>>>> <clientIncludes>
>>>> <clientInclude>**/Shop*</clientInclude>
>>>> </clientIncludes>
>>>> <archive>
>>>> <manifest>
>>>> <addClasspath>true</addClasspath>
>>>> </manifest>
>>>> <manifestEntries>
>>>> <Build-Environment>${build.env}</Build-Environment>
>>>> </manifestEntries>
>>>> </archive>
>>>> </configuration>
>>>> </plugin>
>>>>
>>>>
>>>>
>>>> it is creating ejb-client jar but it just includes almost all class
>>>>
>>>>
>>>>
>>> files
>>>
>>>
>>>
>>>> from the ejb.jar files, and has no effect on <clientExcludes> or
>>>> <clientInclude> either i specify both of them or only one of them
>>>>
>>>> Has anyone made it working something like this please advise??
>>>>
>>>>
>>>>
>>>>
>>>> Thanks,
>>>> Raghu
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> 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]