Sorry guys!
I am still new , but I really want to experiment and get a full
understanding of how James file repository works, 
 ever since I discovered that James 2.0a1 could not handle many mails in
its repository 
(usually when you have more than a thousand mails in your inbox)
At the moment I am having some trouble compiling the latest James build
which I downloaded  
I am using the jar files in \lib , I am not really sure which jars I
should use. With James 2.0a1 the jars are already there.
1.It seems like the available  cornerstone jar is not the one to use
2.the Avalon jar containing the frame work does not correspond with the
code
 
Could you tell me the accurate jars to use for this build .
 
When compiling I get the following  error message. I have tried
everything including adding every jar file in the source 
 
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:10: package org.apache.avalon.cornerstone.services.store does not
exist
import org.apache.avalon.cornerstone.services.store.ObjectRepository;
                                                    ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:11: package org.apache.avalon.cornerstone.services.store does not
exist
import org.apache.avalon.cornerstone.services.store.Store;
                                                    ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:12: package org.apache.avalon.cornerstone.services.store does not
exist
import org.apache.avalon.cornerstone.services.store.StreamRepository;
                                                    ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:14: warning: org.apache.avalon.framework.component.Component in
org.apache.avalon.framework.component has been deprecated
import org.apache.avalon.framework.component.Component;
                                             ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:15: warning:
org.apache.avalon.framework.component.ComponentException in
org.apache.avalon.framework.component has been deprecated
import org.apache.avalon.framework.component.ComponentException;
                                             ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:16: warning:
org.apache.avalon.framework.component.ComponentManager in
org.apache.avalon.framework.component has been deprecated
import org.apache.avalon.framework.component.ComponentManager;
                                             ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:17: warning: org.apache.avalon.framework.component.Composable in
org.apache.avalon.framework.component has been deprecated
import org.apache.avalon.framework.component.Composable;
                                             ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:47: warning: org.apache.avalon.framework.component.Component in
org.apache.avalon.framework.component has been deprecated
    implements MailRepository, Component, Configurable, Composable,
Initializable {
                               ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:47: warning: org.apache.avalon.framework.component.Composable in
org.apache.avalon.framework.component has been deprecated
    implements MailRepository, Component, Configurable, Composable,
Initializable {
                                                        ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:57: cannot resolve symbol
symbol  : class Store 
location: class org.apache.james.mailrepository.AvalonMailRepository
    private Store store;
            ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:58: cannot resolve symbol
symbol  : class StreamRepository 
location: class org.apache.james.mailrepository.AvalonMailRepository
    private StreamRepository sr;
            ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:59: cannot resolve symbol
symbol  : class ObjectRepository 
location: class org.apache.james.mailrepository.AvalonMailRepository
    private ObjectRepository or;
            ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:67: warning:
org.apache.avalon.framework.component.ComponentManager in
org.apache.avalon.framework.component has been deprecated
    public void compose( final ComponentManager componentManager )
                               ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:68: warning:
org.apache.avalon.framework.component.ComponentException in
org.apache.avalon.framework.component has been deprecated
            throws ComponentException {
                   ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:67: warning:
org.apache.avalon.framework.component.ComponentManager in
org.apache.avalon.framework.component has been deprecated
    public void compose( final ComponentManager componentManager )
                               ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:69: cannot resolve symbol
symbol  : class Store 
location: class org.apache.james.mailrepository.AvalonMailRepository
        store = (Store)componentManager.
                 ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:116: cannot resolve symbol
symbol  : class StreamRepository 
location: class org.apache.james.mailrepository.AvalonMailRepository
            sr = (StreamRepository) store.select(streamConfiguration);
                  ^
C:\jamessrc\src\java\org\apache\james\mailrepository\AvalonMailRepositor
y.java:117: cannot resolve symbol
symbol  : class ObjectRepository 
location: class org.apache.james.mailrepository.AvalonMailRepository
            or = (ObjectRepository) store.select(objectConfiguration);
                  ^
9 errors
9 warnings
 
Kwirirai 
 


Reply via email to