You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by david <da...@davidwbrown.name> on 2007/10/01 03:33:00 UTC

Re: Build fails @ target: gen-web

Hello Dave, thanks for the speedy reply. The source code location follows:

http://cwiki.apache.org/confluence/display/ROLLER/Roller+Downloads

The above named download includes the so-called jars required for source compile. There are no specific steps as I am an ardent adherer to the command-line usage of Ant. Once I had the roller-web.jar and roller-business.jar and the velocity jars in the classpath I just used the build scripts with the appropriate Ant build arguments as displayed by the Ant usage message i.e. the build default. I issued the following build sequence:

build all

The build AFAICT gets to within a couple of dependencies before it fails at the so-called gen-web build.xml target.

Ultimately, my goal is to build on my Debian box. I will try the same build on my Debian box to compare the outcome of the two build sequences.

Please advise, David.

Dave wrote ..
> I've never seen that problem before. Where did you obtain the source
> code? What are the specific steps required to reproduce the error
> message?
> 
> - Dave
> 
> 
> On 9/30/07, David Brown <dw...@mail2world.com> wrote:
> > Hello roller user, I am in the process of building roller 3.1. Invoking
> > build build chugs along fairly well until the build dependency: gen-web
> > is invoked and the webdoclet taskdef is executed:
> >
> > <webdoclet force="true" destdir="${build.webapp}/WEB-INF"
> > mergedir="../metadata/xdoclet" excludedtags="@version,@author">
> >
> > The following error condition is generated:
> >
> > [webdoclet] (TemplateEngine.invokeMethod 547 ) Invoking method failed:
> > xdoclet.tagshandler.ClassTagsHandler.forAllClasses, line=36 of template
> > file: jar:file:/C:/Documents and Settings/david/My
> > Documents/dev/java/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/l
> > ib/xdoclet-web-module-1.2.3.jar!/xdoclet/modules/web/resources/web_xml.x
> > dt
> >
> > I am not an XDT XML template file expert and I need some very good
> > advice as to how to proceed. I examined web_xml.xdt @ line 36 but it
> is
> > a dead end as to what is wrong.
> >
> > I feel I am very close to a clean build. Attempts to deploy only the
> > roller binary WEBAPP does not fly.
> >
> > I have been studying the roller source for some weeks and now that 4.0
> > is on the doorstep I would like to get 3.1 to build in anticipation of
> > working on 4.0.
> >
> > The particulars follow and thanks in advance, David
> >
> > dev OS: windows XP
> > deployed OS: Debian
> > dev env: command-line
> > roller version: 3.1
> > build.sourcelevel -> 1.4
> >
> > Yet some, not wise, go to the other side of the globe, to barbarous and
> > unhealthy regions, and devote ten or twenty years, in that they may
> > live,-that is, keep comfortably warm,- and die in New England at last.
> > Henry David Thoreau - Walden - 1845
> >
> >
> > Shop & save on all of the office supplies you need. Click now!
> > <http://tagline.bidsystem.com/fc/Ioyw36XJgvF3hETxjbgCzn90PN9O473Iw2lAjtx
> > ZJceM8OAG7pMBV7/>
> >
> >
> >
> > <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2"
> style="font-size:13.5px">_______________________________________________________________<BR>Get
> the Free email that has everyone talking at <a href=http://www.mail2world.com
> target=new>http://www.mail2world.com</a><br>  <font color=#999999>Unlimited
> Email Storage &#150; POP3 &#150; Calendar &#150; SMS &#150; Translator
> &#150; Much More!</font></font></span>

Re: Build fails @ target: gen-web

Posted by Dave <sn...@gmail.com>.
> MailProvider.java:22: package javax.mail does not exist
>     [javac] import javax.mail.MessagingException;

Looks like you forgot steps #3 and #4:

3) Download mail.jar and activation.jar from Sun
4) Place mail.jar and activation.jar in tools/buildtime

- Dave



On 10/2/07, david <da...@davidwbrown.name> wrote:
> Hello Dave, all-went-well until after step #6. Please find the console error output and the results of a little target I like to add to build.xml called: carnac. It is evident there is a problem with the defintion of: ro.tools and basedir. Please find included below. Please advise, David.
>
> C:\dev\apache-roller-src-4.0\apps\weblogger>ant dist
> Buildfile: build.xml
>
> build-business:
>     [mkdir] Created dir: C:\dev\apache-roller-src-4.0\apps\weblogger\build\compile\business
>     [mkdir] Created dir: C:\dev\apache-roller-src-4.0\apps\weblogger\build\lib
>      [exec] Execute failed: java.io.IOException: Cannot run program "svn": CreateProcess error=2, The system cannot find the file specified
>     [javac] Compiling 196 source files to C:\dev\apache-roller-src-4.0\apps\weblogger\build\compile\business
>     [javac] Since fork is false, ignoring memoryInitialSize setting.
>     [javac] Since fork is false, ignoring memoryMaximumSize setting.
>     [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:22: package javax.mail does no
> t exist
>     [javac] import javax.mail.MessagingException;

Re: Build fails @ target: gen-web

Posted by david <da...@davidwbrown.name>.
Hello Dave, all-went-well until after step #6. Please find the console error output and the results of a little target I like to add to build.xml called: carnac. It is evident there is a problem with the defintion of: ro.tools and basedir. Please find included below. Please advise, David.

C:\dev\apache-roller-src-4.0\apps\weblogger>ant dist
Buildfile: build.xml

build-business:
    [mkdir] Created dir: C:\dev\apache-roller-src-4.0\apps\weblogger\build\compile\business
    [mkdir] Created dir: C:\dev\apache-roller-src-4.0\apps\weblogger\build\lib
     [exec] Execute failed: java.io.IOException: Cannot run program "svn": CreateProcess error=2, The system cannot find the file specified
    [javac] Compiling 196 source files to C:\dev\apache-roller-src-4.0\apps\weblogger\build\compile\business
    [javac] Since fork is false, ignoring memoryInitialSize setting.
    [javac] Since fork is false, ignoring memoryMaximumSize setting.
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:22: package javax.mail does no
t exist
    [javac] import javax.mail.MessagingException;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:23: package javax.mail does no
t exist
    [javac] import javax.mail.NoSuchProviderException;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:24: package javax.mail does no
t exist
    [javac] import javax.mail.Session;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:25: package javax.mail does no
t exist
    [javac] import javax.mail.Transport;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:44: cannot find symbol
    [javac] symbol  : class Session
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]     private Session session = null;
    [javac]             ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:108: cannot find symbol
    [javac] symbol  : class Session
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]     public Session getSession() {
    [javac]            ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:116: cannot find symbol
    [javac] symbol  : class Transport
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]     public Transport getTransport() throws NoSuchProviderException, MessagingException {
    [javac]            ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:116: cannot find symbol
    [javac] symbol  : class NoSuchProviderException
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]     public Transport getTransport() throws NoSuchProviderException, MessagingException {
    [javac]                                            ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:116: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]     public Transport getTransport() throws NoSuchProviderException, MessagingException {
    [javac]                                                                     ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:30: package javax.mail does not exist
    [javac] import javax.mail.Message;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:31: package javax.mail does not exist
    [javac] import javax.mail.MessagingException;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:32: package javax.mail does not exist
    [javac] import javax.mail.SendFailedException;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:33: package javax.mail does not exist
    [javac] import javax.mail.Session;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:34: package javax.mail does not exist
    [javac] import javax.mail.Transport;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:35: package javax.mail does not exist
    [javac] import javax.mail.Address;
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:36: package javax.mail.internet does n
ot exist
    [javac] import javax.mail.internet.InternetAddress;
    [javac]                           ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:37: package javax.mail.internet does n
ot exist
    [javac] import javax.mail.internet.MimeMessage;
    [javac]                           ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:585: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             throws MessagingException {
    [javac]                    ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:688: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             throws MessagingException {
    [javac]                    ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:712: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             throws MessagingException {
    [javac]                    ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:741: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             throws MessagingException {
    [javac]                    ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:772: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             throws MessagingException {
    [javac]                    ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:796: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             throws MessagingException {
    [javac]                    ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:829: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             throws MessagingException {
    [javac]                    ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MediacastUtil.java:24: package javax.mail.internet d
oes not exist
    [javac] import javax.mail.internet.ContentType;
    [javac]                           ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:79: cannot find symbol
    [javac] symbol  : class Session
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]                 session = (Session) ctx.lookup(name);
    [javac]                            ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:92: cannot find symbol
    [javac] symbol  : variable Session
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]             session = Session.getDefaultInstance(props, null);
    [javac]                       ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:96: cannot find symbol
    [javac] symbol  : class Transport
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]             Transport transport = getTransport();
    [javac]             ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\business\MailProvider.java:118: cannot find symbol
    [javac] symbol  : class Transport
    [javac] location: class org.apache.roller.weblogger.business.MailProvider
    [javac]         Transport transport = null;
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:81: cannot find symbol
    [javac] symbol  : class Session
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         Session mailSession = WebloggerStartup.getMailProvider().getSession();
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:138: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         } catch (MessagingException e) {
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:151: cannot find symbol
    [javac] symbol  : class Session
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         Session mailSession = WebloggerStartup.getMailProvider().getSession();
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:195: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         } catch (MessagingException e) {
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:208: cannot find symbol
    [javac] symbol  : class Session
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         Session mailSession = WebloggerStartup.getMailProvider().getSession();
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:243: cannot find symbol
    [javac] symbol  : class MessagingException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         } catch (MessagingException e) {
    [javac]                  ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:592: cannot find symbol
    [javac] symbol  : class Session
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         Session session = mailProvider.getSession();
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:593: cannot find symbol
    [javac] symbol  : class Message
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         Message message = new MimeMessage(session);
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:593: cannot find symbol
    [javac] symbol  : class MimeMessage
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         Message message = new MimeMessage(session);
    [javac]                               ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:597: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             InternetAddress sentFrom = new InternetAddress(from);
    [javac]             ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:597: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             InternetAddress sentFrom = new InternetAddress(from);
    [javac]                                            ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:603: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             InternetAddress[] sendTo = new InternetAddress[to.length];
    [javac]             ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:603: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             InternetAddress[] sendTo = new InternetAddress[to.length];
    [javac]                                            ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:606: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]                 sendTo[i] = new InternetAddress(to[i]);
    [javac]                                 ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:609: package Message does not exist
    [javac]             message.setRecipients(Message.RecipientType.TO, sendTo);
    [javac]                                          ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:613: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             InternetAddress[] copyTo = new InternetAddress[cc.length];
    [javac]             ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:613: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             InternetAddress[] copyTo = new InternetAddress[cc.length];
    [javac]                                            ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:616: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]                 copyTo[i] = new InternetAddress(cc[i]);
    [javac]                                 ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:619: package Message does not exist
    [javac]             message.setRecipients(Message.RecipientType.CC, copyTo);
    [javac]                                          ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:623: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             InternetAddress[] copyTo = new InternetAddress[bcc.length];
    [javac]             ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:623: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]             InternetAddress[] copyTo = new InternetAddress[bcc.length];
    [javac]                                            ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:626: cannot find symbol
    [javac] symbol  : class InternetAddress
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]                 copyTo[i] = new InternetAddress(bcc[i]);
    [javac]                                 ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:629: package Message does not exist
    [javac]             message.setRecipients(Message.RecipientType.BCC, copyTo);
    [javac]                                          ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:636: cannot find symbol
    [javac] symbol  : class Address
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         Address[] remainingAddresses = message.getAllRecipients();
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:640: cannot find symbol
    [javac] symbol  : class SendFailedException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         SendFailedException sendex = new SendFailedException("Unable to send message to some recipients");
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:640: cannot find symbol
    [javac] symbol  : class SendFailedException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         SendFailedException sendex = new SendFailedException("Unable to send message to some recipients");
    [javac]                                          ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:642: cannot find symbol
    [javac] symbol  : class Transport
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]         Transport transport = mailProvider.getTransport();
    [javac]         ^
    [javac] C:\dev\apache-roller-src-4.0\apps\weblogger\src\java\org\apache\roller\weblogger\util\MailUtil.java:653: cannot find symbol
    [javac] symbol  : class SendFailedException
    [javac] location: class org.apache.roller.weblogger.util.MailUtil
    [javac]                 } catch(SendFailedException ex) {
    [javac]                         ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 57 errors

BUILD FAILED
C:\dev\apache-roller-src-4.0\apps\weblogger\build.xml:141: Compile failed; see the compiler error output for details.

************************************************************************
At the command-line I run ant carnac:

carnac:
     [echo] user.name  = davidb
     [echo] user.home  = C:\Documents and Settings\davidb
     [echo] java.home  = C:\Program Files\Java\jdk1.6.0_02\jre
     [echo] ant.file  = C:\dev\apache-roller-src-4.0\apps\weblogger\build.xml
     [echo] ant.home  = 1.6
     [echo] ant.version  = Apache Ant version 1.7.0 compiled on December 13 2006
     [echo] basedir   = C:\dev\apache-roller-src-4.0\apps\weblogger
     [echo] ro.tools  = C:\dev\apache-roller-src-4.0\apps\weblogger/../../tools

************************************************************************



Dave wrote ..
> David,
> 
> Thanks for your patience and testing, I have fixed the source download
> for 4.0 so that it includes everything that it should include. You
> should be able to build like so:
> 
> 1) Download one of the source releases from here:
>    http://people.apache.org/~snoopdave/apache-roller-4.0-rc5/
> 2) Unzip into a directory with no spaces
> 3) Download mail.jar and activation.jar from Sun
> 4) Place mail.jar and activation.jar in tools/buildtime
> 5) Change dirs to Roller Weblogger dir 'cd apps/weblogger'
> 6) You might need to set ANT_OPTS=-Xmx512m
> 6) Run build 'ant dist'
> 7) Find build will be in build/webapp
> 
> Oh, and I forgot to mention that Roller 4.0 requires Java 1.5.
> 
> - Dave

