ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/res/deployer/build.xml

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/res/deployer/build.xml
Status
scanned
Type
file
Name
build.xml
Extension
.xml
Programming language

      
    
Mime type
text/xml
File type
XML 1.0 document, ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
4253 (4.2 KB)
MD5
7e798823efc7ee1324cb9dc1e85ef28a
SHA1
5f89ffddb1e4538460bff936a6aa9bd2ad09c861
SHA256
0e7ab8bf775e260a2ad1754c41b543537c2f9a41f7deeab3966debed86699eb2
SHA512

      
    
SHA1_git
e30fd923a6464027c93c85fb6a233198e5bdac11
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
build.xml | 4.2 KB |

<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="Deployer" default="compile" basedir="."> <property file="deployer.properties"/> <!-- Configure the directory into which the web application is built --> <property name="build" value="${basedir}/build"/> <!-- Configure the folder and context path for this application --> <property name="webapp" value="myapp"/> <property name="path" value="/myapp"/> <!-- Configure properties to access the Manager application --> <property name="url" value="http://localhost:8080/manager/text"/> <property name="username" value="tomcat"/> <property name="password" value="tomcat"/> <property name="webapp.path" value="${build}/webapp${path}"/> <path id="deployer.classpath"> <fileset dir="${basedir}/lib"> <include name="*.jar"/> </fileset> </path> <!-- Configure the custom Ant tasks for the Manager application --> <taskdef resource="org/apache/catalina/ant/catalina.tasks" classpathref="deployer.classpath"/> <!-- Executable Targets --> <target name="clean" description="Removes build directory"> <delete dir="${build}" /> </target> <target name="compile" description="Compile web application" depends="clean"> <copy todir="${webapp.path}"> <fileset dir="${webapp}" /> </copy> <jasper validateXml="false" uriroot="${webapp.path}" webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml" addWebXmlMappings="true" outputDir="${webapp.path}/WEB-INF/classes" /> <validator path="${webapp.path}" /> <mkdir dir="${webapp.path}/WEB-INF/classes"/> <mkdir dir="${webapp.path}/WEB-INF/lib"/> <javac destdir="${webapp.path}/WEB-INF/classes" debug="${compile.debug}" deprecation="${compile.deprecation}" failonerror="false" srcdir="${webapp.path}/WEB-INF/classes" encoding="UTF-8" excludes="**/*.smap"> <classpath> <fileset dir="${webapp.path}/WEB-INF/lib"> <include name="*.jar"/> </fileset> <fileset dir="${basedir}/lib"> <include name="*.jar"/> </fileset> </classpath> <include name="**" /> <exclude name="tags/**" /> </javac> <jar destfile="${webapp.path}.war" basedir="${webapp.path}" /> </target> <target name="deploy" description="Deploy web application"> <deploy url="${url}" username="${username}" password="${password}" path="${path}" war="${webapp.path}.war" update="true" /> </target> <target name="undeploy" description="Undeploy web application"> <undeploy url="${url}" username="${username}" password="${password}" path="${path}"/> </target> <!-- Webapp lifecycle control --> <target name="start" description="Start web application"> <start url="${url}" username="${username}" password="${password}" path="${path}"/> </target> <target name="reload" description="Reload web application"> <reload url="${url}" username="${username}" password="${password}" path="${path}"/> </target> <target name="stop" description="Stop web application"> <stop url="${url}" username="${username}" password="${password}" path="${path}"/> </target> </project>
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
25.59
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 10 10