Skip to Content.
Sympa Menu

shibboleth-dev - Re: distcopy target in build.xml

Subject: Shibboleth Developers

List archive

Re: distcopy target in build.xml


Chronological Thread 
  • From: Walter Hoehn <>
  • To: Howard Gilbert <>
  • Cc: <>
  • Subject: Re: distcopy target in build.xml
  • Date: Thu, 19 May 2005 13:33:52 -0500

Users of distcopy,

I've added back what I think is a replacement for distcopy that is compatible with the new install target. Does this work for you?


-Walter


<!-- Create an IdP war and copy it to the pre-configured tomcat directory -->
<target name="copy-IdP" depends="compile" description="Copy shibboleth.war to {tomcat.home}/webapps (Tomcat must be stopped first)">
<!-- This task assumes that a pre-existing properties file has the correct path information -->
<copy file="${configroot}/idp.xml.dist" tofile="$ {configroot}/idp.xml" overwrite="true" />
<replace file="${configroot}/idp.xml" token="$SHIB_HOME$" value="${shib.home}" />
<war warfile="${dist}/${distname}.war" webxml="${configroot}/ idp.xml" basedir="${approot}" update="no" />
<copy file="${dist}/${distname}.war" tofile="${tomcat.home}/ webapps/${shib.webapp.name}.war" />
<delete dir="${tomcat.home}/webapps/${distname}" quiet="yes" />
</target>



On May 18, 2005, at 9:47 AM, Howard Gilbert wrote:

Walter has been working on a new install process and removed it. I had to
put it back in because the install process doesn't work for me and may not
work under Eclipse (or if it does, I don't know how to work it).

I had planned to check it back in with a note to leave it there until the
new stuff works out, but having to reply to this question makes the issue a
bit more public.

Alternately, if Walter can announce how to make the new stuff work in a
reply I will avoid reintroducing it.

[Don't wait for me, just grab the target by doing a Compare With ...
Revision ... 1.42, Copy from the right, Past to the left, Save, and then
leave build.xml alone for a couple of hours.]


-----Original Message-----
From: Andrew Booth
[mailto:]
Sent: Wednesday, May 18, 2005 10:21 AM
To:

Subject: distcopy target in build.xml

While setting up Eclipse, I noticed that the shib project no longer has
a distcopy target in its build.xml - is there a reason why this target
has been dropped?








Archive powered by MHonArc 2.6.16.

Top of Page