Hi Eric,

Filed under https://issues.apache.org/jira/browse/JAMES-1462 though not
sure if I tagged it with the right components or not, as the suggested
components didn't match the maven artifactIds. I've used the closest
matches I could see.

Martin


On 29 December 2012 17:56, Martin Hewitt <[email protected]> wrote:

> Thanks Eric, I'll make a patch and file it.
>
> Martin
>
>
> On 29 December 2012 17:46, Eric Charles <[email protected]> wrote:
>
>> You're welcome Martin.
>> If you think we must change any src, please submit a patch via [1]
>>
>> Happy coding,
>>
>> Eric
>>
>> [1] 
>> https://issues.apache.org/**jira/browse/JAMES<https://issues.apache.org/jira/browse/JAMES>
>>
>>
>> On 29/12/2012 18:22, Martin Hewitt wrote:
>>
>>> Hi Eric,
>>>
>>> Brilliant, that all works perfectly.
>>>
>>> I had to make two, small, changes:
>>>
>>> 1)
>>> james-server-mailetcontainer-**camel/src/test/java/org/**
>>> apache/james/mailetcontainer/**impl/matchers/**BaseMatchersTest.java
>>>
>>> 22: //import org.apache.james.mailet.**standard.matchers.All;
>>> 23: //import org.apache.james.mailet.**standard.matchers.RecipientIs;
>>> 24: import org.apache.james.transport.**matchers.All;
>>> 25: import org.apache.james.transport.**matchers.RecipientIs;
>>>
>>> 2)
>>> james-server-mailets/src/main/**java/org/apache/james/**
>>> transport/matchers/**AbstractStorageQuota.java
>>>
>>> 33: //import org.apache.james.mailet.**standard.matchers.**
>>> AbstractQuotaMatcher;
>>>
>>> Thanks,
>>>
>>> Martin
>>>
>>>
>>>
>>> On 29 December 2012 16:39, Eric Charles <[email protected]> wrote:
>>>
>>>  Hi Martin,
>>>>
>>>> Good catch. This comes from a side effect we didn't think at when
>>>> refactoring the mailet project
>>>>
>>>> I have committed the needed fixes.
>>>> Could you svn up (both server and mailet projects), install mailet in
>>>> your
>>>> local mvn repo and check if server  it's working now?
>>>>
>>>> Thx a lot,
>>>>
>>>> Eric
>>>>
>>>>
>>>> On 29/12/2012 16:53, Martin Hewitt wrote:
>>>>
>>>>  Hi Eric,
>>>>>
>>>>> I've updated and I now get further in the boot sequence, however I now
>>>>> get
>>>>> a failure on org.apache.james.mailet.****standard.mailets.**
>>>>>
>>>>> RecipientRewriteTable.
>>>>>
>>>>> My workspace search shows this class as being
>>>>> org.apache.james.transport.****mailets.RecipientRewriteTable
>>>>>
>>>>>
>>>>> My Maven Dependencies is showing apache-mailet-base:2.5.0 and
>>>>> apache-mailet-standard:2.5.0 and I removed all modules from Eclipse
>>>>> before
>>>>> updating and re-importing the main server folder.
>>>>>
>>>>> If I change MailetLoaderBeanFactory#****getStandardPackage to return
>>>>> "org.apache.james.transport.****mailets", the boot process fails on
>>>>>
>>>>> PostmasterAlias, but the All matcher is found and instantiated without
>>>>> error.
>>>>>
>>>>> Martin
>>>>>
>>>>>
>>>>> On 29 December 2012 14:32, Martin Hewitt <[email protected]>
>>>>> wrote:
>>>>>
>>>>>   Hi Eric,
>>>>>
>>>>>>
>>>>>> Yes, I am, updating now. I've also just joined the server-dev list so
>>>>>> I
>>>>>> can keep track of trunk.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Martin
>>>>>>
>>>>>>
>>>>>> On 29 December 2012 14:24, Eric Charles <[email protected]> wrote:
>>>>>>
>>>>>>   Hi,
>>>>>>
>>>>>>>
>>>>>>> I guess you are running a fresh trunk?
>>>>>>> If such, Can you svn up and try again. I have just committed a patch.
>>>>>>>
>>>>>>> Thx, Eric
>>>>>>>
>>>>>>>
>>>>>>> On 29/12/2012 14:33, Martin Hewitt wrote:
>>>>>>>
>>>>>>>   Hi all,
>>>>>>>
>>>>>>>>
>>>>>>>> I'm now building James from trunk, and I get a
>>>>>>>> ClassNotFoundException
>>>>>>>> when
>>>>>>>> looking for
>>>>>>>>
>>>>>>>> org.apache.james.transport.******matchers.All
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Where's the moved/new version of this matcher? Am I using an
>>>>>>>> outdated
>>>>>>>> configuration file? Has it been deprecated?
>>>>>>>>
>>>>>>>> Snipped stack trace is:
>>>>>>>>
>>>>>>>> ERROR 13:25:30,899 | james.mailprocessor | Unable to init matcher
>>>>>>>> All:
>>>>>>>> org.apache.mailet.******MailetException: Could not load matcher
>>>>>>>> (All) (
>>>>>>>> java.lang.******ClassNotFoundException:
>>>>>>>> org.apache.james.transport.**
>>>>>>>> matchers.All)
>>>>>>>>
>>>>>>>> org.apache.mailet.******MailetException: Could not load matcher
>>>>>>>> (All) (
>>>>>>>> java.lang.******ClassNotFoundException:
>>>>>>>> org.apache.james.transport.**
>>>>>>>> matchers.All)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.apache.james.container.******spring.bean.factory.****
>>>>>>>> mailetcontainer.**
>>>>>>>> AbstractLoaderBeanFactory.******loadFailed(
>>>>>>>> AbstractLoaderBeanFactory.******java:60)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.apache.james.container.******spring.bean.factory.****
>>>>>>>> mailetcontainer.**
>>>>>>>> MatcherLoaderBeanFactory.******getMatcher(
>>>>>>>> MatcherLoaderBeanFactory.java:******55)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.apache.james.******mailetcontainer.lib.****
>>>>>>>> AbstractStateMailetProcessor.******
>>>>>>>> parseConfiguration(
>>>>>>>> AbstractStateMailetProcessor.******java:346)
>>>>>>>>
>>>>>>>> at org.apache.james.******mailetcontainer.lib.**
>>>>>>>> AbstractStateMailetProcessor.******init(
>>>>>>>> AbstractStateMailetProcessor.******java:119)
>>>>>>>>
>>>>>>>> at org.apache.james.******mailetcontainer.impl.camel.**
>>>>>>>> CamelMailetProcessor.init(
>>>>>>>> CamelMailetProcessor.java:101)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.apache.james.******mailetcontainer.impl.camel.******
>>>>>>>> CamelCompositeProcessor.
>>>>>>>> **createMailProcessor(
>>>>>>>> CamelCompositeProcessor.java:******103)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.apache.james.******mailetcontainer.lib.****
>>>>>>>> AbstractStateCompositeProcesso*****
>>>>>>>> *r.init(
>>>>>>>> AbstractStateCompositeProcesso******r.java:181)
>>>>>>>>
>>>>>>>> at org.apache.james.******mailetcontainer.impl.camel.**
>>>>>>>> CamelCompositeProcessor.init(
>>>>>>>> CamelCompositeProcessor.java:******66)
>>>>>>>>
>>>>>>>> at sun.reflect.******NativeMethodAccessorImpl.******invoke0(Native
>>>>>>>> Method)
>>>>>>>>
>>>>>>>> at sun.reflect.******NativeMethodAccessorImpl.******invoke(
>>>>>>>> NativeMethodAccessorImpl.java:******39)
>>>>>>>>
>>>>>>>> at sun.reflect.******DelegatingMethodAccessorImpl.******invoke(
>>>>>>>> DelegatingMethodAccessorImpl.******java:25)
>>>>>>>>
>>>>>>>> at java.lang.reflect.Method.******invoke(Method.java:597)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.springframework.beans.******factory.annotation.**
>>>>>>>> InitDestroyAnnotationBeanPostP******rocessor$LifecycleElement.**
>>>>>>>> ****
>>>>>>>> invoke(
>>>>>>>> InitDestroyAnnotationBeanPostP******rocessor.java:346)
>>>>>>>>
>>>>>>>>
>>>>>>>>   ------------------------------******--------------------------**
>>>>>>>> --**
>>>>>>>>
>>>>>>> --**---------
>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.******
>>>>>>> apache.org<
>>>>>>> server-user-**unsubscribe@**james.apache.org<[email protected]>
>>>>>>> <server-user-**[email protected]<[email protected]>
>>>>>>> >
>>>>>>>
>>>>>>>>
>>>>>>>>  For additional commands, e-mail: [email protected].**
>>>>>>> ****org<
>>>>>>> server-user-help@james.**apach**e.org <http://apache.org> <
>>>>>>> server-user-help@james.**apache.org<[email protected]>
>>>>>>> >
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>  ------------------------------****----------------------------**
>>>> --**---------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.****apache.org<
>>>> server-user-**[email protected]<[email protected]>
>>>> >
>>>> For additional commands, e-mail: [email protected].****org<
>>>> server-user-help@james.**apache.org <[email protected]>
>>>> >
>>>>
>>>>
>>>>
>>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> server-user-unsubscribe@james.**apache.org<[email protected]>
>> For additional commands, e-mail: 
>> [email protected].**org<[email protected]>
>>
>>
>

Reply via email to