Setup your Build Environment


If you develop your webapplications with yanel it's likely you have more than one project. To decrease the build time you better don't build all of your project every time. It's possible with yanel to configure several projects and switch between them.

First add some folders for you projects. just add within your conf/local a folder for each project e.g.:

conf/local/project-a/
           project-b/
           project-c/
           project-d/

then you need to add local.configs for each of your projects e.g.:

conf/local/project-a/local.log4j.properties
                     local.realms.xml
                     local.resource-types.xml
                     local.yanel.xml

best you copy the original configs in your conf/ folder and modify it accordingly to your projects.

to switch between the different projekt-configs add your projects in your src/build/local.build.properties:

# Dir name of local configuration
#local.config.dir=conf/local/project-a/
#local.config.dir=conf/local/project-b/
#local.config.dir=conf/local/project-c/
local.config.dir=conf/local/project-d/


now you can switch between the different project by commenting out some of them.