Re: Build fails @ target: gen-web

Posted by Dave <sn...@gmail.com>.
David,

Thanks for your patience and testing, I have fixed the source download
for 4.0 so that it includes everything that it should include. You
should be able to build like so:

1) Download one of the source releases from here:
   http://people.apache.org/~snoopdave/apache-roller-4.0-rc5/
2) Unzip into a directory with no spaces
3) Download mail.jar and activation.jar from Sun
4) Place mail.jar and activation.jar in tools/buildtime
5) Change dirs to Roller Weblogger dir 'cd apps/weblogger'
6) You might need to set ANT_OPTS=-Xmx512m
6) Run build 'ant dist'
7) Find build will be in build/webapp

Oh, and I forgot to mention that Roller 4.0 requires Java 1.5.

- Dave

Re: Build fails @ target: gen-web

Posted by Dave <sn...@gmail.com>.
On 10/1/07, david <da...@davidwbrown.name> wrote:
> Hello Dave, thanks for the link. I have the 4.0 src upzipped but unfortunately I have encountered some issues. At the command-line I am invoking ant clean/ant build with the following results:
>
> BUILD FAILED
> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-4.0\build.xml:141: C:\Documents and Settings\davidb\My Documents\tools\lib not found.

Wow. That stinks. Thanks for testing ;-) The source release is borked.
I'm gonna have to do another RC tonight to fix that. In the meantime,
if you don't want to wait, you could try to pull the source directly
from Subversion and build like so:

% svn co https://svn.apache.org/repos/asf/roller/trunk
% cd trunk/apps/weblogger
% ant dist

- Dave

Re: Build fails @ target: gen-web

Posted by david <da...@davidwbrown.name>.
Hello Dave, thanks for the link. I have the 4.0 src upzipped but unfortunately I have encountered some issues. At the command-line I am invoking ant clean/ant build with the following results:

BUILD FAILED
C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-4.0\build.xml:141: C:\Documents and Settings\davidb\My Documents\tools\lib not fou
nd.

In a weak diagnostic effort I issued and studied the output from ant -debug with nothing jumping out at me.
I have studied the properties.xmlf extensively.
I created an additional ant target with the following <echo> messages:

<echo message="base.path		= ${base.path}" />
<echo message="business.path	= ${business.path}" />

And, as expected the above properties do not display.

I also pointed Eclipse to the apache-roller-src-4.0 directory and created a General project with an eclipse builder using the build.xml on disk. This type of Eclipse project is a minimally invasive Eclipse project type and so I do not think Eclipse is doing anything unusual or corrupting. I do find this somewhat mysterious that Eclipse is finding the build error and message as stated above from the command-line results. The difference is that Eclipse is finding this same error condition at various places downstream from line #141. Time allowing please advise, David.

Dave wrote ..
> On 10/1/07, david <da...@davidwbrown.name> wrote:
> > Hello Dave, suggestion understand and executed. The results follow. Not-to-worry:
> I have been working on this for weeks so take your time. Please advise,
> David.
> 
> Looks like you are hitting an out-of-memory problem now. Try upping
> your Ant memory -- take a look at build.sh to see how to do that.
> 
> And by the way, you might want to try a Roller 4.0 RC instead. Roller
> 4.0 is *very* close to release. It's better than 3.1 and if you get up
> and running with 4.0 you won't have to do the 3.1 -> 4.0 upgrade.
> 
> You can find the 4.0 RC4 files here:
> 
>    http://people.apache.org/~snoopdave/apache-roller-4.0-rc4/
> 
> - Dave

Re: Build fails @ target: gen-web

Posted by Dave <sn...@gmail.com>.
On 10/1/07, david <da...@davidwbrown.name> wrote:
> Hello Dave, suggestion understand and executed. The results follow. Not-to-worry: I have been working on this for weeks so take your time. Please advise, David.

Looks like you are hitting an out-of-memory problem now. Try upping
your Ant memory -- take a look at build.sh to see how to do that.

And by the way, you might want to try a Roller 4.0 RC instead. Roller
4.0 is *very* close to release. It's better than 3.1 and if you get up
and running with 4.0 you won't have to do the 3.1 -> 4.0 upgrade.

You can find the 4.0 RC4 files here:

   http://people.apache.org/~snoopdave/apache-roller-4.0-rc4/

- Dave

Re: Build fails @ target: gen-web

Posted by david <da...@davidwbrown.name>.
Hello Dave, suggestion understand and executed. The results follow. Not-to-worry: I have been working on this for weeks so take your time. Please advise, David.

