log4j.properties wird nicht mir im conf dir des containers abgelegt, sondern in WEB-INF der Applikation

git-svn-id: https://svn.libreccm.org/ccm/trunk@127 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2009-04-11 08:46:28 +00:00
parent 08f62a84b2
commit 61cf586e6c
1 changed files with 5 additions and 7 deletions

View File

@ -44,14 +44,12 @@
<target name="clean-build-hook"/> <target name="clean-build-hook"/>
<target name="clean-tests-hook"/> <target name="clean-tests-hook"/>
<target name="deploy-hook"> <target name="deploy-hook">
<condition value="${deploy.dir}/conf" property="deploy.conf.dir"> <fail message="Property deploy.dir.ccm-core not defined."
<not> unless="deploy.dir.ccm-core" />
<isset property="deploy.conf.dir"/> <mkdir dir="${deploy.dir.ccm-core}/WEB-INF/conf"/>
</not> <copy todir="${deploy.dir.ccm-core}/WEB-INF/conf" file="${src.dir}/log4j.properties"/>
</condition>
<mkdir dir="${deploy.conf.dir}"/>
<copy todir="${deploy.conf.dir}" file="${src.dir}/log4j.properties"/>
</target> </target>
</project> </project>