Mercurial > public > develkit
changeset 54:a435af436c95
create separate settings file for bambo (ci server)
author | smith@nwoca.org |
---|---|
date | Sun, 19 Jun 2011 09:26:08 -0400 |
parents | 7066d68bcb47 |
children | 089def1a3a2d |
files | ssdt.ci.ivy.settings.xml ssdt.default.ivy.settings.xml |
diffstat | 2 files changed, 38 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ssdt.ci.ivy.settings.xml Sun Jun 19 09:26:08 2011 -0400 @@ -0,0 +1,36 @@ +<!-- SSDT CI ivy settings. + This file should be used by all SSDT projects based on Ivy when building under a CI server. + Never uses a local resolver for resolution.` +--> +<ivysettings> + <settings defaultResolver="default" /> + <caches defaultCacheDir="${user.home}/.ivy2/cache" useOrigin="true" > + <cache name="snapshot-cache" basedir="${user.home}/.ivy2/snapshot-cache" defaultTTL="5m"> + <ttl revision="latest.integration" duration="5s"/> + </cache> + </caches> + <property name="ivy.local.default.root" value="${user.home}/.ivy2/local" override="false"/> + <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/> + <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/> + <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/> + <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/> + <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/> + <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/> + <resolvers > + <chain name="default"> + <url name="ssdt-snapshots" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache"> + <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" /> + <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/ivy-[revision].xml" /> + </url> + <ibiblio name="ssdt-repo" m2compatible="true" root="http://repos.ssdt.nwoca.org/artifactory/ssdt-repo" /> + </chain> + <filesystem name="local" checkmodified="true" force="false" local="true" changingPattern=".*SNAPSHOT" > + <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" /> + <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" /> + </filesystem> + <filesystem name="publish-only" local="true"> + <ivy pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.ivy.pattern}" /> + <artifact pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.artifact.pattern}" /> + </filesystem> + </resolvers> +</ivysettings>
--- a/ssdt.default.ivy.settings.xml Sat Jun 18 20:55:36 2011 -0400 +++ b/ssdt.default.ivy.settings.xml Sun Jun 19 09:26:08 2011 -0400 @@ -11,7 +11,6 @@ </caches> <property name="ivy.local.default.root" value="${user.home}/.ivy2/local" override="false"/> <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/> - <property name="ivy.local.force.mode" value="true" override="false"/> <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/> <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/> <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/> @@ -19,7 +18,7 @@ <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/> <resolvers > <chain name="default"> - <filesystem name="local" checkmodified="true" force="${ivy.local.force.mode}" local="true" changingPattern=".*SNAPSHOT" > + <filesystem name="local" checkmodified="true" force="true" local="true" changingPattern=".*SNAPSHOT" > <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" /> <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" /> </filesystem> @@ -34,7 +33,6 @@ <filesystem name="publish-only" local="true"> <ivy pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.ivy.pattern}" /> <artifact pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.artifact.pattern}" /> - </filesystem> - + </filesystem> </resolvers> </ivysettings>