********************************************Start********************************************************
C:\Program Files\Java\jdk1.6.0_02\lib\tools.jar;.\tools\buildtime\ant-1.6.2\ant.jar;.\tools\buildtime\ant-1.6.2\ant-launcher.jar;.\tools\buildtime\ant-1.6.2\ant-junit.jar;.\tools\buildtime\ant-1.6.2\ant-commons-net.jar;.\tools\buildtime\ant-1.6.2\commons-net-1.2.2.jar;.\tools\buildtime\ant-1.6.2\jakarta-oro-2.0.8.jar;.\tools\buildtime\junit-3.8.1.jar
Buildfile: build.xml

gen-wrappers:
  [xdoclet] (XDocletMain.start                   47  ) Running <Pojo Wrappers/>
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.WeblogEntryTagData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.UserData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.planet.pojos.PlanetEntryData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.BookmarkData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.WebsiteData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.CommentData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.WeblogEntryData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.FolderData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.WeblogCategoryData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.EntryAttributeData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.RefererData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.pojos.Template' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.
  [xdoclet] (TemplateSubTask.engineStarted       803 ) Generating output for 'org.apache.roller.planet.pojos.PlanetSubscriptionData' using template file 'file:/C:/dev/apache-roller-src-3.1/metadata/xdoclet/pojo_wrapper.xdt'.

gen-forms:
    [mkdir] Created dir: C:\dev\apache-roller-src-3.1\build\generated\web
[ejbdoclet] (XDocletMain.start                   47  ) Running <strutsform/>
[ejbdoclet] --> WeblogEntryTagDataForm
[ejbdoclet] --> UserDataForm
[ejbdoclet] --> RoleDataForm
[ejbdoclet] --> BookmarkDataForm
[ejbdoclet] --> PlanetGroupDataForm
[ejbdoclet] --> PingTargetDataForm
[ejbdoclet] --> FolderDataForm
[ejbdoclet] --> PlanetConfigDataForm
[ejbdoclet] --> RefererDataForm
[ejbdoclet] --> WebsiteDataForm
[ejbdoclet] --> RollerConfigDataForm
[ejbdoclet] --> ObjectAuditDataForm
[ejbdoclet] --> WebsiteDisplayDataForm
[ejbdoclet] --> CommentDataForm
[ejbdoclet] --> WeblogEntryDataForm
[ejbdoclet] --> PermissionsDataForm
[ejbdoclet] --> WeblogCategoryDataForm
[ejbdoclet] --> WeblogTemplateForm
[ejbdoclet] --> WeblogEntryTagAggregateDataForm
[ejbdoclet] --> PlanetSubscriptionDataForm
[ejbdoclet] (XDocletMain.start                   47  ) Running <dataobject/>
     [move] Moving 16 files to C:\dev\apache-roller-src-3.1\build\generated\web\org\apache\roller\ui\authoring\struts\forms
     [move] Moving 3 files to C:\dev\apache-roller-src-3.1\build\generated\web\org\apache\roller\planet\ui\authoring\struts\forms

generate:

gen-business:
[hibernatedoclet] (XDocletMain.start                   47  ) Running <hibernate/>
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.WeblogEntryTagData.
[hibernatedoclet]    org.apache.roller.pojos.WeblogEntryTagData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.UserData.
[hibernatedoclet]    org.apache.roller.pojos.UserData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.RoleData.
[hibernatedoclet]    org.apache.roller.pojos.RoleData
[hibernatedoclet] Generating mapping file for org.apache.roller.planet.pojos.PlanetEntryData.
[hibernatedoclet]    org.apache.roller.planet.pojos.PlanetEntryData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.BookmarkData.
[hibernatedoclet]    org.apache.roller.pojos.BookmarkData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.FolderAssoc.
[hibernatedoclet]    org.apache.roller.pojos.FolderAssoc
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.PingCategoryRestrictionData.
[hibernatedoclet]    org.apache.roller.pojos.PingCategoryRestrictionData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.TaskLockData.
[hibernatedoclet]    org.apache.roller.pojos.TaskLockData
[hibernatedoclet] Generating mapping file for org.apache.roller.planet.pojos.PlanetGroupData.
[hibernatedoclet]    org.apache.roller.planet.pojos.PlanetGroupData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.PingTargetData.
[hibernatedoclet]    org.apache.roller.pojos.PingTargetData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.WeblogCategoryAssoc.
[hibernatedoclet]    org.apache.roller.pojos.WeblogCategoryAssoc
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.FolderData.
[hibernatedoclet]    org.apache.roller.pojos.FolderData
[hibernatedoclet] Generating mapping file for org.apache.roller.planet.pojos.PlanetConfigData.
[hibernatedoclet]    org.apache.roller.planet.pojos.PlanetConfigData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.EntryAttributeData.
[hibernatedoclet]    org.apache.roller.pojos.EntryAttributeData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.RefererData.
[hibernatedoclet]    org.apache.roller.pojos.RefererData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.PingQueueEntryData.
[hibernatedoclet]    org.apache.roller.pojos.PingQueueEntryData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.WebsiteData.
[hibernatedoclet]    org.apache.roller.pojos.WebsiteData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.RollerPropertyData.
[hibernatedoclet]    org.apache.roller.pojos.RollerPropertyData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.RollerConfigData.
[hibernatedoclet]    org.apache.roller.pojos.RollerConfigData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.HitCountData.
[hibernatedoclet]    org.apache.roller.pojos.HitCountData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.ObjectAuditData.
[hibernatedoclet]    org.apache.roller.pojos.ObjectAuditData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.CommentData.
[hibernatedoclet]    org.apache.roller.pojos.CommentData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.AutoPingData.
[hibernatedoclet]    org.apache.roller.pojos.AutoPingData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.WeblogEntryData.
[hibernatedoclet]    org.apache.roller.pojos.WeblogEntryData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.PermissionsData.
[hibernatedoclet]    org.apache.roller.pojos.PermissionsData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.WeblogCategoryData.
[hibernatedoclet]    org.apache.roller.pojos.WeblogCategoryData
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.WeblogTemplate.
[hibernatedoclet]    org.apache.roller.pojos.WeblogTemplate
[hibernatedoclet] Generating mapping file for org.apache.roller.pojos.WeblogEntryTagAggregateData.
[hibernatedoclet]    org.apache.roller.pojos.WeblogEntryTagAggregateData
[hibernatedoclet] Generating mapping file for org.apache.roller.planet.pojos.PlanetSubscriptionData.
[hibernatedoclet]    org.apache.roller.planet.pojos.PlanetSubscriptionData

stage-dbscripts:
    [mkdir] Created dir: C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts
     [copy] Copying 1 file to C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts
    [texen] Using contextProperties file: C:\dev\apache-roller-src-3.1\metadata\database\mysql.properties
    [texen] C:\dev\apache-roller-src-3.1/metadata/database/
    [texen] Generating to file C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts\mysql\README.txt
    [texen] Using contextProperties file: C:\dev\apache-roller-src-3.1\metadata\database\postgresql.properties
    [texen] C:\dev\apache-roller-src-3.1/metadata/database/
    [texen] Generating to file C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts\postgresql\README.txt
    [texen] Using contextProperties file: C:\dev\apache-roller-src-3.1\metadata\database\hsqldb.properties
    [texen] C:\dev\apache-roller-src-3.1/metadata/database/
    [texen] Generating to file C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts\hsqldb\README.txt
    [texen] Using contextProperties file: C:\dev\apache-roller-src-3.1\metadata\database\derby.properties
    [texen] C:\dev\apache-roller-src-3.1/metadata/database/
    [texen] Generating to file C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts\derby\README.txt
    [texen] Using contextProperties file: C:\dev\apache-roller-src-3.1\metadata\database\db2.properties
    [texen] C:\dev\apache-roller-src-3.1/metadata/database/
    [texen] Generating to file C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts\db2\README.txt
    [texen] Using contextProperties file: C:\dev\apache-roller-src-3.1\metadata\database\oracle.properties
    [texen] C:\dev\apache-roller-src-3.1/metadata/database/
    [texen] Generating to file C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts\oracle\README.txt
    [texen] Using contextProperties file: C:\dev\apache-roller-src-3.1\metadata\database\mssql.properties
    [texen] C:\dev\apache-roller-src-3.1/metadata/database/
    [texen] Generating to file C:\dev\apache-roller-src-3.1\build\webapp\WEB-INF\dbscripts\mssql\README.txt

build-business:
    [mkdir] Created dir: C:\dev\apache-roller-src-3.1\build\lib
    [javac] Compiling 190 source files to C:\dev\apache-roller-src-3.1\build\compile\business
    [javac] C:\dev\apache-roller-src-3.1\src\org\apache\roller\util\Utilities.java:27: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
    [javac] import sun.misc.BASE64Decoder;
    [javac]                ^
    [javac] C:\dev\apache-roller-src-3.1\src\org\apache\roller\util\Utilities.java:28: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release
    [javac] import sun.misc.BASE64Encoder;
    [javac]                ^
    [javac] C:\dev\apache-roller-src-3.1\src\org\apache\roller\util\Utilities.java:436: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release
    [javac]         BASE64Encoder encoder = new BASE64Encoder();
    [javac]         ^
    [javac] C:\dev\apache-roller-src-3.1\src\org\apache\roller\util\Utilities.java:436: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release
    [javac]         BASE64Encoder encoder = new BASE64Encoder();
    [javac]                                     ^
    [javac] C:\dev\apache-roller-src-3.1\src\org\apache\roller\util\Utilities.java:450: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
    [javac]         BASE64Decoder dec = new BASE64Decoder();
    [javac]         ^
    [javac] C:\dev\apache-roller-src-3.1\src\org\apache\roller\util\Utilities.java:450: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
    [javac]         BASE64Decoder dec = new BASE64Decoder();
    [javac]                                 ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 6 warnings
      [jar] Building jar: C:\dev\apache-roller-src-3.1\build\lib\roller-business.jar

