cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Re: Cocoon tutorial can't find cocoon.
Date Mon, 22 Aug 2005 13:09:23 GMT
That did the trick.

That is one compaint about Cocoon.

The standard install for tomcat on Windows has lots of spaces in its 
path and spaces are legal in file names on bothWindws and Linux. Not 
recommended or desirable - just legal.

Suggesting that tomcat be moved to a directory with no spaces is not 
going to be acceptable in every case. Moving a server that is already 
installed and in production will be a bit hard to swallow.

If the Apache standard installation is moving towards files with 
spaces(Tomcat and Maven), the rest of the apache projects should start 
to think about it.

Ron

Marc Portier wrote:

>Ron,
>
>I don't think the script is fit for paths that contain spaces
>
>I suggest you rename your folder named "Cocoon Tutorial" to CocoonTutorial
>
>HTH,
>-marc=
>
>Ron Wheeler wrote:
>  
>
>>Trying to follow the tutorial at
>>http://cocoon.zones.apache.org/daisy/cocooninaction/14.html
>>
>>The instructions about modifying local.build.properties were a bit vague
>>but I did what I thought it said. I did not change any block stuff since
>>I have no ideas what blocks the tutorial will need. I did remove a lot
>>of sections that had $ in them.
>>
>>
>>The log of step 9 and 10 are as follows:
>>
>>C:\eclipse\workspace\Cocoon Tutorial>ant cocoon:get
>>Buildfile: build.xml
>>
>>-cocoon:init:
>>
>>-cocoon:oscheck:
>>
>>-cocoon:bat:
>>    [echo] Building batch files for support on windows OS
>>
>>-cocoon:sh:
>>
>>-cocoon:shbat:
>>
>>cocoon:get:
>>    [exec] GOING TO C:\Cocoon-2.1.7
>>    [exec] Running build.bat -propertyfile C:\eclipse\workspace\Cocoon
>>Tutorial
>>\src\cocoon\local.build.properties clean webapp
>>-Dbuild.webapp=C:\eclipse\worksp
>>ace\Cocoon Tutorial\tools\cocoon\webapp
>>-Dtools.tasks.dest=C:\eclipse\workspace\
>>Cocoon Tutorial\tools\cocoon\taskdefs
>>    [exec] Missing value for property tools.tasks.dest
>>    [exec] Result: 1
>>   [mkdir] Created dir: C:\eclipse\workspace\Cocoon
>>Tutorial\tools\cocoon\unpat
>>ched
>>
>>BUILD SUCCESSFUL
>>Total time: 3 seconds
>>
>>C:\eclipse\workspace\Cocoon Tutorial>ant webapp
>>Buildfile: build.xml
>>
>>init:
>>   [mkdir] Created dir: C:\eclipse\workspace\Cocoon Tutorial\build\classes
>>
>>-cocoon:init:
>>
>>-cocoon:test:
>>
>>-cocoon:check:
>>
>>BUILD FAILED
>>C:\eclipse\workspace\Cocoon Tutorial\build-cocoon-targets.xml:184: No
>>cocoon ava
>>ilable. Run 'ant cocoon.get' first.
>>
>>Total time: 1 second
>>C:\eclipse\workspace\Cocoon Tutorial>
>>================================================================================
>>
>>
>>Any ideas about what I might have done wrong?
>>I have included the local.buld.properties below.
>>
>>As you can see I ripped a lot of stuff out at the end under system
>>properties which I what I interpreted the instructions as asking.
>>
>>
>>===========================================================================
>>
>>#  Copyright 1999-2004 The Apache Software Foundation
>>#
>>#  Licensed under the Apache License, Version 2.0 (the "License");
>>#  you may not use this file except in compliance with the License.
>>#  You may obtain a copy of the License at
>>#
>>#      http://www.apache.org/licenses/LICENSE-2.0
>>#
>>#  Unless required by applicable law or agreed to in writing, software
>>#  distributed under the License is distributed on an "AS IS" BASIS,
>>#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>>#  See the License for the specific language governing permissions and
>>#  limitations under the License.
>>#
>>
>>#------------------------------------------------------------------------------#
>>
>>#                             Cocoon
>>Blocks                                    #
>>#------------------------------------------------------------------------------#
>>
>>
>># Remove blocks from your cocoon distribution by setting the corresponding
>># include property to true or false. The blocks are included by default,
>>i.e. if
>># no property was set.
>>
>># NOTE: Don't modify this file directly but make a copy named
>># 'local.blocks.properties' and modify that. The build system will first
>>load
>># 'local.blocks.properties' and properties are immutable in Ant.
>>
>># NOTE: "[dependency]" indicates blocks that are required by other blocks.
>># Disabling batik, for example, will result in a RuntimeException when
>>using
>># fop. Dependencies only needed for the block's samples are marked
>>explicitely.
>># This latter information was introduced only short time ago, so do not
>>expect
>># it to be complete.
>>
>># NOTE: (to Cocoon committers): blocks.properties is generated from
>>gump.xml
>># using "build generate-blocks.properties". Any changes to blocks
>>definitions
>># must be made in gump.xml, not here.
>>
>># All blocks
>>-------------------------------------------------------------------
>>
>># Use this property to exclude all blocks at once
>># exclude.all.blocks=true
>>
>># Use this property to include all blocks at once
>># include.all.blocks=true
>>
>>
>># Stable blocks
>>----------------------------------------------------------------
>>
>># Stable blocks are those that can be considered ready for production and
>># will contain components and API that will remain stable and where
>># developers are committed to back compatibility. In short, stuff that you
>># can depend on.
>>
>>#-----[dependency]: "authentication-fw" depends on "session-fw".
>>#-----[dependency]: "authentication-fw" is needed by "portal", "portal-fw".
>>#include.block.authentication-fw=false
>>#-----[dependency]: "batik" is needed by "fop", "tour".
>>#include.block.batik=false
>>#include.block.bsf=false
>>#include.block.chaperon=false
>>#-----[dependency]: "databases" depends on "xsp".
>>#-----[dependency]: "databases" is needed by "hsqldb", "jms", "ojb",
>>"petstore", "repository", "xmldb".
>>#include.block.databases=false
>>#-----[dependency]: "fop" depends on "batik".
>>#-----[dependency]: "fop" is needed by "tour".
>>#include.block.fop=false
>>#-----[dependency]: "hsqldb" depends on "databases".
>>#-----[dependency]: "hsqldb" is needed by "jms", "ojb", "petstore".
>>#include.block.hsqldb=false
>>#include.block.html=false
>>#include.block.itext=false
>>#include.block.jfor=false
>>#include.block.jsp=false
>>#-----[dependency]: "linkrewriter" depends on "xsp".
>>#include.block.linkrewriter=false
>>#-----[dependency]: "lucene" is needed by "querybean".
>>#include.block.lucene=false
>>#include.block.naming=false
>>#-----[dependency]: "ojb" depends on "databases" (for samples), "forms"
>>(for samples), "hsqldb" (for samples).
>>#-----[dependency]: "ojb" is needed by "javaflow", "querybean".
>>#include.block.ojb=false
>>#include.block.paranoid=false
>>#include.block.poi=false
>>#-----[dependency]: "portal" depends on "authentication-fw", "cron",
>>"forms", "session-fw".
>>#-----[dependency]: "portal" is needed by "faces".
>>#include.block.portal=false
>>#include.block.profiler=false
>>#-----[dependency]: "python" depends on "xsp".
>>#include.block.python=false
>>#-----[dependency]: "session-fw" depends on "xsp".
>>#-----[dependency]: "session-fw" is needed by "authentication-fw",
>>"portal", "portal-fw".
>>#include.block.session-fw=false
>>#-----[dependency]: "velocity" is needed by "petstore".
>>#include.block.velocity=false
>>#include.block.web3=false
>>#-----[dependency]: "xmldb" depends on "databases".
>>#include.block.xmldb=false
>>#-----[dependency]: "xsp" is needed by "databases", "linkrewriter",
>>"python", "session-fw", "woody".
>>#include.block.xsp=false
>>
>># Deprecated blocks
>>------------------------------------------------------------
>>
>># Although some of these blocks may have been stable, they are now
>>deprecated
>># in favour of other blocks and therefore are excluded by default from
>>the build.
>># For including one of them you have to set the exclude property into
>>comment in
>># blocks.properties.
>>
>>include.block.php=false
>>#-----[dependency]: "portal-fw" depends on "authentication-fw",
>>"session-fw".
>>include.block.portal-fw=false
>>include.block.swf=false
>>#-----[dependency]: "woody" depends on "xsp" (for samples).
>>include.block.woody=false
>>
>># Unstable blocks
>>--------------------------------------------------------------
>>
>># Unstable blocks are currently under development and do not guarantee
>>that the
>># contracts they expose (API, xml schema, properties, behavior) will remain
>># constant in time. Developers are not committed to back-compatibility
>>just yet.
>># This doesn't necessarily mean the blocks implementation is unstable or
>># the code can't be trusted for production, but use with care and watch
>># its development as things might change over time before they are marked
>># stable.
>>
>>#-----[dependency]: "apples" depends on "forms" (for samples).
>>#include.block.apples=false
>>#-----[dependency]: "asciiart" is needed by "mail".
>>#include.block.asciiart=false
>>#include.block.axis=false
>>#-----[dependency]: "cron" is needed by "portal".
>>#include.block.cron=false
>>#include.block.deli=false
>>#-----[dependency]: "eventcache" depends on "jms".
>>#-----[dependency]: "eventcache" is needed by "repository".
>>#include.block.eventcache=false
>>#-----[dependency]: "faces" depends on "portal", "taglib".
>>#include.block.faces=false
>>#-----[dependency]: "forms" is needed by "apples", "javaflow", "ojb",
>>"petstore", "portal", "querybean", "tour".
>>#include.block.forms=false
>>#-----[dependency]: "javaflow" depends on "forms", "ojb".
>>#include.block.javaflow=false
>>#-----[dependency]: "jms" depends on "databases" (for samples), "hsqldb".
>>#-----[dependency]: "jms" is needed by "eventcache", "slide".
>>#include.block.jms=false
>>#include.block.linotype=false
>>#-----[dependency]: "mail" depends on "asciiart".
>>#include.block.mail=false
>>#include.block.midi=false
>>#-----[dependency]: "petstore" depends on "databases", "forms",
>>"hsqldb", "velocity".
>>#include.block.petstore=false
>>#include.block.proxy=false
>>#include.block.qdox=false
>>#-----[dependency]: "querybean" depends on "forms" (for samples),
>>"lucene", "ojb".
>>#include.block.querybean=false
>>#-----[dependency]: "repository" depends on "databases", "eventcache".
>>#-----[dependency]: "repository" is needed by "slide", "webdav".
>>#include.block.repository=false
>>#include.block.serializers=false
>>#-----[dependency]: "slide" depends on "jms", "repository".
>>#include.block.slide=false
>>#include.block.slop=false
>>#include.block.stx=false
>>#-----[dependency]: "taglib" is needed by "faces".
>>#include.block.taglib=false
>>#-----[dependency]: "tour" depends on "batik", "fop", "forms".
>>#include.block.tour=false
>>#-----[dependency]: "webdav" depends on "repository".
>>#include.block.webdav=false
>>#  Copyright 1999-2005 The Apache Software Foundation
>>#
>>#  Licensed under the Apache License, Version 2.0 (the "License");
>>#  you may not use this file except in compliance with the License.
>>#  You may obtain a copy of the License at
>>#
>>#      http://www.apache.org/licenses/LICENSE-2.0
>>#
>>#  Unless required by applicable law or agreed to in writing, software
>>#  distributed under the License is distributed on an "AS IS" BASIS,
>>#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>>#  See the License for the specific language governing permissions and
>>#  limitations under the License.
>>#
>>#----------------------------------------------
>>#  Cocoon Build Properties
>>#----------------------------------------------
>>
>># NOTE: don't modify this file directly but copy the properties you need
>># to modify over to a file named 'local.build.properties' and modify that.
>># The build system will override these properties with the ones in the
>># 'local.build.properties' file.
>>
>># ---- Webapp
>>------------------------------------------------------------------
>>
>>exclude.webapp.documentation=true
>>exclude.webapp.javadocs=true
>>exclude.webapp.samples=true
>>exclude.webapp.test-suite=true
>>
>># ---- Build Exclusions
>>--------------------------------------------------------
>>
>>#exclude.deprecated=true
>>#exclude.documentation=true
>>exclude.javadocs=true
>># Include Java source code into the binary jar files
>>#include.sources-in-jars=true
>># Include Java source code into separate, source only jar files
>>#include.sources-jars=true
>>
>># ---- Configuration
>>-----------------------------------------------------------
>>
>>#include.driver.oracle=true
>>#include.driver.postgre=true
>>#include.driver.odbc=true
>>#config.allow-reloads=true
>>#config.enable-uploads=true
>>#config.enable-instrumentation=true
>>
>># ---- Validation
>>--------------------------------------------------------------
>>
>>#exclude.validate.config=true
>>#exclude.validate.xdocs=true
>>#exclude.validate.jars=true
>>
>># ---- Forrest
>>-----------------------------------------------------------------
>>
>># set $FORREST_HOME and $PATH as instructed by Forrest
>>
>># ---- Anteater
>>----------------------------------------------------------------
>>
>>anteater.home = /default-from-build.properties/anteater-0.9.16
>>anteater.target.host = localhost
>>anteater.target.port = 8888
>>anteater.target.base.path = /
>>anteater.option.haltonerror = true
>>
>># disable some long-running tests by default
>># anteater.test.bug26186InternalRequestMemoryLeak.enabled = true
>>
>># ---- JUnit
>>-------------------------------------------------------------------
>>
>>junit.test.debugport=8000
>>#junit.testcase=org.apache.cocoon.util.test.NetUtilsTestCase
>>junit.test.loglevel=0
>>
>># ---- IDE
>>---------------------------------------------------------------------
>>
>>#ide.eclipse.outputdir=${build.root}/eclipse/classes
>>#ide.eclipse.export.libs=false
>>
>>
>># ---- Compilation
>>-------------------------------------------------------------
>>
>>compiler=modern
>>compiler.debug=on
>>compiler.optimize=on
>>compiler.deprecation=off
>>compiler.nowarn=on
>>source.vm=1.3
>>
>># ---- System Properties
>>-------------------------------------------------------
>>
>># WARNING: you shouldn't need to modify anything below here since there
>>is a
>># very high change of breaking the build system. Do it only if you know
>>what
>># you're doing.
>>
>>packages=org.apache
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>    
>>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message