I checked the code from avalon/repository and it looks like someone changed the method signature for the DefaultCacheManager constructor to
public DefaultCacheManager( File base, ProxyContext context, String[] hosts ) yesterday. In order to make maven merlin:install run properly I changed MerlinBean.java to call this method like this: CacheManager manager = new DefaultCacheManager( m_repository, null, null ); Not sure if this is the correct thing to do! But the install went on smoothly. Quoting Chang Sau Sheong <[EMAIL PROTECTED]>: > Hi, > > I've just started on Merlin and after getting the source from CVS I can run > maven avalon:dist but I get this error with maven merlin:install :- > > ------------------------------------------ > java:compile: > [echo] Compiling to > D:\projects\avalon\merlin\kernel\plugin/target/classes > [javac] Compiling 1 source file to > D:\projects\avalon\merlin\kernel\plugin\target\classes > D:\projects\avalon\merlin\kernel\plugin\src\java\org\apache\avalon\merlin\tools\MerlinBean.java:340: > cannot resolve symbol > symbol : constructor DefaultCacheManager (java.io.File,<nulltype>) > location: class org.apache.avalon.repository.impl.DefaultCacheManager > CacheManager manager = new DefaultCacheManager( m_repository, > null > ); > ^ > 1 error > > BUILD FAILED > > ------------------------------------------ > Hope someone can help me on this? Thanks! > > -- > sausheong > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Sau Sheong --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