gen-web:
    [mkdir] Created dir: C:\dev\apache-roller-src-3.1\build\compile\web\META-INF\tlds
[webdoclet] (XDocletMain.start                   47  ) Running <deploymentdescriptor/>
[webdoclet] Generating web.xml.
[webdoclet] (TemplateEngine.invokeMethod         547 ) Invoking method failed: xdoclet.tagshandler.ClassTagsHandler.forAllClasses, line=36 of template file: jar:file:/C:/dev/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/lib/xdoclet-web-module-1.2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt
[webdoclet] java.lang.reflect.InvocationTargetException
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[webdoclet] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet] 	at java.lang.reflect.Method.invoke(Method.java:597)
[webdoclet] 	at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:540)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:965)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:932)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:472)
[webdoclet] 	at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:348)
[webdoclet] 	at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:742)
[webdoclet] 	at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java:297)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[webdoclet] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet] 	at java.lang.reflect.Method.invoke(Method.java:597)
[webdoclet] 	at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:540)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:965)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:932)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:472)
[webdoclet] 	at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:348)
[webdoclet] 	at xdoclet.template.TemplateEngine.start(TemplateEngine.java:415)
[webdoclet] 	at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:562)
[webdoclet] 	at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:618)
[webdoclet] 	at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:599)
[webdoclet] 	at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:227)
[webdoclet] 	at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java:390)
[webdoclet] 	at xdoclet.XDocletMain.start(XDocletMain.java:48)
[webdoclet] 	at xdoclet.DocletTask.start(DocletTask.java:468)
[webdoclet] 	at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105)
[webdoclet] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[webdoclet] 	at org.apache.tools.ant.Task.perform(Task.java:364)
[webdoclet] 	at org.apache.tools.ant.Target.execute(Target.java:341)
[webdoclet] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
[webdoclet] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[webdoclet] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[webdoclet] 	at org.apache.tools.ant.Main.runBuild(Main.java:673)
[webdoclet] 	at org.apache.tools.ant.Main.startAnt(Main.java:188)
[webdoclet] 	at org.apache.tools.ant.Main.start(Main.java:151)
[webdoclet] 	at org.apache.tools.ant.Main.main(Main.java:241)
[webdoclet] Caused by: java.lang.OutOfMemoryError: Java heap space
[webdoclet] 	at xjavadoc.Token.newToken(Token.java:77)
[webdoclet] 	at xjavadoc.SimpleParserTokenManager.jjFillToken(SimpleParserTokenManager.java:1558)
[webdoclet] 	at xjavadoc.SimpleParserTokenManager.getNextToken(SimpleParserTokenManager.java:1653)
[webdoclet] 	at xjavadoc.SimpleParser.jj_consume_token(SimpleParser.java:7743)
[webdoclet] 	at xjavadoc.SimpleParser.ArgumentList(SimpleParser.java:2561)
[webdoclet] 	at xjavadoc.SimpleParser.Arguments(SimpleParser.java:2540)
[webdoclet] 	at xjavadoc.SimpleParser.AllocationExpression(SimpleParser.java:2585)
[webdoclet] 	at xjavadoc.SimpleParser.PrimaryPrefix(SimpleParser.java:2409)
[webdoclet] 	at xjavadoc.SimpleParser.PrimaryExpression(SimpleParser.java:2372)
[webdoclet] 	at xjavadoc.SimpleParser.PostfixExpression(SimpleParser.java:2326)
[webdoclet] 	at xjavadoc.SimpleParser.UnaryExpressionNotPlusMinus(SimpleParser.java:2251)
[webdoclet] 	at xjavadoc.SimpleParser.UnaryExpression(SimpleParser.java:2187)
[webdoclet] 	at xjavadoc.SimpleParser.MultiplicativeExpression(SimpleParser.java:2108)
[webdoclet] 	at xjavadoc.SimpleParser.AdditiveExpression(SimpleParser.java:2079)
[webdoclet] 	at xjavadoc.SimpleParser.ShiftExpression(SimpleParser.java:2046)
[webdoclet] 	at xjavadoc.SimpleParser.RelationalExpression(SimpleParser.java:2009)
[webdoclet] 	at xjavadoc.SimpleParser.InstanceOfExpression(SimpleParser.java:1996)
[webdoclet] 	at xjavadoc.SimpleParser.EqualityExpression(SimpleParser.java:1967)
[webdoclet] 	at xjavadoc.SimpleParser.AndExpression(SimpleParser.java:1950)
[webdoclet] 	at xjavadoc.SimpleParser.ExclusiveOrExpression(SimpleParser.java:1933)
[webdoclet] 	at xjavadoc.SimpleParser.InclusiveOrExpression(SimpleParser.java:1916)
[webdoclet] 	at xjavadoc.SimpleParser.ConditionalAndExpression(SimpleParser.java:1899)
[webdoclet] 	at xjavadoc.SimpleParser.ConditionalOrExpression(SimpleParser.java:1882)
[webdoclet] 	at xjavadoc.SimpleParser.ConditionalExpression(SimpleParser.java:1867)
[webdoclet] 	at xjavadoc.SimpleParser.Expression(SimpleParser.java:1798)
[webdoclet] 	at xjavadoc.SimpleParser.ReturnStatement(SimpleParser.java:3470)
[webdoclet] 	at xjavadoc.SimpleParser.Statement(SimpleParser.java:2732)
[webdoclet] 	at xjavadoc.SimpleParser.BlockStatement(SimpleParser.java:2927)
[webdoclet] 	at xjavadoc.SimpleParser.Block(SimpleParser.java:2811)
[webdoclet] 	at xjavadoc.SimpleParser.Statement(SimpleParser.java:2679)
[webdoclet] 	at xjavadoc.SimpleParser.IfStatement(SimpleParser.java:3221)
[webdoclet] 	at xjavadoc.SimpleParser.Statement(SimpleParser.java:2714)
[webdoclet] (XDocletMain.start                   53  ) Running XDoclet failed.
[webdoclet] (XDocletMain.start                   54  ) <<Running XDoclet failed.: xdoclet.template.TemplateException: Invoking method in class xdoclet.tagshandler.ClassTagsHandler failed: forAllClasses, line=36 of template file: jar:file:/C:/dev/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/lib/xdoclet-web-module-1.2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt, exception: null>>
[webdoclet] xdoclet.template.TemplateException: Invoking method in class xdoclet.tagshandler.ClassTagsHandler failed: forAllClasses, line=36 of template file: jar:file:/C:/dev/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/lib/xdoclet-web-module-1.2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt, exception: null
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:548)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:965)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:932)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:472)
[webdoclet] 	at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:348)
[webdoclet] 	at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:742)
[webdoclet] 	at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java:297)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[webdoclet] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet] 	at java.lang.reflect.Method.invoke(Method.java:597)
[webdoclet] 	at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:540)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:965)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:932)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:472)
[webdoclet] 	at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:348)
[webdoclet] 	at xdoclet.template.TemplateEngine.start(TemplateEngine.java:415)
[webdoclet] 	at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:562)
[webdoclet] 	at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:618)
[webdoclet] 	at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:599)
[webdoclet] 	at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:227)
[webdoclet] 	at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java:390)
[webdoclet] 	at xdoclet.XDocletMain.start(XDocletMain.java:48)
[webdoclet] 	at xdoclet.DocletTask.start(DocletTask.java:468)
[webdoclet] 	at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105)
[webdoclet] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[webdoclet] 	at org.apache.tools.ant.Task.perform(Task.java:364)
[webdoclet] 	at org.apache.tools.ant.Target.execute(Target.java:341)
[webdoclet] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
[webdoclet] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[webdoclet] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[webdoclet] 	at org.apache.tools.ant.Main.runBuild(Main.java:673)
[webdoclet] 	at org.apache.tools.ant.Main.startAnt(Main.java:188)
[webdoclet] 	at org.apache.tools.ant.Main.start(Main.java:151)
[webdoclet] 	at org.apache.tools.ant.Main.main(Main.java:241)
[webdoclet] C:\dev\apache-roller-src-3.1\build.xml:256: XDoclet failed.
[webdoclet] 	at xdoclet.DocletTask.start(DocletTask.java:471)
[webdoclet] 	at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105)
[webdoclet] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[webdoclet] 	at org.apache.tools.ant.Task.perform(Task.java:364)
[webdoclet] 	at org.apache.tools.ant.Target.execute(Target.java:341)
[webdoclet] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
[webdoclet] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[webdoclet] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[webdoclet] 	at org.apache.tools.ant.Main.runBuild(Main.java:673)
[webdoclet] 	at org.apache.tools.ant.Main.startAnt(Main.java:188)
[webdoclet] 	at org.apache.tools.ant.Main.start(Main.java:151)
[webdoclet] 	at org.apache.tools.ant.Main.main(Main.java:241)
[webdoclet] Caused by: xdoclet.XDocletException: Running XDoclet failed.: xdoclet.template.TemplateException: Invoking method in class xdoclet.tagshandler.ClassTagsHandler failed: forAllClasses, line=36 of template file: jar:file:/C:/dev/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/lib/xdoclet-web-module-1.2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt, exception: null
[webdoclet] 	at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:750)
[webdoclet] 	at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java:297)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[webdoclet] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet] 	at java.lang.reflect.Method.invoke(Method.java:597)
[webdoclet] 	at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:540)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:965)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:932)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:472)
[webdoclet] 	at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:348)
[webdoclet] 	at xdoclet.template.TemplateEngine.start(TemplateEngine.java:415)
[webdoclet] 	at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:562)
[webdoclet] 	at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:618)
[webdoclet] 	at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:599)
[webdoclet] 	at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:227)
[webdoclet] 	at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java:390)
[webdoclet] 	at xdoclet.XDocletMain.start(XDocletMain.java:48)
[webdoclet] 	at xdoclet.DocletTask.start(DocletTask.java:468)
[webdoclet] 	... 11 more
[webdoclet] --- Nested Exception ---
[webdoclet] xdoclet.XDocletException: Running XDoclet failed.: xdoclet.template.TemplateException: Invoking method in class xdoclet.tagshandler.ClassTagsHandler failed: forAllClasses, line=36 of template file: jar:file:/C:/dev/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/lib/xdoclet-web-module-1.2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt, exception: null
[webdoclet] 	at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:750)
[webdoclet] 	at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java:297)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[webdoclet] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[webdoclet] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[webdoclet] 	at java.lang.reflect.Method.invoke(Method.java:597)
[webdoclet] 	at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:540)
[webdoclet] 	at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:965)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:932)
[webdoclet] 	at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:472)
[webdoclet] 	at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:348)
[webdoclet] 	at xdoclet.template.TemplateEngine.start(TemplateEngine.java:415)
[webdoclet] 	at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:562)
[webdoclet] 	at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:618)
[webdoclet] 	at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:599)
[webdoclet] 	at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:227)
[webdoclet] 	at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java:390)
[webdoclet] 	at xdoclet.XDocletMain.start(XDocletMain.java:48)
[webdoclet] 	at xdoclet.DocletTask.start(DocletTask.java:468)
[webdoclet] 	at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105)
[webdoclet] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[webdoclet] 	at org.apache.tools.ant.Task.perform(Task.java:364)
[webdoclet] 	at org.apache.tools.ant.Target.execute(Target.java:341)
[webdoclet] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
[webdoclet] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[webdoclet] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[webdoclet] 	at org.apache.tools.ant.Main.runBuild(Main.java:673)
[webdoclet] 	at org.apache.tools.ant.Main.startAnt(Main.java:188)
[webdoclet] 	at org.apache.tools.ant.Main.start(Main.java:151)
[webdoclet] 	at org.apache.tools.ant.Main.main(Main.java:241)

