Update of properties

Daniel Tihelka <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Dear CruiseControl comunity,

I am creating an quite complicated CruiseControl (CC) project (let's call 
it "primary"), where a build uses results of other "secondary" CC projects. 
Among others, I need some properties which are DYNAMICALLY defined by 
the "secondary" builds (stored into property files). There is no problem to 
create/update the properties in a defined file/s each time any of "secondary" 
projects is built.

What I need to help with is how to tell CC that it should update properties 
when the "primary" project is built. I use  definitions like:

    <property 
file="${cruise.buildutils.dir}/utils-current/utils.properties"  />
    <property 
file="${cruise.buildutils.dir}/imgbuilder-current/imgbuilder.properties"  />
    <property file="${cruise.builddata.dir}/${spkr.id}/data.properties"  />

in the "primary" poject definition, which reads the properties from the 
defined files being generated by "secondary" projects (*-current is the 
automatically created link to the latest build of the "secondary" project).

Therefore, is there a way ho to force the update of properties (defined in a 
file) when a project is built? Note that I do not want to build the project 
when a property file is changed (I could use <modificationset <filesyste/> /> 
to achive this), the the trigger of build must be a SVN change (as it is 
usual).

Thank you very much for your help.
Best regards,
Dan T.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEABECAAYFAkp5T0cACgkQuYlVhxo/P1EP4wCeK6ufOiHgbrDCYiGdK5RD6e6r
vjUAn2IGhowXJYx4PTD6xyI776CoE1Ut
=3S0M
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.