Skip to Content.
Sympa Menu

shibboleth-dev - Re: dist.idp.xml

Subject: Shibboleth Developers

List archive

Re: dist.idp.xml


Chronological Thread 
  • 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



Archive powered by MHonArc 2.6.16.

Top of Page