BUILD FAILED
C:\dev\apache-roller-src-3.1\build.xml:256: Unexpected error
********************************************End**********************************************************

Dave wrote ..
> Thanks for the details!  I don't have time for a full response at the
> moment, but there is one thing to try. You have your source code in a
> directory with spaces "My Documents" and sometimes that causes
> problems for Java based tools. Try moving your directory to
> c:\dev\apache-roller-src-3.1 instead.
> 
> - Dave
> 
> 
> 
> On 10/1/07, david <da...@davidwbrown.name> wrote:
> > Hello Dave, thanks for the feedback. I have switched machines but similar
> environment. And, roller never installed on this machine. Here are my steps:
> >
> > 1. Downloaded: http://www.apache.org/dist/roller/roller-3/v3.1.0/src/apache-roller-src-3.1.zip
> > 2. Unzipped the above linked file in my dev directory.
> > 3. Downloaded: https://roller.dev.java.net/files/documents/190/51368/required-jars-roller-src-3.1.zip
> > 4. Unzipped the above linked file in my dev/apache-roller-src-3.1 directory
> such that the tools directory overwrites the existing tools directory.
> > 5. CD to dev/apache-roller-src-3.1 directory.
> > 6. Invoked at the command-line: build all
> >
> > *******************************************Build Results*****************************************
> >
> > BUILD FAILED C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml:256:
> Unexpected error
> >
> > ********************************build.xml:256*********************************
> >
> > excludedtags="@version,@author">
> >
> > *******************************build.xml:webdoclet tag************************
> >
> > <webdoclet force="true"
> >         destdir="${build.webapp}/WEB-INF"
> >         mergedir="./metadata/xdoclet"
> >         excludedtags="@version,@author">
> >
> > *************************************Errors*********************************
> >
> > [webdoclet] (TemplateEngine.invokeMethod         547 ) Invoking method
> failed: xdoclet.tagshandler.ClassTagsHandler.forAllClasses, line=36 of
> template
> >  file: jar:file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/lib/xdoclet-web-module-1.
> > 2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt
> >
> > *********************************ant -debug********************************
> >
> > C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1>ant
> -debug
> > Apache Ant version 1.7.0 compiled on December 13 2006
> > Buildfile: build.xml
> > Adding reference: ant.PropertyHelper
> > Detected Java version: 1.6 in: C:\Program Files\Java\jdk1.6.0_02\jre
> > Detected OS: Windows XP
> > Adding reference: ant.ComponentHelper
> > Setting ro project property: ant.file -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1\build.xml
> > Adding reference: ant.projectHelper
> > Adding reference: ant.parsing.context
> > Adding reference: ant.targets
> > parsing buildfile C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml
> with URI = file:/C:/Documents%20and%20Settings/dav
> > idb/My%20Documents/dev/apache-roller-src-3.1/build.xml
> > Setting ro project property: ant.project.name -> roller
> > Adding reference: roller
> > Setting ro project property: ant.file.roller -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1\build.xml
> > Project base dir set to: C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1
> >  +Target:
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/properties.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\properties.xmlf
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-ant.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-ant.xmlf
> >  +Target: debug-selected-files
> >  +Target: test-selected-files
> >  +Target: usage
> >  +Target: all
> >  +Target: build
> >  +Target: rebuild
> >  +Target: clean
> >  +Target: generate
> >  +Target: gen-business
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-business.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-business.xmlf
> >  +Target: gen-wrappers
> >  +Target: gen-forms
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-web.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-web.xmlf
> >  +Target: gen-web
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-web.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-web.xmlf
> >  +Target: build-business
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-build-business.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-build-business.xmlf
> >  +Target: build-web
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-src-web.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-src-web.xmlf
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-build-web.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-build-web.xmlf
> >  +Target: stage-webapp
> >  +Target: copy-webapp
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-web.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-web.xmlf
> >  +Target: stage-dbscripts
> >  +Target: docs
> >  +Target: javadoc
> >  +Target: velocidoc
> >  +Target: apache-release
> >  +Target: stage-binary
> >  +Target: dist-binary
> >  +Target: apache-binary
> >  +Target: stage-sources
> >  +Target: dist-sources
> >  +Target: apache-sources
> >  +Target: version-check
> >  +Target: tests
> >  +Target: clean-tests
> >  +Target: build-tests
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-src-tests.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-src-tests.xmlf
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
> >  +Target: test-business
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-pre-dbtest.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-pre-dbtest.xmlf
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-post-dbtest.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-post-dbtest.xmlf
> >  +Target: test-presentation
> >  +Target: test-utils
> >  +Target: test-aapp
> >  +Target: test-aapp-sdk
> >  +Target: test-aapp-handler
> >  +Target: test-one
> >  +Target: deploy-tomcat
> >  +Target: deploy-resin
> >  +Target: deploy-isp
> >  +Target: clean-isp
> >  +Target: official-release
> >  +Target: consistency-check
> >  +Target: compile-jsps
> >  +Target: init-db
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-post-dbtest.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-post-dbtest.xmlf
> > resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-pre-dbtest.xmlf
> > file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-pre-dbtest.xmlf
> >  +Target: start-db
> >  +Target: stop-db
> >  +Target: aapp-sdk
> > [antlib:org.apache.tools.ant] Could not load definitions from resource
> org/apache/tools/ant/antlib.xml. It could not be found.
> > Setting project property: java15.present -> true
> >  [property] Loading C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\ant.properties
> > Setting project property: ro.version -> 3.1
> > Setting project property: catalina.home -> /export/home/dave/tomcat/
> > Setting project property: build.deprecation -> false
> > Setting project property: build.sourcelevel -> 1.4
> > Setting project property: ro.name -> apache-roller
> > Setting project property: build.debug -> true
> > Setting project property: project.dir -> /Users/dave/roller_trunk
> > Override ignored for property "basedir"
> > Setting project property: ro.build -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build
> > Setting project property: ro.dist -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/dist
> > Setting project property: ro.src -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/src
> > Setting project property: ro.tools -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/tools
> > Setting project property: ro.tests -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/tests
> > Setting project property: build.generated -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/generated
> > Setting project property: build.generated.business -> C:\Documents and
> Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/generated/business
> >
> > Setting project property: build.generated.web -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/generated/web
> > Setting project property: build.compile -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/compile
> > Setting project property: build.compile.business -> C:\Documents and
> Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/business
> > Setting project property: build.compile.web -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/compile/web
> > Setting project property: build.compile.contrib -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/compile/contrib
> > Setting project property: build.compile.tests -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/compile/tests
> > Setting project property: build.lib -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/lib
> > Setting project property: build.webapp -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/webapp
> > Setting project property: build.dist -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/release
> > Setting project property: build.dist.apache -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/release/apache
> > Setting project property: build.dist.binary -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/release/apache-roller-3.1
> >
> > Setting project property: build.dist.sources -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/release/apache-roller-sr
> > c-3.1
> > Setting project property: build.tests -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/tests
> > Setting project property: build.reports -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/tests/reports
> > Setting project property: build.docs -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/docs
> > Setting project property: build.javadoc -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/docs/javadoc
> > Setting project property: build.velocidoc -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/docs/velocidoc
> > Setting project property: build.jspc -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/build/jspc
> > Setting project property: tools.struts -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/tools/struts-1.2.4
> > Setting project property: tools.hibernate -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/tools/hibernate-3.1
> > Setting project property: tools.spring -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/tools/spring-1.2
> > Setting project property: tools.jstl -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/tools/jakarta-taglibs-standard-1.1.2
> > Setting project property: tools.xdoclet -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3
> > Setting project property: tools.tomcat -> C:\Documents and Settings\davidb\My
> Documents\dev\apache-roller-src-3.1/tools/buildtime/tomcat-5.0.28
> > Adding reference: base.jars
> > Adding reference: presentation.jars
> > Adding reference: commons.jars
> > Adding reference: commons-httpclient.jar
> > Adding reference: struts.jars
> > Adding reference: servlet.jars
> > Adding reference: mail.jars
> > Adding reference: jstl.jars
> > Adding reference: hibernate.jar
> > Adding reference: hibernate.jars
> > Adding reference: spring.jars
> > Adding reference: base.path
> > Adding reference: business.path
> > Adding reference: presentation.path
> > Adding reference: javadoc.path
> > Adding reference: xdoclet.path
> > Adding reference: webdoclet.path
> > Adding reference: tests.path
> > Adding reference: tests.run.path
> > Adding reference: jasper.path
> > Adding reference: jsp.compile.path
> > Adding reference: findbugs.path
> > Setting project property: testClass -> org.apache.roller.presentation.velocity.plugins.smileys.SmileysTest
> > Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
> > Adding reference: ant.executor
> > Build sequence for target(s) `usage' is [usage]
> > Complete build sequence is [usage, javadoc, init-db, test-aapp-sdk, test-aapp-handler,
> test-aapp, gen-wrappers, gen-forms, generate, build-business, b
> > uild-web, build-tests, clean-tests, version-check, stage-sources, clean,
> gen-business, gen-web, copy-webapp, stage-webapp, all, rebuild, dist-sources,
> >  test-business, test-presentation, test-utils, tests, build, aapp-sdk,
> stage-dbscripts, stage-binary, apache-binary, apache-sources, apache-release,
> o
> > fficial-release, clean-isp, deploy-isp, test-one, deploy-tomcat, debug-selected-files,
> consistency-check, test-selected-files, velocidoc, docs, stop-d
> > b, start-db, compile-jsps, dist-binary, deploy-resin, ]
> >
> > usage:
> >      [echo]
> >      [echo] Key Targets:
> >      [echo]                 all - Build all: gen wrappers/forms, compile,
> gen web, gen O/R mappings, stage webapp
> >      [echo]               build - Same as 'all' but NO code gen
> >      [echo]        stage-webapp - Build almost all: compile, gen web,
> gen O/R mappings, stage webapp
> >      [echo]      apache-release - Build binary and source release files
> >      [echo]               clean - Blow away all generated code and all
> byte code
> >      [echo]             rebuild - Clean and build all
> >      [echo]
> >      [echo]               tests - Build and run all JUnit tests
> >      [echo]         build-tests - Build all JUnit tests
> >      [echo]       test-business - Start DB, run business layer tests,
> stop DB
> >      [echo]   test-presentation - Run presentation layer tests
> >      [echo]          test-utils - Run utility tests
> >      [echo]
> >      [echo]            start-db - Start test DB
> >      [echo]             init-db - Initialize a running test DB
> >      [echo]             stop-db - Stop test DB
> >      [echo]
> >      [echo]                docs - Build all docs
> >      [echo]             javadoc - Build javadocs
> >      [echo]          velocidocs - Build velocidocs
> >      [echo]
> >      [echo]               usage - Print this help text...
> >
> > BUILD SUCCESSFUL
> >
> > Dave wrote ..
> > > On 9/30/07, david <da...@davidwbrown.name> wrote:
> > > > Hello Dave, thanks for the speedy reply. The source code location
> follows:
> > > > http://cwiki.apache.org/confluence/display/ROLLER/Roller+Downloads
> > > > The above named download includes the so-called jars required for
> source
> > > compile. There are no specific steps as I am an ardent adherer to the
> command-line
> > > usage of Ant.
> > >
> > > > Once I had the roller-web.jar and roller-business.jar and the velocity
> > > jars in the classpath
> > >
> > > I still don't understand what you are doing. There is no need to put
> > > anything in the Ant classpath before running Ant. Are you following
> > > some instructions that tell you to do that?
> > >
> > > I cannot reproduce the problem you are encountering so if you want
> any
> > > help you are going to have to be *very* specific about exactly what
> > > you are doing. What files did you download, what commands did you run
> > > to build, etc.
> > >
> > > There's no need to setup a classpath or add anything to classpath.
> > > All you should need to do is this:
> > >
> > > - Download and un-tar the source
> > > - Download and un-tar the required jars in the same directory
> > > - Run './build.sh rebuild' or 'ant rebuild' (assuming you have Ant
> 1.6
> > > or later)
> > > - Find the Roller webapp in build/webapp
> > >
> > > - Dave
> >

Re: Build fails @ target: gen-web

Posted by Dave <sn...@gmail.com>.
Thanks for the details!  I don't have time for a full response at the
moment, but there is one thing to try. You have your source code in a
directory with spaces "My Documents" and sometimes that causes
problems for Java based tools. Try moving your directory to
c:\dev\apache-roller-src-3.1 instead.

- Dave



On 10/1/07, david <da...@davidwbrown.name> wrote:
> Hello Dave, thanks for the feedback. I have switched machines but similar environment. And, roller never installed on this machine. Here are my steps:
>
> 1. Downloaded: http://www.apache.org/dist/roller/roller-3/v3.1.0/src/apache-roller-src-3.1.zip
> 2. Unzipped the above linked file in my dev directory.
> 3. Downloaded: https://roller.dev.java.net/files/documents/190/51368/required-jars-roller-src-3.1.zip
> 4. Unzipped the above linked file in my dev/apache-roller-src-3.1 directory such that the tools directory overwrites the existing tools directory.
> 5. CD to dev/apache-roller-src-3.1 directory.
> 6. Invoked at the command-line: build all
>
> *******************************************Build Results*****************************************
>
> BUILD FAILED C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml:256: Unexpected error
>
> ********************************build.xml:256*********************************
>
> excludedtags="@version,@author">
>
> *******************************build.xml:webdoclet tag************************
>
> <webdoclet force="true"
>         destdir="${build.webapp}/WEB-INF"
>         mergedir="./metadata/xdoclet"
>         excludedtags="@version,@author">
>
> *************************************Errors*********************************
>
> [webdoclet] (TemplateEngine.invokeMethod         547 ) Invoking method failed: xdoclet.tagshandler.ClassTagsHandler.forAllClasses, line=36 of template
>  file: jar:file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/lib/xdoclet-web-module-1.
> 2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt
>
> *********************************ant -debug********************************
>
> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1>ant -debug
> Apache Ant version 1.7.0 compiled on December 13 2006
> Buildfile: build.xml
> Adding reference: ant.PropertyHelper
> Detected Java version: 1.6 in: C:\Program Files\Java\jdk1.6.0_02\jre
> Detected OS: Windows XP
> Adding reference: ant.ComponentHelper
> Setting ro project property: ant.file -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml
> Adding reference: ant.projectHelper
> Adding reference: ant.parsing.context
> Adding reference: ant.targets
> parsing buildfile C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml with URI = file:/C:/Documents%20and%20Settings/dav
> idb/My%20Documents/dev/apache-roller-src-3.1/build.xml
> Setting ro project property: ant.project.name -> roller
> Adding reference: roller
> Setting ro project property: ant.file.roller -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml
> Project base dir set to: C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1
>  +Target:
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/properties.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\properties.xmlf
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-ant.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-ant.xmlf
>  +Target: debug-selected-files
>  +Target: test-selected-files
>  +Target: usage
>  +Target: all
>  +Target: build
>  +Target: rebuild
>  +Target: clean
>  +Target: generate
>  +Target: gen-business
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-business.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-business.xmlf
>  +Target: gen-wrappers
>  +Target: gen-forms
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-web.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-web.xmlf
>  +Target: gen-web
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-web.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-web.xmlf
>  +Target: build-business
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-build-business.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-build-business.xmlf
>  +Target: build-web
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-src-web.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-src-web.xmlf
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-build-web.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-build-web.xmlf
>  +Target: stage-webapp
>  +Target: copy-webapp
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-web.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-web.xmlf
>  +Target: stage-dbscripts
>  +Target: docs
>  +Target: javadoc
>  +Target: velocidoc
>  +Target: apache-release
>  +Target: stage-binary
>  +Target: dist-binary
>  +Target: apache-binary
>  +Target: stage-sources
>  +Target: dist-sources
>  +Target: apache-sources
>  +Target: version-check
>  +Target: tests
>  +Target: clean-tests
>  +Target: build-tests
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-src-tests.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-src-tests.xmlf
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
>  +Target: test-business
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-pre-dbtest.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-pre-dbtest.xmlf
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-post-dbtest.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-post-dbtest.xmlf
>  +Target: test-presentation
>  +Target: test-utils
>  +Target: test-aapp
>  +Target: test-aapp-sdk
>  +Target: test-aapp-handler
>  +Target: test-one
>  +Target: deploy-tomcat
>  +Target: deploy-resin
>  +Target: deploy-isp
>  +Target: clean-isp
>  +Target: official-release
>  +Target: consistency-check
>  +Target: compile-jsps
>  +Target: init-db
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-post-dbtest.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-post-dbtest.xmlf
> resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-pre-dbtest.xmlf
> file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-pre-dbtest.xmlf
>  +Target: start-db
>  +Target: stop-db
>  +Target: aapp-sdk
> [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
> Setting project property: java15.present -> true
>  [property] Loading C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\ant.properties
> Setting project property: ro.version -> 3.1
> Setting project property: catalina.home -> /export/home/dave/tomcat/
> Setting project property: build.deprecation -> false
> Setting project property: build.sourcelevel -> 1.4
> Setting project property: ro.name -> apache-roller
> Setting project property: build.debug -> true
> Setting project property: project.dir -> /Users/dave/roller_trunk
> Override ignored for property "basedir"
> Setting project property: ro.build -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build
> Setting project property: ro.dist -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/dist
> Setting project property: ro.src -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/src
> Setting project property: ro.tools -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools
> Setting project property: ro.tests -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tests
> Setting project property: build.generated -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/generated
> Setting project property: build.generated.business -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/generated/business
>
> Setting project property: build.generated.web -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/generated/web
> Setting project property: build.compile -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile
> Setting project property: build.compile.business -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/business
> Setting project property: build.compile.web -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/web
> Setting project property: build.compile.contrib -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/contrib
> Setting project property: build.compile.tests -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/tests
> Setting project property: build.lib -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/lib
> Setting project property: build.webapp -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/webapp
> Setting project property: build.dist -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/release
> Setting project property: build.dist.apache -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/release/apache
> Setting project property: build.dist.binary -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/release/apache-roller-3.1
>
> Setting project property: build.dist.sources -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/release/apache-roller-sr
> c-3.1
> Setting project property: build.tests -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/tests
> Setting project property: build.reports -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/tests/reports
> Setting project property: build.docs -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/docs
> Setting project property: build.javadoc -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/docs/javadoc
> Setting project property: build.velocidoc -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/docs/velocidoc
> Setting project property: build.jspc -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/jspc
> Setting project property: tools.struts -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/struts-1.2.4
> Setting project property: tools.hibernate -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/hibernate-3.1
> Setting project property: tools.spring -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/spring-1.2
> Setting project property: tools.jstl -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/jakarta-taglibs-standard-1.1.2
> Setting project property: tools.xdoclet -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3
> Setting project property: tools.tomcat -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/buildtime/tomcat-5.0.28
> Adding reference: base.jars
> Adding reference: presentation.jars
> Adding reference: commons.jars
> Adding reference: commons-httpclient.jar
> Adding reference: struts.jars
> Adding reference: servlet.jars
> Adding reference: mail.jars
> Adding reference: jstl.jars
> Adding reference: hibernate.jar
> Adding reference: hibernate.jars
> Adding reference: spring.jars
> Adding reference: base.path
> Adding reference: business.path
> Adding reference: presentation.path
> Adding reference: javadoc.path
> Adding reference: xdoclet.path
> Adding reference: webdoclet.path
> Adding reference: tests.path
> Adding reference: tests.run.path
> Adding reference: jasper.path
> Adding reference: jsp.compile.path
> Adding reference: findbugs.path
> Setting project property: testClass -> org.apache.roller.presentation.velocity.plugins.smileys.SmileysTest
> Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
> Adding reference: ant.executor
> Build sequence for target(s) `usage' is [usage]
> Complete build sequence is [usage, javadoc, init-db, test-aapp-sdk, test-aapp-handler, test-aapp, gen-wrappers, gen-forms, generate, build-business, b
> uild-web, build-tests, clean-tests, version-check, stage-sources, clean, gen-business, gen-web, copy-webapp, stage-webapp, all, rebuild, dist-sources,
>  test-business, test-presentation, test-utils, tests, build, aapp-sdk, stage-dbscripts, stage-binary, apache-binary, apache-sources, apache-release, o
> fficial-release, clean-isp, deploy-isp, test-one, deploy-tomcat, debug-selected-files, consistency-check, test-selected-files, velocidoc, docs, stop-d
> b, start-db, compile-jsps, dist-binary, deploy-resin, ]
>
> usage:
>      [echo]
>      [echo] Key Targets:
>      [echo]                 all - Build all: gen wrappers/forms, compile, gen web, gen O/R mappings, stage webapp
>      [echo]               build - Same as 'all' but NO code gen
>      [echo]        stage-webapp - Build almost all: compile, gen web, gen O/R mappings, stage webapp
>      [echo]      apache-release - Build binary and source release files
>      [echo]               clean - Blow away all generated code and all byte code
>      [echo]             rebuild - Clean and build all
>      [echo]
>      [echo]               tests - Build and run all JUnit tests
>      [echo]         build-tests - Build all JUnit tests
>      [echo]       test-business - Start DB, run business layer tests, stop DB
>      [echo]   test-presentation - Run presentation layer tests
>      [echo]          test-utils - Run utility tests
>      [echo]
>      [echo]            start-db - Start test DB
>      [echo]             init-db - Initialize a running test DB
>      [echo]             stop-db - Stop test DB
>      [echo]
>      [echo]                docs - Build all docs
>      [echo]             javadoc - Build javadocs
>      [echo]          velocidocs - Build velocidocs
>      [echo]
>      [echo]               usage - Print this help text...
>
> BUILD SUCCESSFUL
>
> Dave wrote ..
> > On 9/30/07, david <da...@davidwbrown.name> wrote:
> > > Hello Dave, thanks for the speedy reply. The source code location follows:
> > > http://cwiki.apache.org/confluence/display/ROLLER/Roller+Downloads
> > > The above named download includes the so-called jars required for source
> > compile. There are no specific steps as I am an ardent adherer to the command-line
> > usage of Ant.
> >
> > > Once I had the roller-web.jar and roller-business.jar and the velocity
> > jars in the classpath
> >
> > I still don't understand what you are doing. There is no need to put
> > anything in the Ant classpath before running Ant. Are you following
> > some instructions that tell you to do that?
> >
> > I cannot reproduce the problem you are encountering so if you want any
> > help you are going to have to be *very* specific about exactly what
> > you are doing. What files did you download, what commands did you run
> > to build, etc.
> >
> > There's no need to setup a classpath or add anything to classpath.
> > All you should need to do is this:
> >
> > - Download and un-tar the source
> > - Download and un-tar the required jars in the same directory
> > - Run './build.sh rebuild' or 'ant rebuild' (assuming you have Ant 1.6
> > or later)
> > - Find the Roller webapp in build/webapp
> >
> > - Dave
>

