Ant文档翻译(连载)

很想把Ant好好的学习一下,最好的学习方法就是看官方文档,所以决定把原版英文文档翻译一下,如果有翻译不对的地方,请大家指出来,谢谢

英文部份为还没有翻译的部份

文档原始地址:http://ant.apache.org/manual/index.html

参考资料:孙鑫老师的JAVA WEB开发详解 

Using Ant

简单的构建文件:

ant的构建文件是xml格式的,每一个构建文件包含一个project和至少一个(缺省)target,目标包含任务(task)元素,构建文件里的每一个任务元素(task)可以指定一个id元素,可以用它的值来引用这个task,这个值是唯一的,

(更多说明,请看下面的 Tasks)

Projects(工程)

Project 有三个属性

属性描述必须
name工程名No
default没有指定target时缺省使用的target名字No; 然而在Ant 1.6.0后,每个工程包含一个即使使用 -projecthelp 选项也要执行的任务.
basedir

要路径,这个属性可以被先前设置的“basedir"这个属性覆盖,计算其它路径的其路径。如果没有设置这个属性或特性(Property),将使用构建文件(build.xml)的父目录作为基目录。

No

对一个工程的描述(description)可以用顶级的元素<description>(请看description 元素)

每个工程都定义了一个或多个目标(target),目标就是一系列你要执行的任务,当执行ant的时候,你可以选择执行你想要执行的目标,当没有指定目标时,使用<project>元素中default指定的目标。

Targets

一个目标可以依赖其它的目标,例如,你可以有一个编译的目标,一个发布的目标,只有编译之后才可以发布,所以以布目标要依赖于编译,Ant解决这种依赖关系。

应该说明的是,Ant的这种依赖只是指定的目标的执行顺序,这并不影响执行那些没有必要执行的依赖目标。

Ant执行目标的顺序是按照它们从左到右的出现顺序,一个目标比它依赖的目标更早执行是有可能的。

<target name="A"/>
<target name="B" depends="A"/>
<target name="C" depends="B"/>
<target name="D" depends="C,B,A"/>

我们要执行目标D.从依赖属性(depends)看,你可能认为应该先执行目标C,然后是B,最后是A,错了!C依赖B,B依赖A,因此,先执行A,再是B,接着是C,最后是D

上面从给定目标D延伸到依赖的A目标的这个依赖链中,每一个目标只执行一次,即使多个目标依赖一个目标,因此,执行目标D首先会调用C执行,C又会调用B执行,B将会导致A第一次被执行,然后执行B,接着是C,一直执行到依赖链中的D,这个过程中,不会再执行B和A,因为他们已经执行过了,如果B和C没有依赖关系,那么,B和A将在C处理D的依赖时就被执行。

可以设置某个特性(Property)执行目标,例如,这可以依赖系统环境(java 版本,操作系统,命令行特性定义,等)更好的控制构造过程,由特性来添加目标,你应该添加属性if(或者 unless属性),属性值为你要作用于此目标上的特性。注意:Ant仅检查这个特性是否被设置,这个特性的值并不重要,一个空字符串的特性仍然是一个存在的特性。比如:

 

<target name="build-module-A" if="module-A-present"/>
<target name="build-own-fake-module-A" unless="module-A-present"/>

在第一个例子中,如果设置了module-A-present特性(可以是任何值,比如:false),目标都会执行。

在第二个例子中,如果设置了module-A-present(也是任意值),目标都不会被运行。

在if/unless属性中只能指定一个特性,如果想指定多种情况,可以通过依赖目标来计算这种检查结果。

<target name="myTarget" depends="myTarget.check" if="myTarget.run">
    <echo>Files foo.txt and bar.txt are present.</echo>
</target>

<target name="myTarget.check">
    <condition property="myTarget.run">
        <and>
            <available file="foo.txt"/>
            <available file="bar.txt"/>
        </and>
    </condition>
</target>

如果不存在if和unless属性,目标总是会被执行。

Important: if和unless属性只是让使用了这二个属性的目标执行或不执行,而不能控制目标依赖的目标的执行。

