Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/ant
/ functions
Functions
14,300 in github.com/apache/ant
⨍
Functions
14,300
◇
Types & classes
1,839
↓ 1 callers
Method
mustBeRecompiled
Determines if the ejbc utility needs to be run or not. If the stubs and skeletons can all be found in the destination directory AND all of their time
src/main/org/apache/tools/ant/taskdefs/optional/ejb/IPlanetEjbc.java:1083
↓ 1 callers
Method
mustSetSourceForTarget
Whether the selected -target is known to be incompatible with the default -source value of the selected JDK's javac. <p>Assumes it will never be call
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:929
↓ 1 callers
Method
mustSplit
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java:818
↓ 1 callers
Method
needToRebuild
This method checks the timestamp on each file listed in the <code> ejbFiles</code> and compares them to the timestamp on the <code>jarFile </code>. I
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:655
↓ 1 callers
Method
needsCleanup
()
src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java:273
↓ 1 callers
Method
newArchiveScanner
Creates a scanner for this type of archive. @return the scanner.
src/main/org/apache/tools/ant/types/ArchiveFileSet.java:298
↓ 1 callers
Method
newJUnitTestRunner
Create a new test runner for a test. @param test the test to run. @param methods names of the test methods to be run. @param haltOnError if true halt
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java:68
↓ 1 callers
Method
newLaunchDefinitionXml
()
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/JUnitLauncherTask.java:415
↓ 1 callers
Method
newRegexp
Create a new regular expression matcher instance. @return the matcher instance @throws BuildException on error
src/main/org/apache/tools/ant/util/regexp/RegexpFactory.java:38
↓ 1 callers
Method
newURL
(String u)
src/main/org/apache/tools/ant/types/resources/URLResource.java:425
↓ 1 callers
Method
newXZInputStream
(InputStream istream)
src/main/org/apache/tools/ant/taskdefs/Untar.java:242
↓ 1 callers
Method
newXZOutputStream
(OutputStream ostream)
src/main/org/apache/tools/ant/taskdefs/Tar.java:1016
↓ 1 callers
Method
next
()
src/main/org/apache/tools/ant/types/resources/Resources.java:100
↓ 1 callers
Method
nextResource
Convenience method to return the next resource. @return the next File.
src/main/org/apache/tools/ant/types/resources/FileResourceIterator.java:146
↓ 1 callers
Method
nextResource
()
src/main/org/apache/tools/ant/util/ConcatResourceInputStream.java:124
↓ 1 callers
Method
okToDelete
Its only ok to delete a directory tree if there are no files in it. @param d the directory to check @return true if a deletion can go ahead
src/main/org/apache/tools/ant/taskdefs/Move.java:263
↓ 1 callers
Method
onEndChild
Handle the end of a element. @param uri the namespace uri of the element @param tag the tag of the element @param qname the qualified name of the ele
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:438
↓ 1 callers
Method
onEndElement
This method is called when this element and all elements nested into it have been handled. I.e., this happens at the </end_tag_of_the_element>.
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:449
↓ 1 callers
Method
onStartChild
Handles the start of an element. This base implementation just throws an exception - you must override this method if you expect child elements. @par
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:423
↓ 1 callers
Method
onStartElement
Handles the start of an element. This base implementation does nothing. @param uri the namespace URI for the tag @param tag The name of the element b
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:402
↓ 1 callers
Method
onSuccessfulValidation
handler called on successful file validation. @param fileProcessed number of files processed.
src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java:329
↓ 1 callers
Method
onTick
tick handler
src/main/org/apache/tools/ant/taskdefs/Get.java:573
↓ 1 callers
Method
openFile
(int index)
src/main/org/apache/tools/ant/util/ConcatFileInputStream.java:118
↓ 1 callers
Method
outStreams
outStreams
src/main/org/apache/tools/ant/taskdefs/Redirector.java:736
↓ 1 callers
Method
outputLog
Log an output message. @param line the line to putput @param messageLevel the level of logging - ignored if output is going to a f
src/main/org/apache/tools/ant/taskdefs/Exec.java:224
↓ 1 callers
Method
overrideProperties
Override the properties in the new project with the one explicitly defined as nested elements here. @throws BuildException under unknown circumstances
src/main/org/apache/tools/ant/taskdefs/Ant.java:480
↓ 1 callers
Method
pack
subclasses must implement this method to do their compression
src/main/org/apache/tools/ant/taskdefs/Pack.java:192
↓ 1 callers
Method
pack
Compress the zipFile.
src/main/org/apache/tools/ant/taskdefs/optional/xz/Xz.java:42
↓ 1 callers
Method
parse
Parses the supported flags from the given archive data. @param data local file header or a central directory entry. @param offset offset at which the
src/main/org/apache/tools/zip/GeneralPurposeBit.java:171
↓ 1 callers
Method
parse
Parse a source xml input. @param project the current project @param source the xml source @exception BuildException if an error occurs
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:149
↓ 1 callers
Method
parseAndCreateDirectory
(final String serverResponse, final File localFile)
src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java:222
↓ 1 callers
Method
parseAndFetchFile
(final String serverResponse, final File localFile,
src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java:237
↓ 1 callers
Method
parseAntlibDescriptor
Parse the given URL as an antlib descriptor and return the content as something that can be turned into an Antlib task. @param containingProject Proj
src/main/org/apache/tools/ant/ProjectHelper.java:618
↓ 1 callers
Method
parseBinaryBigInteger
(final byte[] buffer, final int offset,
src/main/org/apache/tools/tar/TarUtils.java:205
↓ 1 callers
Method
parseBinaryLong
(final byte[] buffer, final int offset, final int length,
src/main/org/apache/tools/tar/TarUtils.java:185
↓ 1 callers
Method
parseCharSetFromMimeType
(final String type)
src/main/org/apache/tools/ant/taskdefs/email/JakartaMimeMailer.java:298
↓ 1 callers
Method
parseCharSetFromMimeType
(final String type)
src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java:304
↓ 1 callers
Method
parseDate
Parse date out from expected format. @param date the string holding date @return the date object or null if unknown date format
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java:273
↓ 1 callers
Method
parseDateFromHeader
Parses the string in a format suitable for a SMTP date header. @param datestr string to be parsed @return a java.util.Date object as parsed by the f
src/main/org/apache/tools/ant/util/DateUtils.java:264
↓ 1 callers
Method
parseEjbFiles
This method returns a list of EJB files found when the specified EJB descriptor is parsed and processed. @param descriptorFileName String representin
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:500
↓ 1 callers
Method
parseEmacsOutput
(BufferedReader reader)
src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java:158
↓ 1 callers
Method
parseFromCentralDirectoryData
Populate data from this array as if it was in central directory data. @param buffer the buffer to read data from @param offset offset into buffer to
src/main/org/apache/tools/zip/UnparseableExtraFieldData.java:106
↓ 1 callers
Method
parseFromLocalFileData
{@inheritDoc}
src/main/org/apache/tools/zip/Zip64ExtendedInformationExtraField.java:148
↓ 1 callers
Method
parseIso8601Date
Parse a string as a date using the ISO8601_DATE format which is <code>yyyy-MM-dd</code> @param datestr string to be parsed @return a java.util.Date
src/main/org/apache/tools/ant/util/DateUtils.java:297
↓ 1 callers
Method
parseIso8601DateTime
Parse a string as a datetime using the ISO8601_DATETIME format which is <code>yyyy-MM-dd'T'HH:mm:ss</code> @param datestr string to be parsed @retur
src/main/org/apache/tools/ant/util/DateUtils.java:281
↓ 1 callers
Method
parseLaunchDefinition
(final Path pathToLaunchDefXml)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/StandaloneLauncher.java:133
↓ 1 callers
Method
parseLenientDateTime
Parse a lenient ISO 8601, ms since epoch, or {@code <touch>}-style date. That is: <ul> <li>Milliseconds since 1970-01-01 00:00</li> <li><code>YYYY-MM-
src/main/org/apache/tools/ant/util/DateUtils.java:347
↓ 1 callers
Method
parseOutput
Parse the output of a jikes compiler @param reader - Reader used to read jikes's output @throws IOException on error
src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java:114
↓ 1 callers
Method
parsePackages
Add the directories matched by the nested dirsets to the Vector and the base directories of the dirsets to the Path. It also handles the packages and
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:2430
↓ 1 callers
Method
parsePair
(final String text)
src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java:719
↓ 1 callers
Method
parsePaxHeaders
(InputStream i)
src/main/org/apache/tools/tar/TarInputStream.java:421
↓ 1 callers
Method
parsePropertyName
Determine whether there is a property reference at the current ParsePosition and return its name (or null if there is none). <p>Implementations shoul
src/main/org/apache/tools/ant/property/PropertyExpander.java:48
↓ 1 callers
Method
parseRDiff
Parse the tmpFile and return and array of CvsTagEntry to be written in the output. @param tmpFile the File containing the output of the cvs rdiff com
src/main/org/apache/tools/ant/taskdefs/cvslib/CvsTagDiff.java:294
↓ 1 callers
Method
parseUnknownElement
Parse an unknown element from a url @param project the current project @param source the url containing the task @return a configured task @exceptio
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:125
↓ 1 callers
Method
parseXML
(File file)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/AbstractXSLTLiaisonTest.java:105
↓ 1 callers
Method
passesConditions
Ensures that the selector passes the conditions placed on it with <code>if</code> and <code>unless</code>. @return true if conditions are passed
src/main/org/apache/tools/ant/types/selectors/SelectSelector.java:152
↓ 1 callers
Method
patchContent
(final String fileContents, final String fixData)
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:2584
↓ 1 callers
Method
patchEnvironment
Patch the current environment with the new values from the user. @return the patched environment.
src/main/org/apache/tools/ant/taskdefs/Execute.java:604
↓ 1 callers
Method
pathsToURL
convert all paths to URLs @return the paths as a separated list of URLs
src/main/org/apache/tools/ant/taskdefs/MakeUrl.java:189
↓ 1 callers
Method
paxHeaders
()
src/main/org/apache/tools/tar/TarInputStream.java:415
↓ 1 callers
Method
popWrapper
remove a runtime configurable wrapper from the stack
src/main/org/apache/tools/ant/helper/AntXMLContext.java:246
↓ 1 callers
Method
populateAttributes
A refactored method for populating all the command line arguments based on the user-specified attributes.
src/main/org/apache/tools/ant/taskdefs/optional/ANTLR.java:325
↓ 1 callers
Method
populateFromCentralDirectory
Reads the central directory of the given archive and populates the internal tables with ZipEntry instances. <p>The ZipEntrys will know all data that
src/main/org/apache/tools/zip/ZipFile.java:457
↓ 1 callers
Method
positionAtCentralDirectory
Searches for either the "Zip64 end of central directory locator" or the "End of central dir record", parses it and positions the s
src/main/org/apache/tools/zip/ZipFile.java:723
↓ 1 callers
Method
positionAtCentralDirectory32
Searches for the "End of central dir record", parses it and positions the stream at the first central directory record.
src/main/org/apache/tools/zip/ZipFile.java:773
↓ 1 callers
Method
positionAtCentralDirectory64
Parses the "Zip64 end of central directory locator", finds the "Zip64 end of central directory record" using the parsed informatio
src/main/org/apache/tools/zip/ZipFile.java:751
↓ 1 callers
Method
positionAtEndOfCentralDirectoryRecord
Searches for the and positions the stream at the start of the "End of central dir record".
src/main/org/apache/tools/zip/ZipFile.java:784
↓ 1 callers
Method
postProcess
(final File file, final String fixData)
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:2551
↓ 1 callers
Method
postProcessGeneratedJavadocs
()
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:2508
↓ 1 callers
Method
preClose
()
src/main/org/apache/tools/zip/ZipOutputStream.java:573
↓ 1 callers
Method
prepareConfigure
If some arguments matched with {@link #readArguments(String[], int)}, this method is called just before the project being configured @param project P
src/main/org/apache/tools/ant/ArgumentProcessor.java:66
↓ 1 callers
Method
preprocessCompilerArgs
Preprocess the compiler arguments in any way you see fit. This is to allow compiler adapters to validate or filter the arguments. The base implementat
src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java:317
↓ 1 callers
Method
printClassNotFound
Print class not found.
src/main/org/apache/tools/ant/ComponentHelper.java:1030
↓ 1 callers
Method
printDescription
Prints the description of a project (if there is one) to <code>System.out</code>. @param project The project to display a description of.
src/main/org/apache/tools/ant/Main.java:1086
↓ 1 callers
Method
printEntry
Print out an individual entry in changelog. @param doc Document used to create elements. @param entry the entry to print @param output writer to whic
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriter.java:85
↓ 1 callers
Method
printHead
Prints the header of the generated output. @param out PrintWriter to write to. @param p Project instance for the current task @param tasks map (name
src/main/org/apache/tools/ant/taskdefs/AntStructure.java:134
↓ 1 callers
Method
printNotLoadDependentClass
Print could not load dependent class.
src/main/org/apache/tools/ant/ComponentHelper.java:1047
↓ 1 callers
Method
printResults
print any results in the statement @deprecated since 1.6.x. Use {@link #printResults(java.sql.ResultSet, java.io.PrintStream)
src/main/org/apache/tools/ant/taskdefs/SQLExec.java:854
↓ 1 callers
Method
printTail
Prints the trailer. @param out PrintWriter to write to.
src/main/org/apache/tools/ant/taskdefs/AntStructure.java:158
↓ 1 callers
Method
printTargetDecl
Prints the definition for the target element. @param out PrintWriter to write to.
src/main/org/apache/tools/ant/taskdefs/AntStructure.java:141
↓ 1 callers
Method
printTargets
Prints a list of all targets in the specified project to <code>System.out</code>, optionally including subtargets. @param project The project to disp
src/main/org/apache/tools/ant/Main.java:1125
↓ 1 callers
Method
printUnknownDefinition
Print unknown definition.forking
src/main/org/apache/tools/ant/ComponentHelper.java:998
↓ 1 callers
Method
printUsage
Print the usage of the supported arguments @param writer PrintStream @see org.apache.tools.ant.Main#printUsage()
src/main/org/apache/tools/ant/ArgumentProcessor.java:86
↓ 1 callers
Method
printVersion
Prints the Ant version information to <code>System.out</code>. @exception BuildException if the version information is unavailable
src/main/org/apache/tools/ant/Main.java:1014
↓ 1 callers
Method
process
(File f)
src/main/org/apache/tools/ant/taskdefs/Truncate.java:159
↓ 1 callers
Method
processComment
Process a line while in "GET_COMMENT" state. @param line the line
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java:148
↓ 1 callers
Method
processDate
Process a line while in "DATE" state. @param line the line to process
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java:221
↓ 1 callers
Method
processDoUpdate
Process doupdate
src/main/org/apache/tools/ant/taskdefs/Zip.java:870
↓ 1 callers
Method
processElement
Called when an endelement is seen. This may be overridden in derived classes. This updates the ejbfiles if the element is an interface or a bean class
src/main/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.java:355
↓ 1 callers
Method
processEntry
(ZipFile zip, ZipEntry inputEntry)
src/main/org/apache/tools/ant/taskdefs/optional/jlink/jlink.java:346
↓ 1 callers
Method
processExceptions
Now faults are analysed. <p>The priority is</p> <ol> <li>testexceptions, except those indicating a build timeout when the application itself failed. (
src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java:514
↓ 1 callers
Method
processFile
(String file)
src/main/org/apache/tools/ant/taskdefs/FixCRLF.java:346
↓ 1 callers
Method
processFile
Executes all the chained ImageOperations on the file specified. @param file The file to be processed. @deprecated this method isn't used anymore
src/main/org/apache/tools/ant/taskdefs/optional/image/ImageIOTask.java:260
↓ 1 callers
Method
processFile
Executes all the chained ImageOperations on the file specified. @param file The file to be processed. @deprecated this method isn't used anymore
src/main/org/apache/tools/ant/taskdefs/optional/image/Image.java:274
↓ 1 callers
Method
processFile
Process a line while in "GET_FILE" state. @param line the line to process
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java:171
↓ 1 callers
Method
processFilterChain
Performs the normal processing of the filters. @return true if the filter chain produced new output.
src/main/org/apache/tools/ant/taskdefs/Replace.java:701
↓ 1 callers
Method
processFlush
Converts the buffer to a string and sends it to the project. @param buffer the ByteArrayOutputStream used to collect the output until a line separato
src/main/org/apache/tools/ant/DemuxOutputStream.java:181
↓ 1 callers
Method
processGetPreviousRevision
Process a line while in "GET_PREVIOUS_REVISION" state. @param line the line to process
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java:246
↓ 1 callers
Method
processGroupFilesets
Process groupfilesets
src/main/org/apache/tools/ant/taskdefs/Zip.java:881
↓ 1 callers
Method
processLine
(final String line, final int messageLevel)
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:2624
← previous
next →
4,901–5,000 of 14,300, ranked by callers