Subversion Repositories bacoAlunos

Rev

Rev 285 | Rev 288 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 285 Rev 287
Line 90... Line 90...
90
        TOMCAT Instalation Tasks
90
        TOMCAT Instalation Tasks
91
    -->
91
    -->
92
    <target name="tomcat.deployContext" depends="build.war">
92
    <target name="tomcat.deployContext" depends="build.war">
93
        <echo message="${tomcat.manager}"/>
93
        <echo message="${tomcat.manager}"/>
94
        <tomcat.install url="${tomcat.manager}" path="${tomcat.context.path.install}"
94
        <tomcat.install url="${tomcat.manager}" path="${tomcat.context.path.install}"
95
                        config="file://${basedir}/${dist.dir}/estgweb.xml"
95
                        config="file:${basedir}/${dist.dir}/estgweb.xml"
96
                        username="${tomcat.username}" password="${tomcat.password}" />
96
                        username="${tomcat.username}" password="${tomcat.password}" />
97
    </target>
97
    </target>
98
    <target name="tomcat.redeployContext" depends="tomcat.undeploy,build.war" >
98
    <target name="tomcat.redeployContext" depends="tomcat.undeploy,build.war" >
99
        <echo message="${tomcat.manager}"/>
99
        <echo message="${tomcat.manager}"/>
100
        <tomcat.install url="${tomcat.manager}" path="${tomcat.context.path.install}"
100
        <tomcat.install url="${tomcat.manager}" path="${tomcat.context.path.install}"
101
                        config="file:/${basedir}/${dist.dir}/estgweb.xml"
101
                        config="file:${basedir}/${dist.dir}/estgweb.xml"
102
                        username="${tomcat.username}" password="${tomcat.password}" />
102
                        username="${tomcat.username}" password="${tomcat.password}" />
103
    </target>
103
    </target>
104
    <target name="tomcat.deploy" depends="war" >
104
    <target name="tomcat.deploy" depends="war" >
105
        <echo message="${tomcat.manager} path:${tomcat.context.path.install} warfile:file:${basedir}/${dist.dir}/${tomcat.war.file}"/>
105
        <echo message="${tomcat.manager} path:${tomcat.context.path.install} warfile:file:${basedir}/${dist.dir}/${tomcat.war.file}"/>
106
        <tomcat.deploy url="${tomcat.manager}" path="${tomcat.context.path.install}"
106
        <tomcat.deploy url="${tomcat.manager}" path="${tomcat.context.path.install}"