Since we always need the newest xerces endorsed now, copy it over to $IDP_HOME$.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 11 Aug 2005 00:54:46 +0000 (00:54 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 11 Aug 2005 00:54:46 +0000 (00:54 +0000)
Fix bug in tomcat manager install function.

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1789 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

build.xml

index 85d68f4..5d0695e 100755 (executable)
--- a/build.xml
+++ b/build.xml
 
 
        <!-- Tomcat Management -->
-       <target name="setupTomcatTasks">
+       <target name="setupTomcatTasks" depends="init">
                <path id="tomcat.classpath">
                        <fileset dir="${tomcat.home}/server/lib" includes="catalina-ant.jar"/>
                </path>
                        <fileset dir="lib" includesfile="conf/idp-lib.include" />
                </copy>
 
+               <copy todir="${idp.home}/endorsed">
+                       <fileset dir="endorsed" />
+               </copy>
+
                <copy todir="${idp.home}/bin">
                        <fileset dir="bin"/>
                </copy>
                <input message="Enter tomcat password [default: ${tomcat.password}]" addproperty="tomcat.password.input" defaultValue="${tomcat.password}" />
                <var name="tomcat.password" value="${tomcat.password.input}" />
 
+        <antcall target="package-idp" />
                <antcall target="tomcat.deploy" />
                <antcall target="savePropertyFile" />
        </target>