roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "david" <da...@davidwbrown.name>
Subject Re: Build fails @ target: gen-web
Date Mon, 01 Oct 2007 13:51:00 GMT
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 <david@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

Mime
View raw message