Resending due to my messed up sendmail config...

----------  Forwarded Message  ----------

Subject: Properties, filters and Buildmagic
Date: Mon, 13 May 2002 20:15:55 +0000
From: Jason Dillon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

It appears that there is some confusion on properties and filters and how
 they work with Buildmagic, so I hope this clears things up.

Any properties defined in outside of a target, in the configure target or
included from build/local.properties are automatically turned into filters.
This means that you should define your properties in these locations and
avoid using the <filter/> task as it just complicates the build file.

Properties defined in build/local.properties will override most of the
properties used in the build file.  This is where users define overrides for
properties to control the behavior of the build.

For example, to change the default type mapping for jaws & jbosscmp:

default.type.mapping=Oracle8

Now when you (re)build the configuration files will use this value when
copying.  This is the prefered method for changing configuration values that
are local to your enviroment.  Put defaults into build.xml in the configure
target, then optionaly put commented examples into
build/etc/local.properties-example.  This file is automatically installed as
build/local.propertes if the file does not exist and will be included by all
builds (even sub-module builds which were not started by
build/build.[sh|bat].

The reason for this is to avoid checking in your local changes which may
 break someone elses environment (which can happen from time to time if you
 need to change a config file and forget it was modfied and then
 accidentically check it in when commiting something comletly different).

If you have any questions about this please let me know,

--jason

-------------------------------------------------------

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to