可选的description属性能对目标进行描述,可以用-projecthelp选项查看,没有Description的目标不会被选项令列出来,除非使用-verbose或-debug选项。

在其它目标依赖的初始化目标(initialization target)中放置 tstamp 是一个好的实践,确保这个目标总是第一个被执行的,在这本手册中,大多数的初始化目标都命名叫“init”。

如果设置了依赖目标和if/unless属性,依赖的属性会先执行。

一个目标(target)有以下属性。

属性描述必须
nametarget 的名字Yes
depends

一系列依赖的目标名字,用逗号分隔

No
if

执行此目标一定要设置的特性(property)名

No
unless

执行些目标一定不要设置的特性(property)名。

No
description对目标的一个简短描述No

 

 

A target name can be any alphanumeric string valid in the encoding of the XML file. The empty string "" is in this set, as is comma "," and space " ". Please avoid using these, as they will not be supported in future Ant versions because of all the confusion they cause. IDE support of unusual target names, or any target name containing spaces, varies with the IDE.

Targets beginning with a hyphen such as "-restart" are valid, and can be used to name targets that should not be called directly from the command line.

Tasks

A task is a piece of code that can be executed.

A task can have multiple attributes (or arguments, if you prefer). The value of an attribute might contain references to a property. These references will be resolved before the task is executed.

Tasks have a common structure:

< name attribute1=" value1" attribute2=" value2" ... />
 

where name is the name of the task, attributeN is the attribute name, and valueN is the value for this attribute.

There is a set of built-in tasks, along with a number of optional tasks, but it is also very easy to write your own.

All tasks share a task name attribute. The value of this attribute will be used in the logging messages generated by Ant.

Tasks can be assigned an id attribute:

< taskname id=" taskID" ... />
 

where taskname is the name of the task, and taskID is a unique identifier for this task. You can refer to the corresponding task object in scripts or other tasks via this name. For example, in scripts you could do:

<script ... > task1.setFoo("bar"); </script>
 

to set the foo attribute of this particular task instance. In another task (written in Java), you can access the instance via project.getReference("task1").

Note1: If "task1" has not been run yet, then it has not been configured (ie., no attributes have been set), and if it is going to be configured later, anything you've done to the instance may be overwritten.

Note2: Future versions of Ant will most likely not be backward-compatible with this behaviour, since there will likely be no task instances at all, only proxies.

Properties

A project can have a set of properties. These might be set in the buildfile by the property task, or might be set outside Ant. A property has a name and a value; the name is case-sensitive. Properties may be used in the value of task attributes. This is done by placing the property name between "${" and "}" in the attribute value. For example, if there is a "builddir" property with the value "build", then this could be used in an attribute like this: ${builddir}/classes. This is resolved at run-time as build/classes.

In the event you should need to include this construct literally (i.e. without property substitutions), simply "escape" the '$' character by doubling it. To continue the previous example: <echo>$${builddir}=${builddir}</echo>

 

 

 

 

will echo this message:

${builddir}=build/classes

 

 

 

 

 

In order to maintain backward compatibility with older Ant releases, a single '$' character encountered apart from a property-like construct (including a matched pair of french braces) will be interpreted literally; that is, as '$'. The "correct" way to specify this literal character, however, is by using the escaping mechanism unconditionally, so that "$$" is obtained by specifying "$$$$". Mixing the two approaches yields unpredictable results, as "$$$" results in "$$".

Built-in Properties

Ant provides access to all system properties as if they had been defined using a <property> task. For example, ${os.name} expands to the name of the operating system.

For a list of system properties see the Javadoc of System.getProperties.

In addition, Ant has some built-in properties:

basedir the absolute path of the project's basedir (as set with the basedir attribute of <project>). ant.file the absolute path of the buildfile. ant.version the version of Ant ant.project.name the name of the project that is currently executing; it is set in the name attribute of <project>. ant.java.version the JVM version Ant detected; currently it can hold the values "1.2", "1.3", "1.4" and "1.5".

 

 

 

 

There is also another property, but this is set by the launcher script and therefore maybe not set inside IDEs:

ant.home home directory of Ant

 

 

 

 

 

<project name="MyProject" default="dist" basedir="."> <description> simple example build file </description> <!-- set global properties for this build --> <property name="src" location="src"/> <property name="build" location="build"/> <property name="dist" location="dist"/> <target name="init"> <!-- Create the time stamp --> <tstamp/> <!-- Create the build directory structure used by compile --> <mkdir dir="${build}"/> </target> <target name="compile" depends="init" description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> <javac srcdir="${src}" destdir="${build}"/> </target> <target name="dist" depends="compile" description="generate the distribution" > <!-- Create the distribution directory --> <mkdir dir="${dist}/lib"/> <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file --> <jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar" basedir="${build}"/> </target> <target name="clean" description="clean up" > <!-- Delete the ${build} and ${dist} directory trees --> <delete dir="${build}"/> <delete dir="${dist}"/> </target> </project>

 

 

Notice that we are declaring properties outside any target. As of Ant 1.6 all tasks can be declared outside targets (earlier version only allowed <property>,<typedef> and <taskdef>). When you do this they are evaluated before any targets are executed. Some tasks will generate build failures if they are used outside of targets as they may cause infinite loops otherwise (<antcall> for example).

We have given some targets descriptions; this causes the projecthelp invocation option to list them as public targets with the descriptions; the other target is internal and not listed.

Finally, for this target to work the source in the src subdirectory should be stored in a directory tree which matches the package names. Check the <javac> task for details.

A project can have a set of tokens that might be automatically expanded if found when a file is copied, when the filtering-copy behavior is selected in the tasks that support this. These might be set in the buildfile by the filter task.

Since this can potentially be a very harmful behavior, the tokens in the files must be of the form @token@, where token is the token name that is set in the <filter> task. This token syntax matches the syntax of other build systems that perform such filtering and remains sufficiently orthogonal to most programming and scripting languages, as well as with documentation systems.

Note: If a token with the format @token@ is found in a file, but no filter is associated with that token, no changes take place; therefore, no escaping method is available - but as long as you choose appropriate names for your tokens, this should not cause problems.

Warning: If you copy binary files with filtering turned on, you can corrupt the files. This feature should be used with text files only.

Path-like Structures

You can specify PATH- and CLASSPATH-type references using both ":" and ";" as separator characters. Ant will convert the separator to the correct character of the current operating system.

Wherever path-like values need to be specified, a nested element can be used. This takes the general form of:

<classpath> <pathelement path="${classpath}"/> <pathelement location="lib/helper.jar"/> </classpath>

 

 

The location attribute specifies a single file or directory relative to the project's base directory (or an absolute filename), while the path attribute accepts colon- or semicolon-separated lists of locations. The path attribute is intended to be used with predefined paths - in any other case, multiple elements with location attributes should be preferred.

As a shortcut, the <classpath> tag supports path and location attributes of its own, so:

<classpath> <pathelement path="${classpath}"/> </classpath>

 

 

can be abbreviated to:

<classpath path="${classpath}"/>

 

 

In addition, one or more Resource Collections can be specified as nested elements (these must consist of file-type resources only). Additionally, it should be noted that although resource collections are processed in the order encountered, certain resource collection types such as fileset, dirset and files are undefined in terms of order.

<classpath> <pathelement path="${classpath}"/> <fileset dir="lib"> <include name="**/*.jar"/> </fileset> <pathelement location="classes"/> <dirset dir="${build.dir}"> <include name="apps/**/classes"/> <exclude name="apps/**/*Test*"/> </dirset> <filelist refid="third-party_jars"/> </classpath>

 

 

This builds a path that holds the value of ${classpath}, followed by all jar files in the lib directory, the classes directory, all directories named classes under the apps subdirectory of ${build.dir}, except those that have the text Test in their name, and the files specified in the referenced FileList.

If you want to use the same path-like structure for several tasks, you can define them with a <path> element at the same level as targets, and reference them via their id attribute--see References for an example.

A path-like structure can include a reference to another path-like structure (a path being itself a resource collection) via nested <path> elements:

<path id="base.path"> <pathelement path="${classpath}"/> <fileset dir="lib"> <include name="**/*.jar"/> </fileset> <pathelement location="classes"/> </path> <path id="tests.path"> <path refid="base.path"/> <pathelement location="testclasses"/> </path>

 

 

The shortcuts previously mentioned for <classpath> are also valid for <path>.For example:

<path id="base.path"> <pathelement path="${classpath}"/> </path>

 

 

can be written as:

<path id="base.path" path="${classpath}"/>

 

 

Command-line Arguments

Several tasks take arguments that will be passed to another process on the command line. To make it easier to specify arguments that contain space characters, nested arg elements can be used.

AttributeDescriptionRequired
valuea single command-line argument; can contain space characters.Exactly one of these.
fileThe name of a file as a single command-line argument; will be replaced with the absolute filename of the file.
pathA string that will be treated as a path-like string as a single command-line argument; you can use ; or : as path separators and Ant will convert it to the platform's local conventions.
pathrefReference to a path defined elsewhere. Ant will convert it to the platform's local conventions.
linea space-delimited list of command-line arguments.

It is highly recommended to avoid the line version when possible. Ant will try to split the command line in a way similar to what a (Unix) shell would do, but may create something that is very different from what you expect under some circumstances.

Examples
<arg value="-l -a"/>
 

is a single command-line argument containing a space character, not separate commands "-l" and "-a".

<arg line="-l -a"/>
 

This is a command line with two separate arguments, "-l" and "-a".

<arg path="/dir;/dir2:\dir3"/>
 

is a single command-line argument with the value \dir;\dir2;\dir3 on DOS-based systems and /dir:/dir2:/dir3 on Unix-like systems.

References

Any project element can be assigned an identifier using its id attribute. In most cases the element can subsequently be referenced by specifying the refid attribute on an element of the same type. This can be useful if you are going to replicate the same snippet of XML over and over again--using a <classpath> structure more than once, for example.

The following example:

<project ... > <target ... > <rmic ...> <classpath> <pathelement location="lib/"/> <pathelement path="${java.class.path}/"/> <pathelement path="${additional.path}"/> </classpath> </rmic> </target> <target ... > <javac ...> <classpath> <pathelement location="lib/"/> <pathelement path="${java.class.path}/"/> <pathelement path="${additional.path}"/> </classpath> </javac> </target> </project>
 

could be rewritten as:

<project ... > <path id="project.class.path"> <pathelement location="lib/"/> <pathelement path="${java.class.path}/"/> <pathelement path="${additional.path}"/> </path> <target ... > <rmic ...> <classpath refid="project.class.path"/> </rmic> </target> <target ... > <javac ...> <classpath refid="project.class.path"/> </javac> </target> </project>
 

All tasks that use nested elements for PatternSets, FileSets, ZipFileSets or path-like structures accept references to these structures as shown in the examples. Using refid on a task will ordinarily have the same effect (referencing a task already declared), but the user should be aware that the interpretation of this attribute is dependent on the implementation of the element upon which it is specified. Some tasks (the property task is a handy example) deliberately assign a different meaning to refid.

Use of external tasks

Ant supports a plugin mechanism for using third party tasks. For using them you have to do two steps:

  1. place their implementation somewhere where Ant can find them
  2. declare them.

Don't add anything to the CLASSPATH environment variable - this is often the reason for very obscure errors. Use Ant's own mechanisms for adding libraries:

  • via command line argument -lib
  • adding to ${user.home}/.ant/lib
  • adding to ${ant.home}/lib