Re: Build fails @ target: gen-web

Posted by david <da...@davidwbrown.name>.
Hello Dave, thanks for the feedback. I have switched machines but similar environment. And, roller never installed on this machine. Here are my steps:

1. Downloaded: http://www.apache.org/dist/roller/roller-3/v3.1.0/src/apache-roller-src-3.1.zip
2. Unzipped the above linked file in my dev directory.
3. Downloaded: https://roller.dev.java.net/files/documents/190/51368/required-jars-roller-src-3.1.zip
4. Unzipped the above linked file in my dev/apache-roller-src-3.1 directory such that the tools directory overwrites the existing tools directory.
5. CD to dev/apache-roller-src-3.1 directory.
6. Invoked at the command-line: build all

*******************************************Build Results*****************************************

BUILD FAILED C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml:256: Unexpected error

********************************build.xml:256*********************************

excludedtags="@version,@author">

*******************************build.xml:webdoclet tag************************

<webdoclet force="true"
        destdir="${build.webapp}/WEB-INF"
        mergedir="./metadata/xdoclet"
        excludedtags="@version,@author">

*************************************Errors*********************************

[webdoclet] (TemplateEngine.invokeMethod         547 ) Invoking method failed: xdoclet.tagshandler.ClassTagsHandler.forAllClasses, line=36 of template
 file: jar:file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3/lib/xdoclet-web-module-1.
