Re: Delayed properties resolving
Antoine Levy-Lambert <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am not sure what is the problem with the current behavior of CruiseControl. Do you want to change property values during builds ? Or do you have some key/values pairs defined in external property files which you change externally ? I have hacked CruiseControl to read properties from LDAP, giving the possibility to create one property per attribute found in a LDAP directory context. I am using this mechanism to define branch specific parameters, for instance the name of the UT WebSphere Server and the name of the Selenium WebSphere server. I did not submit this change in JIRA yet but would be interested to. Since this one is using only JNDI it does not require external libraries. Regards, Antoine Daniel Tihelka wrote: > Dear CruiseControl users and developers. > > No idea or just not interesting feature? I want have to know ... > > If you are interested, just write me few notes of your opinion about the best > way of implementing it, or where I should start to examine possibilities, > and I will try to implement it (to Dan Rollo: taking care for all the tests > this time ;-) ). > > Should I open new JIRA issue? > > Thank you very much, > Dan T. > > >> So, what to do with it? >> >> - there already is a way of achieving it. Please, if you know the way, let me >> > know ... > >> - change the behavior of CC to resolve the properties at the last moment, >> > just before they are used. However, it may change the behavior of CC, and > someone may rely on it. Therefore, I expect it is hardly acceptable > >> - add new optional attribute to <property /> tag, something like >> > "delayresolving=true", with default to "false" if not set; that would cause > the resolving of properties to the last moment before they are required; the > original behavior will stay unaffected > >> - ??? any better/cool idea? >> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ------------------------------------------------------------------------ > > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev