Thanks, Noel, I'll give that a try. About there being a better way, it's just weird because the proposal was created before a bunch of refactoring was done on the main source tree, so things got a little out of sync. I don't know there really is a better way to handle it.
Kenny > -----Original Message----- > From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 26, 2003 9:33 AM > To: James Developers List > Subject: RE: imap2 compliation problems > > > Kenny, > > In cases like those, where the proposal has its own copy of a > standard file, > you have a slightly different challenge. You should diff the two > versions, > isolate the changes that the proposal wants to introduce, and then reapply > those changes to the standard file in the proposal. > > IOW: > > 1. find the differences between src/java/org/apache/james/James.java > and proposals/imap2/java/org/apache/james/James.java. > > 2. identify which changes are specific to the proposal. > > 3. copy src/java/org/apache/james/James.java to > proposals/imap2/java/org/apache/james/James.java. > > 4. apply #2 to #3. > > If there were just a few changes made to James.java, you could take a > shortcut, and just apply them. But the above steps will handle > cases where > the changes to the HEAD file are extensive. > > There really ought to be a better way to do this ... > > --- Noel > > -----Original Message----- > From: Kenny Smith [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 26, 2003 11:48 > To: James Dev > Subject: imap2 compliation problems > > > Hi all, > > I've been trying to get the imap2 proposal to compile and I've narrowed it > down to these last two errors. Now, I understand the errors, but I'm not > sure how to fix them, because I don't know the James internals yet. > > Any help? > > Kenny Smith > JournalScape.com > > ------------ Ant output ----------- > prepare: > preparing code > prepare-jdbc3: > preparing for JDBC3 > compile: > compiling James > Compiling 58 source files to > C:\Java\James\jakarta-james\proposals\imap2\build\classes > jakarta-james/proposals/imap2/java/org/apache/james/James.java [82] > org.apache.james.James should be declared abstract; it does not define > getMailRepository(java.lang.String) in org.apache.james.James > public class James > ^ > jakarta-james/proposals/imap2/java/org/apache/james/James.java > [368] cannot > resolve symbol > symbol : variable ROLE > location: interface org.apache.mailet.UsersRepository > compMgr.put( UsersRepository.ROLE, ( Component ) localusers ); > ^ > Note: Some input files use or override a deprecated API. > Note: Recompile with -deprecation for details. > 2 errors > file:C:/Java/James/jakarta-james/proposals/imap2/build.xml:253: Compile > failed; see the compiler error output for details. > BUILD FAILED > Total time: 4 seconds > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
