1 Dec 06:04
RE: Anthill Scripts Have DOS File Format?
Thanks Erik, I unpacked it using gunzip and tar, and that seems to have fixed the problem! Cheers, Andrew -----Original Message----- From: Erik Husby [mailto:mhusby@...] Sent: Wednesday, 1 December 2004 1:32 AM To: andrews@...; Anthill user list Subject: Re: [Anthill] Anthill Scripts Have DOS File Format? You did not say how you unpacked the Anthill distribution. I've had problems similar to this if I used a Windows utility such as WinZip to unpack the distribution to a Unix filesystem. I've not had any problems with the Anthill scripts on my Unix and Linux systems if I unpacked using Unix utilities. -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, mhusby@...
In the build track editor, I specify "Property File Property Name" =
"integration_props" and then list the properties in the "Property File"
block.
"db.password=real_pass"
In the build.xml file, I add these lines:
<!-- these props will come from AnthillPro -->
<property file="${integration_props}"/>
<!-- these props will be developer specific overrides -->
<property file="${build.dir}/build.properties"/>
<!-- these will be global defaults stored in CVS for all developers -->
<property file="${build.dir}/default.properties"/>
When AHP builds, the integration props override the defaults. Et voila!
Cheers,
Timo
P.S. for environment specific (i.e. Integration/QA/Production) settings, I
have a custom Java component hooked in via Spring that pulls in the correct
setting, but that's a bit beyond the scope of this particular question.
RSS Feed