I also tried to create a naked version of cocoon but with no success. I
created the local.blocks.properties and the local.build.properties, made a
build clean and then made a new build and it still builded all the blocks
that i sought i had removed, bellow i will put boht the files

local.blocks.properties

#---------------------------------------------------------------------------
---#
#                             Cocoon Blocks
#
#---------------------------------------------------------------------------
---#

# Remove blocks from your cocoon distribution by uncommenting the
# corresponding exclude property

# NOTE: don't modify this file directly but make a copy named
# 'local.blocks.properties' and modify that. The build system will override
# these properties with the ones in the 'local.blocks.properties' file.

# 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 you can
# depend on.

#exclude.block.authentication-fw=true
#exclude.block.batik=true
#exclude.block.bsf=true
exclude.block.chaperon=true
#exclude.block.databases=true
exclude.block.deli=true
#exclude.block.fop=true
exclude.block.hsqldb=true
#exclude.block.html=true
#exclude.block.itext=true
#exclude.block.jfor=true
#exclude.block.jsp=true
exclude.block.jxforms=true
exclude.block.linkrewriter=true
exclude.block.lucene=true
#exclude.block.naming=true
exclude.block.php=true
exclude.block.poi=true
exclude.block.portal-fw=true
exclude.block.profiler=true
exclude.block.python=true
#exclude.block.session-fw=true
exclude.block.slide=true
exclude.block.swf=true
exclude.block.velocity=true
exclude.block.web3=true
#exclude.block.xmldb=true
exclude.block.xmlform=true


# Unstable
blocks --------------------------------------------------------------

# unstable blocks are currently under development and do not guarantee 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 thing might change over time before they are marked
# stable.

exclude.block.asciiart=true
exclude.block.axis=true
exclude.block.eventcache=true
exclude.block.linotype=true
exclude.block.mail=true
exclude.block.qdox=true
exclude.block.petstore=true
exclude.block.precept=true
exclude.block.proxy=true
exclude.block.portal=true
exclude.block.stx=true
#exclude.block.taglib=true
exclude.block.webdav=true
exclude.block.woody=true



local.build.properties

#----------------------------------------------
#  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.idldocs=true
#exclude.webapp.scratchpad=true
exclude.webapp.samples=true

# ---- Build
Exclusions --------------------------------------------------------

#exclude.scratchpad=true
#exclude.deprecated=true
exclude.javadocs=true
exclude.idldocs=true

# ----
Configuration -----------------------------------------------------------

#include.driver.oracle=true
#include.driver.postgre=true
#include.driver.odbc=true
#config.allow-reloads=true
#config.enable-uploads=true

# ----
Validation --------------------------------------------------------------

validate.config=true
validate.xdocs=true
validate.jars=true

# ----
Forrest -----------------------------------------------------------------

forrest.home=../xml-forrest/build/dist/shbat/

# ----
Build -------------------------------------------------------------------

build.root=build
build=${build.root}/${name}-${version}
build.dest=${build}/classes
build.mocks=${build}/mocks
build.test=${build}/test
build.docs=${build}/docs
build.docs.printer=${build}/printer-docs
build.site=${build}/site
build.xdocs=${build}/xdocs
build.idldocs=${build}/idldocs
build.javadocs=${build}/javadocs
build.context=${build}/documentation
build.context.printer=${build}/printer-documentation
build.blocks=${build}/blocks
build.deprecated=${build}/deprecated
build.scratchpad=${build}/scratchpad
build.scratchpad.src=${build.scratchpad}/src
build.scratchpad.dest=${build.scratchpad}/dest
build.samples=${build}/samples
build.temp=${build}/temp

build.docs.loglevel=ERROR
build.docs.printer.loglevel=ERROR

# ------ Webapp Build
Properties -----------------------------------------------

build.webapp=${build.root}/webapp
build.webapp.webinf=${build.webapp}/WEB-INF
build.webapp.classes=${build.webapp.webinf}/classes
build.webapp.lib=${build.webapp.webinf}/lib
build.webapp.samples=${build.webapp}/samples
build.webapp.docs=${build.webapp}/docs
build.webapp.javadocs=${build.webapp}/api/java
build.webapp.idldocs=${build.webapp}/api/fom
build.war=${build}/${name}.war

# ------ Standalone-demo Build
Properties --------------------------------------
build.standalone.demo=${build.root}/standalone-demo

# ----
Compilation -------------------------------------------------------------

compiler=modern
compiler.debug=on
compiler.optimize=on
compiler.deprecation=off
compiler.nowarn=on


# ------ 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

# Project descriptor
gump.descriptor=gump.xml

# Directory Layout
src=src
idl=${src}/idl
java=${src}/java
mocks=${src}/mocks
test=${src}/test
resources=${src}/resources
resources.styles=${resources}/styles
resources.logos=${resources}/logos
resources.javadoc=${resources}/javadoc
documentation=${src}/documentation
docs=${documentation}/xdocs
images=${documentation}/images
blocks=${src}${file.separator}blocks
samples=${src}/samples
webapp=${src}/webapp
webapp.samples=${webapp}/samples
customconf=${src}/confpatch

# Scratchpad Stuff
scratchpad=${src}/scratchpad
scratchpad.src=${scratchpad}/src
scratchpad.mocks=${scratchpad}/mocks
scratchpad.lib=${scratchpad}/lib
scratchpad.samples=${scratchpad}/webapp/samples

# Deprecated Stuff
deprecated=${src}/deprecated
deprecated.src=${deprecated}/java
deprecated.conf=${deprecated}/conf

# Tools
tools=tools
tools.lib=${tools}/lib
tools.src=${tools}/src
tools.tasks.src=${tools.src}/anttasks
tools.tasks.dest=${tools}/anttasks
tools.loader.src=${tools.src}/loader
tools.loader.dest=${tools}/loader
tools.jetty=${tools}/jetty

# IDE
ide.eclipse.outputdir=${build.root}/eclipse/classes

# Libraries
lib=lib
lib.core=${lib}/core
lib.endorsed=${lib}/endorsed
lib.optional=${lib}/optional
lib.local=${lib}/local

# Distribution Directories
dist.root=dist
dist=${dist.root}/${name}-${version}
dist.name=${name}-${version}
dist.target=${dist.root}

# Site Directory
site=../cocoon-site/site/2.1

# Legal
legal=legal


can you see anything wrong with this.. ??

thanks
Miguel Carvalho

-----Original Message-----
From: Bruno Dumon [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 7 de Agosto de 2003 13:13
To: [EMAIL PROTECTED]
Subject: RE: problem creating a new transformer


On Thu, 2003-08-07 at 13:07, Miguel Carvalho wrote:
> Hi, i am now trying to upgrade to 2.1rc1, but i am wondering ... what
> precautions do i need to clean up cooon a little. I just need a cocoon
> project that allows me to create a generator, and a transformer in xsp and
> java respectively. What are your sugestions?

> do i start with the webapp
> directory /cocoon2.1rc1/src/webapp directory and start from there, do i
> build cocoon and get the jar and libs and start a new project (but here i
> will have another problem that is to achieve the right configuration to
the
> sitemap and xconf) or are there any more options that i am not seing???
>
> oh and by the way... the compile time of cocoon in my computer was 14
> minutes, how can i tell it not to build the javadoc and maybe the samples,
i
> dont know if it is possible but i would like to try and reduce a bit the
> compile time.. :)


* read the file INSTALL.TXT
* look at the files block.properties and build.properties

you can easily disable all optional cocoon functionality, and disable
building of javadocs and other stuff to optimize the build time.

For an easy setup to get "continuous integration" of your project with
newer Cocoon releases, see the following page on the wiki:
http://wiki.cocoondev.org/Wiki.jsp?page=YourCocoonBasedProject

But for starters, if you keep all your stuff in your own subdirectory
with a subsitemap, and simply add one jar with your own classes to the
WEB-INF/lib dir, things should be easy enough I guess? (maybe you don't
know about subsitemaps etc. yet, in that case I recommend to investigate
the default Cocoon webapp and to browse around in the documentation and
on the wiki).

--
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to