Evaluate Changelogic without registration!
  

Configuring Build Script Behaviour


You can configure behaviour of Changelogic script from two files, placed in your project repository's top level:

  • devweb-project.properties – project-wide settings
  • devweb-personal.properties – your personal settings

You can override project-wide settings in your personal settings file.


The general format and encoding of property files is described in Java API.


Configuring devweb-project.properties


The project-wide settings file should be stored in VCS in the repository directory of your project. The settings preset in this file apply to every project member, except those who have not overridden the settings in their private settings file.


The following settings are usually stored in project-wide settings file:


PropertyRequired?ExplanationExample
devweb.rooturlYesThe URL of your Changelogic server. The “index.php” should not be included in the URL.devweb.rooturl= http://changelogic.example.com
devweb.tmpdirYesThe temporary directory to use for storing process state and last log files. NOTE: On Windows systems, use single forward slashes «/» or double backslashes "\\" as directory separators.devweb.tmpdir=changelogic.tmp
devweb.version.properties.fileWhen integratingName of the property file to save version number intodevweb.version.properties.file= version.properties
devweb.version.properties.prefixYesPrefix of the properties that store parts of version numberdevweb.version.properties. prefix=myproject.version
devweb.version.properties.names.stageNoSuffix for the property that stores first part of version number, the functionality stage number. If not specified, default value “stage” will be used.devweb.version.properties. names.stage=functionalityStage
devweb.version.properties.names.milestoneNoSuffix for the property that stores second part of version number, the production release cycle number. If not specified, default value “milestone” will be used.devweb.version.properties. names.milestone= productionReleaseCycle
devweb.version.properties.names.submilestoneNoSuffix for the property that stores third part of version number, the test release cycle number. If not specified, default value “submilestone” will be used.devweb.version.properties.names. submilestone=testReleaseCycle
devweb.version.properties.names.versionNoSuffix for the property that stores fourth part of version number, the number of version within test release cycle. If not specified, default value “version” will be used.devweb.version.properties. names.version=version
devweb.integration.buildfileNoAnt build script containing targets to run during integration. If not specified, default value “build.xml” is assumed.devweb.integration. buildfile=build.xml
devweb.integration.prepare.targetNoAnt target to run (in script specified by devweb.integration.buildfile) after mainline has been checked out into integration directory and the change has been merged. If not specified, no target is run.devweb.integration. prepare.target=prepare_integration
devweb.integration.prepare.stop.messageNoMessage to display when stopping after merge during integration. If not specified, the script will not stop after merge.devweb.integration .prepare.stop.message=Please check for possible merging conflicts
devweb.integration.target0
devweb.integration.target1
devweb.integration.target2
...
NoTargets to run (in script specified by devweb.integration.buildfile) during integration – the integration steps. If not specified, one target “build_all” is assumed.devweb.integration.target0=compile
devweb.integration.target1=deploy
devweb.integration.target2=test

The integration steps are executed in the copy of build script that resides in the integration directory; preparation target is executed in current directory. When executing the preparation target, the location of current integration directory is passed along in property “devweb.integration.dir”.

Configuring devweb-personal.properties


The personal settings file should be kept private, i.e. you should not submit it to VCS. You can download a sample file from the “Supporting Files” page of Changelogic (accessible through the menu that opens upon clicking on your name in the upper right corner).


The following settings are usually stored in personal settings file rather than project-wide settings file:


PropertyRequired?ExplanationExample
devweb.userYesYour Changelogic usernamedevweb.user=anna
devweb.auth-tokenYesAuthentication code for the environment you are usingdevweb.auth-token=2037d3220fe392a23cc2db332fd871bf
devweb.integration.dirWhen integrating or updating base versionThe directory to use for performing integrations and base version updates. You should have enough room for several checkouts of the project. NOTE: On Windows systems, use single forward slashes «/» or double backslashes "\\" as directory separators.devweb.integration.dir=c:/temp/myproject-integration
devweb.project.cvsrootNoThe CVSROOT to use for accessing CVS. If not specified, content of file CVS/Root is used; if such file is not found, value of environment variable “CVSROOT” is used. This property is deprecated and should not be used.devweb.project.cvsroot=:pserver: :/var/cvs
devweb.logging.disabledNoIf set to “yes”, script runtime log is not stored in temporary directory specified by devweb.tmpdirdevweb.logging.disabled=yes
devweb.cvscheck.disabledNoIf set to “yes”, your local VCS metainfo files will not be validated before performing VCS operationsdevweb.cvscheck.disabled=yes