You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by AJ Chen <ca...@gmail.com> on 2006/05/08 07:32:27 UTC

need help to compile roller

I'm having hard time to get started with roller development.  I had tried it
two months ago and again yesterday. Following the online document, build
always failed for both release 2.1 and source code from subversion.  I'll
appreciate it if someone can point the right direction for me. I'd like to
get the latest stable source code from release or subversion and
instructions that really work.

Thanks,
AJ

Re: need help to compile roller

Posted by Matt Raible <mr...@gmail.com>.
I've found that it's often easier to put a roller.xml in
$CATALINA_HOME/conf/Catalina/localhost.  Point it at your build/roller
directory and everything should work.  If it doesn't, check
$CATALINA_HOME/logs/roller.log.

<Context path="" docBase="c:/source/roller_2.2/build/roller"
debug="99" reloadable="false"
    antiJARLocking="true" antiResourceLocking="false" allowLinking="true">

    <Resource name="jdbc/rollerdb" auth="Container" type="javax.sql.DataSource"
              maxActive="20" maxIdle="10" maxWait="100"
              driverClassName="com.mysql.jdbc.Driver"
              username="root" password=""
              url="jdbc:mysql://localhost/roller"/>

    <Resource name="mail/Session" auth="Container" type="javax.mail.Session"
              mail.smtp.host="localhost" />
</Context>

Hope this helps,

Matt

On 5/9/06, AJ Chen <ca...@gmail.com> wrote:
> Matt, thanks.  This simple step works.
>
>  Now, I have another problem when following the installation guide (for
> 2.3-incubating) to install roller.  I copied the roller directory from build
> directory to {tomcat}\webapps.  Created context configuration file named
> roller.xml and placed it in the Tomcat conf/Catalina/localhost directory.
> Started tomcat 5.5 on windows XP, but  Tomcat failed to start roller. Here
> is the error message:
>
>  INFO: Missing application web.xml, using defaults only
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/roller]
>  May 9, 2006 1:00:14 AM
> org.apache.catalina.core.StandardContext start
>  SEVERE: Error listenerStart
>
>  I checked that there was web.xml in roller\WEB-INF. Any idea what might
> cause the problem?
>
>  Best,
>  AJ
>
>
> On 5/7/06, Matt Raible <mr...@gmail.com> wrote:
> > In my experience, Roller is pretty easy to build.  Just checkout from
> > Subversion and run "ant all".
> >
> > Matt
> >
> > On 5/7/06, AJ Chen <ca...@gmail.com> wrote:
> > > I'm having hard time to get started with roller development.  I had
> tried it
> > > two months ago and again yesterday. Following the online document, build
> > > always failed for both release 2.1 and source code from subversion.
> I'll
> > > appreciate it if someone can point the right direction for me. I'd like
> to
> > > get the latest stable source code from release or subversion and
> > > instructions that really work.
> > >
> > > Thanks,
> > > AJ
> > >
> > >
> >
>
>

Re: need help to compile roller

Posted by AJ Chen <ca...@gmail.com>.
Matt, thanks.  This simple step works.

Now, I have another problem when following the installation guide (for
2.3-incubating) to install roller.  I copied the roller directory from build
directory to {tomcat}\webapps.  Created context configuration file named
roller.xml and placed it in the Tomcat conf/Catalina/localhost directory.
Started tomcat 5.5 on windows XP, but  Tomcat failed to start roller. Here
is the error message:

INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/roller]
May 9, 2006 1:00:14 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart

I checked that there was web.xml in roller\WEB-INF. Any idea what might
cause the problem?

Best,
AJ

On 5/7/06, Matt Raible <mr...@gmail.com> wrote:
>
> In my experience, Roller is pretty easy to build.  Just checkout from
> Subversion and run "ant all".
>
> Matt
>
> On 5/7/06, AJ Chen <ca...@gmail.com> wrote:
> > I'm having hard time to get started with roller development.  I had
> tried it
> > two months ago and again yesterday. Following the online document, build
> > always failed for both release 2.1 and source code from
> subversion.  I'll
> > appreciate it if someone can point the right direction for me. I'd like
> to
> > get the latest stable source code from release or subversion and
> > instructions that really work.
> >
> > Thanks,
> > AJ
> >
> >
>

Re: need help to compile roller

Posted by Matt Raible <mr...@gmail.com>.
In my experience, Roller is pretty easy to build.  Just checkout from
Subversion and run "ant all".

Matt

On 5/7/06, AJ Chen <ca...@gmail.com> wrote:
> I'm having hard time to get started with roller development.  I had tried it
> two months ago and again yesterday. Following the online document, build
> always failed for both release 2.1 and source code from subversion.  I'll
> appreciate it if someone can point the right direction for me. I'd like to
> get the latest stable source code from release or subversion and
> instructions that really work.
>
> Thanks,
> AJ
>
>

Re: need help to compile roller

Posted by 江岭 <li...@gmail.com>.
download roller-tools-2.0-incubating.tar.tar and unzip it to rolloer source
directory,in command line type "build all" to run the build.bat.

On 5/8/06, AJ Chen <ca...@gmail.com> wrote:
>
> I'm having hard time to get started with roller development.  I had tried
> it
> two months ago and again yesterday. Following the online document, build
> always failed for both release 2.1 and source code from subversion.  I'll
> appreciate it if someone can point the right direction for me. I'd like to
> get the latest stable source code from release or subversion and
> instructions that really work.
>
> Thanks,
> AJ
>
>