ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/res/ide-support/netbeans/nb-tomcat.xml

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/res/ide-support/netbeans/nb-tomcat.xml
Status
scanned
Type
file
Name
nb-tomcat.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
6180 (6.0 KB)
MD5
7f308cf4e7e9d7879d2fb4b042193288
SHA1
573847b7d730c2709aa14c083fc01a481eeb64fd
SHA256
9d138f1e69d36e1b7ddfd520d613d584b8732dda224052c055df18050fa1baef
SHA512

      
    
SHA1_git
2b9bb287d6357f35ec6d8fa4164795bda8033ffd
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
nb-tomcat.xml | 6.0 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. --> <!-- Supplementary build targets for the Tomcat project under NetBeans. Use the project root as basedir to be consistent with standard build. --> <project basedir=".." name="Tomcat_@VERSION_MAJOR_MINOR@"> <!-- load the standard and user Tomcat build properties now, so they can be used in the NetBeans-specific targets below. Note: inheritall==false will still pass all of these user properties to the Ant build targets of Tomcat. --> <property file="./build.properties"/> <property file="./build.properties.default"/> <!-- load the extra NetBeans build properties for Tomcat, which can --> <!-- use the standard properties symbolic variables. --> <!-- Note: inheritall==false will still pass all of these user --> <!-- properties to the Ant build targets of Tomcat --> <property file="./nbproject/nb-tomcat-build.properties"/> <target name="deploy"> <ant target="deploy" inheritall="false"/> </target> <target name="clean"> <ant target="clean" inheritall="false"/> </target> <target name="javadoc" depends="-package-project"> <ant target="javadoc" inheritall="false"/> </target> <target name="test" depends="-package-project"> <ant target="test" inheritall="false"/> </target> <target name="-package-project" description="ensure Tomcat is ready to use"> <ant target="deploy" inheritall="false"/> </target> <target name="-compile-all-tests" description="needed to prepare some dependencies"> <ant target="test-compile" inheritall="false"/> </target> <target name="compile-selected-files-in-test" depends="-package-project" description="compile one or more selected test (not main) classes"> <fail unless="netbeans.home">This target can only run under NetBeans.</fail> <fail unless="files">Property 'files' must be set in project.xml.</fail> <echo level="verbose" message="compiling tests: ${files}"/> <echo level="verbose" message="compiling tests into: ${test.classes}"/> <mkdir dir="${test.classes}"/> <javac srcdir="test" destdir="${test.classes}" includes="${files}" debug="true" deprecation="${compile.deprecation}" source="${compile.release}" encoding="ISO-8859-1" includeantruntime="false"> <classpath path="${nb-test.classpath}"/> </javac> </target> <target name="test-selected-file" description="execute a single unit test class (-Dtest.entry=nnn)"> <fail unless="test.entry" message="Property 'test.entry' must be set in project.xml."/> <!-- the runtests macro runs a single test if test.entry is a class name Note: we must ONLY run one of the test targets, otherwise the target that runs last and wipe out the other test results! Note: the test targets all depend on deploy --> <ant target="test-nio" inheritall="false"> <property name="junit.formatter.type" value="brief" /> <property name="junit.formatter.usefile" value="false" /> </ant> </target> <target name="debug-selected-file-in-test" depends="-package-project" description="debug the single selected unit test class"> <echo message="debugging test: ${test.entry}"/> <fail unless="netbeans.home">This target can only run under NetBeans.</fail> <fail unless="test.entry" message="Property 'test.entry' must be set in project.xml."/> <nbjpdastart name="${test.entry}" addressproperty="jpda.address" transport="dt_socket" > <classpath path="${nb-test.classpath}"/> <sourcepath> <path path="test"/> </sourcepath> </nbjpdastart> <junit printsummary="yes" fork="yes" dir="." showoutput="yes" errorproperty="test.result.error" failureproperty="test.result.failure" haltonfailure="${test.haltonfailure}" > <jvmarg value="-Xdebug"/> <jvmarg value="-Xnoagent"/> <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/> <jvmarg value="-Djava.compiler=none"/> <jvmarg value="-Djava.library.path=${test.apr.loc}"/> <jvmarg value="${nb-junit.formatter}"/> <classpath path="${nb-test.classpath}" /> <sysproperty key="tomcat.test.temp" value="${test.temp}" /> <sysproperty key="tomcat.test.tomcatbuild" value="${tomcat.build}" /> <sysproperty key="tomcat.test.protocol" value="${nb-test.io-method}"/> <sysproperty key="tomcat.test.accesslog" value="${test.accesslog}" /> <!-- define a non-file JUnit formatter for NetBeans to capture and display --> <formatter usefile="false" type="brief" /> <!-- and also a file formatter for checking later --> <formatter type="${nb-junit.formatter.type}" usefile="${nb-junit.formatter.usefile}" extension="@NB-DBG${nb-junit.formatter.extension}"/> <!-- run the chosen JUnit test class under the debugger --> <test todir="${tomcat.build}/logs" name="${test.entry}"/> </junit> </target> </project>
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
16.5
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