I got the WAR file built after I removed the following dependencies:

james-server-hbase
james-server-queue-file

After I did that I could build it again.  I can't find either of those
projects in the tree so I guess that's the reason they can't be resolved.

As for why the server project isn't building I have no idea.  I haven't
modified any files.  I've only checked out the source.  I'll dump it and try
again.

Thanks,
Charlie

On Thu, Sep 29, 2011 at 1:01 AM, Norman Maurer <[email protected]
> wrote:

> Hi there,
>
> there is definitly something wrong with your checkout as
> RetrCmdHandler does not try to call the method in current trunk:
>
> http://svn.apache.org/viewvc/james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java?view=markup
>
> So it seems to me that you did not run svn update in the "root" folder
> of the project.
>
>
>
> If you just need to grap the latest war its easier to download it here:
>
> https://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta4-SNAPSHOT/apache-james-3.0-beta4-20110929.044539-136.war
>
> You will find a new war in the folder after every committed change in
> trunk.
>
> Bye,
> Norman
>
>
> 2011/9/28 Charlie Hubbard <[email protected]>:
> > I did a svn update and I have the latest changes.  I tried building
> > james/server/trunk and got this problem:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> > (default-compile) on project james-server-pop3server: Compilation
> failure:
> > Compilation failure:
> > [ERROR]
> >
> /Users/charlie/projects/james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java:[143,15]
> > cannot find symbol
> > [ERROR] symbol  : method writeTo(java.nio.channels.WritableByteChannel)
> > [ERROR] location: interface org.apache.james.mailbox.Content
> > [ERROR]
> >
> /Users/charlie/projects/james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/TopCmdHandler.java:[124,61]
> > cannot find symbol
> > [ERROR] symbol  : method headers()
> > [ERROR] location: interface org.apache.james.mailbox.MessageResult
> > [ERROR]
> >
> /Users/charlie/projects/james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/TopCmdHandler.java:[126,46]
> > cannot find symbol
> > [ERROR] symbol  : method writeTo(java.nio.channels.WritableByteChannel)
> > [ERROR] location: interface org.apache.james.mailbox.MessageResult.Header
> > [ERROR] -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> please
> > read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :james-server-pop3server
> >
> >
> > But, when I try to build just the WAR file I get the prior problem about
> > server-james-hbase.jar
> >
> > Charlie
> >
> > On Wed, Sep 28, 2011 at 3:30 PM, Norman Maurer <
> [email protected]
> >> wrote:
> >
> >> hmm... Could you svn update ? I was bulding with out problems about
> 2hours
> >> ago...
> >>
> >> bye
> >> norman
> >>
> >> Am Mittwoch, 28. September 2011 schrieb Charlie Hubbard <
> >> [email protected]>:
> >> > Hi Norman,
> >> >
> >> > I grabbed the latest changes this morning, and I'm having a heck of a
> >> time
> >> > getting it built.  I'm not sure I'm actually building it properly
> because
> >> it
> >> > seems like a lot of work to build James since everything is so chopped
> up
> >> in
> >> > sub projects of projects.  I don't know if there is an order I have to
> >> build
> >> > everything in or not.  Some projects reference avalon and they don't
> >> build.
> >> >  But the app project I could build before these updates and now I get
> >> this:
> >> >
> >> > [ERROR] The build could not read 1 project -> [Help 1]
> >> > [ERROR]
> >> > [ERROR]   The project org.apache.james:apache-james:3.0-beta4-SNAPSHOT
> >> > (/Users/charlie/projects/james/app/trunk/pom.xml) has 1 error
> >> > [ERROR]     'dependencies.dependency.version' for
> >> > org.apache.james:james-server-hbase:jar is missing. @ line 692, column
> 17
> >> > [ERROR]
> >> > [ERROR] To see the full stack trace of the errors, re-run Maven with
> the
> >> -e
> >> > switch.
> >> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> >> > [ERROR]
> >> > [ERROR] For more information about the errors and possible solutions,
> >> please
> >> > read the following articles:
> >> > [ERROR] [Help 1]
> >> >
> >>
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> >> >
> >> > I'm doing this in app/trunk:
> >> >
> >> > mvn clean package
> >> >
> >> > Charlie
> >> >
> >> > On Wed, Sep 28, 2011 at 9:15 AM, Norman Maurer <
> >> [email protected]
> >> >> wrote:
> >> >
> >> >> Hi Charlie,
> >> >>
> >> >> I just checked in a fix. Thanks for reporting!
> >> >>
> >> >> Bye,
> >> >> Norman
> >> >>
> >> >>
> >> >> 2011/9/27 Charlie Hubbard <[email protected]>:
> >> >> > Ok.  Jira Ticket is:
> >> https://issues.apache.org/jira/browse/JAMES-1322
> >> >> >
> >> >> > Thanks
> >> >> > Charlie
> >> >> >
> >> >> > On Tue, Sep 27, 2011 at 3:17 PM, Norman Maurer <
> >> >> [email protected]
> >> >> >> wrote:
> >> >> >
> >> >> >> This sounds like a bug... could you open a jira ticket please ? I
> >> will
> >> >> try
> >> >> >> to have a look tomorrow then...
> >> >> >>
> >> >> >> bye
> >> >> >> norman
> >> >> >>
> >> >> >> Am Dienstag, 27. September 2011 schrieb Charlie Hubbard <
> >> >> >> [email protected]>:
> >> >> >> > Hi,
> >> >> >> >
> >> >> >> > I'm trying to build the Beta4 James WAR file to test on a web
> >> >> container,
> >> >> >> but
> >> >> >> > it fails throwing a FileNotFoundException
> >> >> >> > for /WEB-INF/conf/context/james-server-context.xml.  I opened up
> >> the
> >> >> WAR
> >> >> >> > file and there is no james-server-context.xml, and there is no
> >> >> >> > james-server-context.xml in the source tree anywhere.  It
> possible
> >> >> that
> >> >> >> it's
> >> >> >> > copied from another file, but I dont' see any mvn statements
> that
> >> >> would
> >> >> >> copy
> >> >> >> > that file into the conf/context directory.  I checked out the
> code
> >> >> from
> >> >> >> > trunk and couldn't find the file anywhere.  I have found this
> issue
> >> >> with
> >> >> >> > regards to running James from a WAR file:
> >> >> >> >
> >> >> >> > https://issues.apache.org/jira/browse/JAMES-1274
> >> >> >> >
> >> >> >> > So how do I actually build the WAR file properly so it works?
> >> >> >> >
> >> >> >> > Charlie
> >> >> >> >
> >> >> >>
> >> >> >
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> 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]
>
>

Reply via email to