Subversion Repositories bacoAlunos

Rev

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

Rev 288 Rev 290
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}"
Line 142... Line 142...
142
    <target name="build" depends="initDirs" description="Compile All and create conf files">
142
    <target name="build" depends="initDirs" description="Compile All and create conf files">
143
        <antcall target="compile"/>
143
        <antcall target="compile"/>
144
        <antcall target="createConfigurationFiles"/>
144
        <antcall target="createConfigurationFiles"/>
145
    </target>
145
    </target>
146
    <target name="compile" depends="initDirs" description="Compile All">
146
    <target name="compile" depends="initDirs" description="Compile All">
147
        <javac encoding="UTF-8" source="1.5" target="1.5" destdir="${build.dir.classes}" debug="true" optimize="true" fork="true" deprecation="false" verbose="false" failonerror="true">
147
        <javac encoding="UTF-8" source="1.5" target="1.5" destdir="${build.dir.classes}" debug="true" optimize="true" fork="true" deprecation="true" verbose="true" failonerror="true">
148
            <src path="${src.dir}"/>
148
            <src path="${src.dir}"/>
149
            <src path="${gen.dir.java}"/>
149
            <src path="${gen.dir.java}"/>
150
            <classpath refid="pathToToolsLib"/>
150
            <classpath refid="pathToToolsLib"/>
151
        </javac>
151
        </javac>
152
    </target>
152
    </target>