2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt

*********************************ant -debug********************************

C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1>ant -debug
Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.6 in: C:\Program Files\Java\jdk1.6.0_02\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml with URI = file:/C:/Documents%20and%20Settings/dav
idb/My%20Documents/dev/apache-roller-src-3.1/build.xml
Setting ro project property: ant.project.name -> roller
Adding reference: roller
Setting ro project property: ant.file.roller -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\build.xml
Project base dir set to: C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1
 +Target:
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/properties.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\properties.xmlf
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-ant.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-ant.xmlf
 +Target: debug-selected-files
 +Target: test-selected-files
 +Target: usage
 +Target: all
 +Target: build
 +Target: rebuild
 +Target: clean
 +Target: generate
 +Target: gen-business
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-business.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-business.xmlf
 +Target: gen-wrappers
 +Target: gen-forms
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-web.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-web.xmlf
 +Target: gen-web
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-gen-web.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-gen-web.xmlf
 +Target: build-business
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-build-business.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-build-business.xmlf
 +Target: build-web
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-src-web.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-src-web.xmlf
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-build-web.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-build-web.xmlf
 +Target: stage-webapp
 +Target: copy-webapp
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-web.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-web.xmlf
 +Target: stage-dbscripts
 +Target: docs
 +Target: javadoc
 +Target: velocidoc
 +Target: apache-release
 +Target: stage-binary
 +Target: dist-binary
 +Target: apache-binary
 +Target: stage-sources
 +Target: dist-sources
 +Target: apache-sources
 +Target: version-check
 +Target: tests
 +Target: clean-tests
 +Target: build-tests
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-src-tests.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-src-tests.xmlf
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-jars.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-jars.xmlf
 +Target: test-business
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-pre-dbtest.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-pre-dbtest.xmlf
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-post-dbtest.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-post-dbtest.xmlf
 +Target: test-presentation
 +Target: test-utils
 +Target: test-aapp
 +Target: test-aapp-sdk
 +Target: test-aapp-handler
 +Target: test-one
 +Target: deploy-tomcat
 +Target: deploy-resin
 +Target: deploy-isp
 +Target: clean-isp
 +Target: official-release
 +Target: consistency-check
 +Target: compile-jsps
 +Target: init-db
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-post-dbtest.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-post-dbtest.xmlf
resolving systemId: file:/C:/Documents%20and%20Settings/davidb/My%20Documents/dev/apache-roller-src-3.1/custom/custom-pre-dbtest.xmlf
file=C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\custom\custom-pre-dbtest.xmlf
 +Target: start-db
 +Target: stop-db
 +Target: aapp-sdk
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
Setting project property: java15.present -> true
 [property] Loading C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1\ant.properties
