shibboleth-dev - Re: dist.idp.xml
Subject: Shibboleth Developers
List archive
- From: Tom Scavo <>
- To: Scott Cantor <>
- Cc: Shibboleth Development <>
- Subject: Re: dist.idp.xml
- Date: Tue, 31 May 2005 18:41:59 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gTJQyDjKVfWJUJqdruaxIBfyUyEGla5w3Yrtaeot8Kxvo/KIHgv1ZLegKJBEmweocg7MSpnzGX8uBn3W6lzsjOBJK7o0XG/kgvodNKXRmTwqSs4caYgalEOz3vMDdlRrXC96IUL6877thsidfWDhl7uqUT0O0B6miAghyKYFYlY=
On 5/31/05, Scott Cantor
<>
wrote:
> >
> > What if I wanted to use a custom deployment descriptor? Short of
> > modifying the build file, is there a way to incorporate that into the
> > install process?
>
> I enabled container security by modifying build.xml, yes. I suspect it will
> be addressed better later.
Oh sorry, I didn't notice that the script looks for a local
build.properties file first, which solves half the problem. The other
half is solved by adding property idp.deployment.descriptor to
default.build.properties. Then replace the simple copy in the build
file with this:
<if>
<available file="${idp.deployment.descriptor}"/>
<then>
<property name="deployment.descriptor"
value="${idp.deployment.descriptor}"/>
</then>
<else>
<if>
<available file="${configroot}/${idp.deployment.descriptor}"/>
<then>
<property name="deployment.descriptor"
value="${configroot}/${idp.deployment.descriptor}"/>
</then>
<else>
<property name="deployment.descriptor"
value="${configroot}/dist.idp.xml"/>
</else>
</if>
</else>
</if>
<copy file="${deployment.descriptor}"
tofile="${configroot}/idp.xml" overwrite="true"/>
The path to the desired deployment descriptor may be either absolute
or relative to webAppConfig/
Hope this helps (it does me :)
Tom
- dist.idp.xml, Tom Scavo, 05/31/2005
- RE: dist.idp.xml, Scott Cantor, 05/31/2005
- Re: dist.idp.xml, Tom Scavo, 05/31/2005
- Re: dist.idp.xml, Walter Hoehn, 05/31/2005
- Re: dist.idp.xml, Tom Scavo, 05/31/2005
- RE: dist.idp.xml, Scott Cantor, 05/31/2005
Archive powered by MHonArc 2.6.16.