For the declaration there are several ways:

  • declare a single task per using instruction using <taskdef name="taskname" classname="ImplementationClass"/>
    <taskdef name="for" classname="net.sf.antcontrib.logic.For" /> <for ... />
  • declare a bundle of tasks using a properties-file holding these taskname-ImplementationClass-pairs and <taskdef>
    <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> <for ... />
  • declare a bundle of tasks using a xml-file holding these taskname-ImplementationClass-pairs and <taskdef>
    <taskdef resource="net/sf/antcontrib/antlib.xml" /> <for ... />
  • declare a bundle of tasks using a xml-file named antlib.xml, XML-namespace and antlib: protocoll handler
    <project xmlns:ac="antlib:net.sf.antconrib"/> <ac:for ... />

If you need a special function, you should

  1. have a look at this manual, because Ant provides lot of tasks
  2. have a look at the external task page in the manual (or better online)
  3. have a look at the external task wiki page
  4. ask on the Ant user list
  5. implement (and share) your own

 

Token Filters

 

Example Buildfile

Ant Design 入门-参照官方文档使用组件 微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 先来一个按钮组件使用的对比,官方文档的(不能直接用)和实际能用的。 官网demo: import { Table, Divider, Tag } from 'antd'; const columns = [{ title: 'Name', dataIndex: 'name', k... 阅读详情

相关推荐

ant中文手册

目录: 1. Ant介绍... 2. Ant 安装... 3. 第一个Ant脚本... 4. 整合ant 5. Ant进阶... 6. Ant常用task. 7. 在ant中控制流程(if else ) 8. 实例分析: 9. 如何继续学习...

Ant 生成文档

在Ant中生成项目文档通常涉及到JavaDoc、JavadocReport或者使用第三方工具如Doxygen、JavadocDoclet等。这里我将展示如何使用Ant来生成Java源代码的文档,主要是通过JavaDoc任务。

qq_33240556的博客 554

Ant 文档

NULL 博文链接:https://snowelf.iteye.com/blog/1403269

Ant Design官方网站

访问Ant Design官方网站的中文文档: 中文官方文档网址:https://ant.design/docs/react/introduce-cn

qq_40204867的博客 1070

ANT帮助文档

ANT最新版本(apache-ant-1.9.6)的帮助文档,CHM格式,方便阅读。

ant 使用文档

ant的学习资料 主要是ant的入门资料,很适合首次接触ant的人学习。 对于有经验者来讲,也是个很不错的参考资料。

ANT十五大最佳实践 作者:Eric M. Burke 译者:徐彤

ANT十五大最佳实践作者:Eric M. Burke, coauthor of Java Extreme Programming Cookbook原文:http://www.onjava.com/pub/a/onjava/2003/12/17/ant_bestpractices.html译者:徐彤MSN:xt121@hotmail.com 在Ant出现之前,构建和部署Java应

2761

Clipper库中文帮助文档

引言: 第一次接触Clipper,主要是想用来处理DXF中的图形,网上也有博友翻译过,但是可惜打不开,好像那个网站https://love2.io凉凉了,但是优快云上也有博友分享了CHM,看着只剩3个下载币的我好无奈,一怒之下花费两天的时间将英文CHM也翻译了一遍,主要还是想在翻译的同时好好的理解Clipper,为使用打下坚实的基础。当然我也会无私的奉献出来。 简单的认识一下Clipper:...

zefllj的博客 3423

vue2中使用ant-design-vue

如果对应请查询其他处理方法,欢迎大家对以上见解指出相应的问题,大家共同学习进步~。不对应重新下载相应的node-sass版本和sass-loader。首先看一下node版本是否和node-sass相对应。ant-design-vue版本问题处理方案。这里用的npm,也可以选择yarn。node-sass问题。

xiaoxiao_620的博客 2495

ROS2学习笔记(二)-- 多机通讯原理简介及配置方法

简单介绍ROS2多机通信原理以及配置注意事项

aibingjin的博客 1万+

智能体在车联网中的应用:第9天 核心工具链与仿真世界:SUMO交通仿真入门——从安装到构建你的第一个虚拟十字路口

摘要 SUMO是一款开源微观交通仿真工具,为车联网和自动驾驶算法开发提供高效安全的测试环境。文章详细介绍了SUMO的核心概念、安装方法及实战应用。在Ubuntu或Windows系统安装SUMO后,可通过netedit工具构建十字路口路网,包括创建节点、连接边、设置交通信号灯等步骤。随后通过编写.rou.xml文件定义车辆类型、路线和车流,实现动态交通场景模拟。SUMO支持与外部程序交互,能复现真实场景、进行极端测试和算法验证,是车联网研究的理想数字沙盘。

IT深耕十余载,大道之简 1451

ant入门教程(一)Hello World with Ant(英文教程文档翻译)(连载)

ant入门教程(一)Hello World with Ant(英文教程文档翻译)(连载) 只能够翻译个大概意思,希望朋友们别见怪...教程: Hello World with Ant 本文档提供了一步一步用ANT开始JAVA项目构建的教程,不包括更深入了解JAVA与ANT,本教程的目的是为了让你看,使用ANT最简单的步骤。 项目的准备:  我们希望从不同的来源所产生的文件,因此我们的Jav...

195

AI协议助手:法律文本解析与智能问答技术解析

自然语言处理(NLP)技术在法律文本解析中展现出巨大潜力,通过BERT等预训练模型实现条款分类与语义理解。结合OCR与知识图谱技术,AI协议助手能快速提取合同核心条款,并以问答形式解释法律术语,显著提升商务场景的决策效率。测试数据显示,该系统对NDA协议的识别准确率达92%,响应时间仅1.2秒,特别适用于人力资源竞业协议、云服务SLA评估等场景。随着RAG架构与法律术语向量库的应用,AI+法律正推动合同审核成本下降67%,未来将在跨境合规、智能谈判等方向持续演进。

weixin_29053577的博客 131

java入门英文教程_ant入门教程(一)Hello World with Ant(英文教程文档翻译)(连载)...

ant入门教程(一)Hello World with Ant(英文教程文档翻译)(连载)只能够翻译个大概意思,希望朋友们别见怪...教程: Hello World with Ant本文档提供了一步一步用ANT开始JAVA项目构建的教程,不包括更深入了解JAVA与ANT,本教程的目的是为了让你看,使用ANT最简单的步骤。项目的准备:我们希望从不同的来源所产生的文件,因此我们的Java源文件将源文件夹...

weixin_32596893的博客 211

金蝶云星空v8.0私有化部署与cpolar内网穿透:构建企业级远程ERP访问通道

本文详细介绍了金蝶云星空v8.0企业版的私有化部署流程与cpolar内网穿透技术,帮助企业构建安全高效的远程ERP访问通道。从系统环境准备、SQL Server配置到内网穿透安全加固,提供全流程实战指导,助力企业实现本地部署与远程办公的无缝衔接。

weixin_28736335的博客 376

PyTorch生成式人工智能(7)——生成对抗网络(Generative Adversarial Network, GAN)实践详解

生成对抗网络 (Generative Adversarial Network, GAN) 最早由 Ian Goodfellow 于 2014 年提出,其中生成器试图创建与真实样本无法区分的数据样本,而判别器则试图区分生成器生成的样本与真实样本。在本节中,我们将介绍 GAN 的理论基础。然后,介绍如何使用 PyTorch 从零开始构建 GAN,以便了解所有细节,深入理解 GAN 的内部工作原理,为后续讨论 GAN 的其他更高级内容奠定基础,比如生成高分辨率图像或逼真的音乐。

盼小辉丶的博客 1万+

Claude Code Prompt 三要素:指令、上下文、输出契约

Prompt 不是自然语言请求,而是人与AI协作的可执行协议。其核心原理在于结构化表达:指令需含动词锚定、目标实体与可验证约束;上下文须以路径为ID、版本为依据、最小完备为准则;输出契约则通过JSON Schema、内容语义与文本格式三层验证确保结果可靠。这种机器可读的Prompt设计,显著提升代码生成准确率与CI/CD稳定性,尤其适用于TypeScript、Vue3、React等现代前端工程场景。本文聚焦Claude Code运行时解析机制,揭示context overflow、prompt has no

迷彩风情 342

Java语音革命:用代码打造永不疲倦的AI客服,让客户支持效率飙升300%!

客户支持领域常面临“薛定谔困境”,即无法预知客户来电的意图是投诉还是表扬。通过Java技术,尤其是语音识别和自然语言处理(NLP),可以有效解决这一问题。文章展示了如何利用Java代码构建“声纹量子引擎”,实现客户支持的自动化。核心技术包括录音与预处理、语音识别和语义理解。通过百度AI API和Stanford NLP,系统能够快速、准确地识别客户语音并理解其意图。数据表明,优化后的AI处理时间从15分钟缩短至18秒,语音识别准确率提升至98.5%,并发处理能力达到单实例1000+请求。这些技术显著提升了客

墨夶的博客 1035

ant java命令 官方文档

http://ant.apache.org/manual/Tasks/java.html example: jar="test.jar" fork="true" failonerror="true" maxmemory="128m"> value="${arg1}" /> value="${arg2}" /> location="test.jar"

网生代 1138

openharmony之启动恢复子系统详解

需求: 添加一个名为my_service的自定义服务步骤1: 创建服务配置],],"env": [步骤2: 添加到主配置],"jobs": ["cmds": [步骤3: 验证配置# ✅ 检查配置格式 jq . /system/etc/init/my_service.cfg # 🔄 重新加载配置 begetctl reload # 📊 验证服务状态 begetctl dump_service my_serviceOpenHarmony init进程的完整生命周期。🔄 三阶段启动模型⚙️ 配置体系。

m0_67505153的博客 602

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

ANT教程之八 Ant构建文档

文档是一个为任何项目所必须的。文档在项目的维护起到了极大的作用。通过使用内置的javadoc工具的Java使得文档更容易。Ant使得它甚至产生对需求文档更容易。 如你所知,javadoc工具具有高度的灵活性,并允许一些配置选项。Ant通过Javadoc任务公开这些配置选项。如果您不熟悉javadoc,建议在开始使用此Java文档教程。 以下部分列出了使用的Ant最常用的Javadoc选

wwlwxgwenwen的博客 431

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

Ant的使用简介

Ant的使用简介 1、Ant简介 ApacheAnt是一个基于Java的构建工具。是一个将软件编译、测试、部署等步骤想结合并加以自动化的一个工具,大多用于Java环境中的软件开发。目前主要的Java ide都带有Ant,产品如Eclipse、NetBeans和IntelliJ IDEA。 理论上,它有点像make,既然已经有make、gnumake、nmake、jam和其他工具,为什么还要使用另一个构建工具呢?因为所有这些工具都有一些限制(平台局限性),Ant的原始作者在跨多个平台开...

小仙儿 4016

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

Ant入门--构建文件详细分析

     一个项目在发布过程中或者运行时,往往需要创建,复制删除一些文件等编译运行之外的事情去做,这时往往需要一个类似于make的过程。Ant就是基于这样一个目的,它使用xml文件进行配置。下面是四子棋游戏的构建文件,xml version="1.0" encoding="UTF-8" ?> =================================================

喜欢自己正在做的 952

ant 彻底了解(zt)

1 Ant是什么? Apache Ant 是一个基于 Java的生成工具。生成工具在软件开发中用来将源代码和其他输入文件转换为可执行文件的形式(也有可能转换为可安装的产品映像形式)。随着应用程序的生成过程变得更加复杂,确保在每次生成期间都使用精确相同的生成步骤,同时实现尽可能多的自动化,以便及时产生一致的生成版本2 下载、安装Ant 安装Ant下载.zip文件,解压缩到c:/ant1.3(后面引用

yu_shi_bin的专栏 2729

Ant 基础入门篇

Ant配置的基本结构介绍及简单的使用示例

fanxiaobin 8832

IDEA ant 生成javaWeb项目的jar包问题

IDEA ant 生成javaWeb项目的jar包问题及解决方法

liangbao568的博客 2401
上一篇: Template(模版)设计模式
下一篇: 实战之----Ant项目构建项目
coolservices
博客等级 码龄19年 2粉丝 16原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值