Setting project property: ro.version -> 3.1
Setting project property: catalina.home -> /export/home/dave/tomcat/
Setting project property: build.deprecation -> false
Setting project property: build.sourcelevel -> 1.4
Setting project property: ro.name -> apache-roller
Setting project property: build.debug -> true
Setting project property: project.dir -> /Users/dave/roller_trunk
Override ignored for property "basedir"
Setting project property: ro.build -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build
Setting project property: ro.dist -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/dist
Setting project property: ro.src -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/src
Setting project property: ro.tools -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools
Setting project property: ro.tests -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tests
Setting project property: build.generated -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/generated
Setting project property: build.generated.business -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/generated/business

Setting project property: build.generated.web -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/generated/web
Setting project property: build.compile -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile
Setting project property: build.compile.business -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/business
Setting project property: build.compile.web -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/web
Setting project property: build.compile.contrib -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/contrib
Setting project property: build.compile.tests -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/compile/tests
Setting project property: build.lib -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/lib
Setting project property: build.webapp -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/webapp
Setting project property: build.dist -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/release
Setting project property: build.dist.apache -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/release/apache
Setting project property: build.dist.binary -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/release/apache-roller-3.1

Setting project property: build.dist.sources -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/release/apache-roller-sr
c-3.1
Setting project property: build.tests -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/tests
Setting project property: build.reports -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/tests/reports
Setting project property: build.docs -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/docs
Setting project property: build.javadoc -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/docs/javadoc
Setting project property: build.velocidoc -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/docs/velocidoc
Setting project property: build.jspc -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/build/jspc
Setting project property: tools.struts -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/struts-1.2.4
Setting project property: tools.hibernate -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/hibernate-3.1
Setting project property: tools.spring -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/spring-1.2
Setting project property: tools.jstl -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/jakarta-taglibs-standard-1.1.2
Setting project property: tools.xdoclet -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/buildtime/xdoclet-1.2.3
Setting project property: tools.tomcat -> C:\Documents and Settings\davidb\My Documents\dev\apache-roller-src-3.1/tools/buildtime/tomcat-5.0.28
Adding reference: base.jars
Adding reference: presentation.jars
Adding reference: commons.jars
Adding reference: commons-httpclient.jar
Adding reference: struts.jars
Adding reference: servlet.jars
Adding reference: mail.jars
Adding reference: jstl.jars
Adding reference: hibernate.jar
Adding reference: hibernate.jars
Adding reference: spring.jars
Adding reference: base.path
Adding reference: business.path
Adding reference: presentation.path
Adding reference: javadoc.path
Adding reference: xdoclet.path
Adding reference: webdoclet.path
Adding reference: tests.path
Adding reference: tests.run.path
Adding reference: jasper.path
Adding reference: jsp.compile.path
Adding reference: findbugs.path
Setting project property: testClass -> org.apache.roller.presentation.velocity.plugins.smileys.SmileysTest
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `usage' is [usage]
Complete build sequence is [usage, javadoc, init-db, test-aapp-sdk, test-aapp-handler, test-aapp, gen-wrappers, gen-forms, generate, build-business, b
uild-web, build-tests, clean-tests, version-check, stage-sources, clean, gen-business, gen-web, copy-webapp, stage-webapp, all, rebuild, dist-sources,
 test-business, test-presentation, test-utils, tests, build, aapp-sdk, stage-dbscripts, stage-binary, apache-binary, apache-sources, apache-release, o
fficial-release, clean-isp, deploy-isp, test-one, deploy-tomcat, debug-selected-files, consistency-check, test-selected-files, velocidoc, docs, stop-d
b, start-db, compile-jsps, dist-binary, deploy-resin, ]

usage:
     [echo]
     [echo] Key Targets:
     [echo]                 all - Build all: gen wrappers/forms, compile, gen web, gen O/R mappings, stage webapp
     [echo]               build - Same as 'all' but NO code gen
     [echo]        stage-webapp - Build almost all: compile, gen web, gen O/R mappings, stage webapp
     [echo]      apache-release - Build binary and source release files
     [echo]               clean - Blow away all generated code and all byte code
     [echo]             rebuild - Clean and build all
     [echo]
     [echo]               tests - Build and run all JUnit tests
     [echo]         build-tests - Build all JUnit tests
     [echo]       test-business - Start DB, run business layer tests, stop DB
     [echo]   test-presentation - Run presentation layer tests
     [echo]          test-utils - Run utility tests
     [echo]
     [echo]            start-db - Start test DB
     [echo]             init-db - Initialize a running test DB
     [echo]             stop-db - Stop test DB
     [echo]
     [echo]                docs - Build all docs
     [echo]             javadoc - Build javadocs
     [echo]          velocidocs - Build velocidocs
     [echo]
     [echo]               usage - Print this help text...

BUILD SUCCESSFUL

Dave wrote ..
> On 9/30/07, david <da...@davidwbrown.name> wrote:
> > Hello Dave, thanks for the speedy reply. The source code location follows:
> > http://cwiki.apache.org/confluence/display/ROLLER/Roller+Downloads
> > The above named download includes the so-called jars required for source
> compile. There are no specific steps as I am an ardent adherer to the command-line
> usage of Ant.
> 
> > Once I had the roller-web.jar and roller-business.jar and the velocity
> jars in the classpath
> 
> I still don't understand what you are doing. There is no need to put
> anything in the Ant classpath before running Ant. Are you following
> some instructions that tell you to do that?
> 
> I cannot reproduce the problem you are encountering so if you want any
> help you are going to have to be *very* specific about exactly what
> you are doing. What files did you download, what commands did you run
> to build, etc.
> 
> There's no need to setup a classpath or add anything to classpath.
> All you should need to do is this:
> 
> - Download and un-tar the source
> - Download and un-tar the required jars in the same directory
> - Run './build.sh rebuild' or 'ant rebuild' (assuming you have Ant 1.6
> or later)
> - Find the Roller webapp in build/webapp
> 
> - Dave

Re: Build fails @ target: gen-web

Posted by Dave <sn...@gmail.com>.
On 9/30/07, david <da...@davidwbrown.name> wrote:
> Hello Dave, thanks for the speedy reply. The source code location follows:
> http://cwiki.apache.org/confluence/display/ROLLER/Roller+Downloads
> The above named download includes the so-called jars required for source compile. There are no specific steps as I am an ardent adherer to the command-line usage of Ant.

> Once I had the roller-web.jar and roller-business.jar and the velocity jars in the classpath

I still don't understand what you are doing. There is no need to put
anything in the Ant classpath before running Ant. Are you following
some instructions that tell you to do that?

I cannot reproduce the problem you are encountering so if you want any
help you are going to have to be *very* specific about exactly what
you are doing. What files did you download, what commands did you run
to build, etc.

There's no need to setup a classpath or add anything to classpath.
All you should need to do is this:

- Download and un-tar the source
- Download and un-tar the required jars in the same directory
- Run './build.sh rebuild' or 'ant rebuild' (assuming you have Ant 1.6 or later)
- Find the Roller webapp in build/webapp

- Dave