<?xml version="1.0" encoding="UTF-8"?>
<!-- 创建文件夹 编译源文件 打包 运行-->
<project name="OurProject" default="execute" basedir="..\">
<target name="init" description="创建文件夹">
<mkdir dir="build\classes" description="用来放置类文件"/>
<mkdir dir="dist" description="用来放置打包文件"/>
</target>
<target name="compile" depends="init" description="编译源文件">
<javac srcdir="src" destdir="build/classes"></javac>
</target>
<target name="archive" depends="compile" description="打包">
<jar destfile="dist\project.jar" basedir="build\classes"></jar>
</target>
<target name="execute" depends="archive" description="运行">
<java classname="com.ankangqiao.HelloWorld" classpath="build\classes"
description="由basedir=..\可知,当前路径是D:\Workspaces\AntTest,classpath是D:\Workspaces\AntTest\build\classes">
<arg value="a" description="传给Main函数的参数"/>
<arg value="b"/>
<arg file="." description=".表示当前路径"/>
</java>
</target>
<target name="clean" depends="init" description="清除类文件和打包文件">
<delete dir="build" description="如果该文件夹有打开的文件,删除失败"></delete>
<delete dir="dist"></delete>
</target>
</project>
<!--
package com.ankangqiao;
public class HelloWorld {
/**
* @param args
*/
public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
System.out.println(args[i]);
}
}
}
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Buildfile: D:\Workspaces\AntTest\src\build.xml
parsing buildfile D:\Workspaces\AntTest\src\build.xml with URI = file:/D:/Workspaces/AntTest/src/build.xml
Project base dir set to: D:\Workspaces\AntTest
Build sequence for target(s) `execute' is [init, compile, archive, execute]
Complete build sequence is [init, compile, archive, execute, clean, ]
init:
parsing buildfile jar:file:/E:/JavaEE/Data/Ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/E:/JavaEE/Data/Ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
[mkdir] Created dir: D:\Workspaces\AntTest\build\classes
[mkdir] Created dir: D:\Workspaces\AntTest\dist
compile:
[javac] D:\Workspaces\AntTest\src\build.xml:12: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Test2.java added as Test2.class doesn't exist.
[javac] D:\Workspaces\AntTest\src\build.xml skipped - don't know how to handle it
[javac] com\ankangqiao\HelloWorld.java added as com\ankangqiao\HelloWorld.class doesn't exist.
[javac] com\bjpowernode\test\Test.java added as com\bjpowernode\test\Test.class doesn't exist.
[javac] com\shengsiyuan\ant\custom\ApplicationException.java added as com\shengsiyuan\ant\custom\ApplicationException.class doesn't exist.
[javac] com\shengsiyuan\ant\custom\FileSorter.java added as com\shengsiyuan\ant\custom\FileSorter.class doesn't exist.
[javac] D:\Workspaces\AntTest\src\dest.txt skipped - don't know how to handle it
[javac] D:\Workspaces\AntTest\src\src.txt skipped - don't know how to handle it
[javac] Compiling 5 source files to D:\Workspaces\AntTest\build\classes
[javac] Using modern compiler
[javac] Compilation arguments:
[javac] '-d'
[javac] 'D:\Workspaces\AntTest\build\classes'
[javac] '-classpath'
[javac] 'D:\Workspaces\AntTest\build\classes;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-antlr.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-bcel.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-bsf.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-log4j.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-oro.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-regexp.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-resolver.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-xalan2.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-commons-logging.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-commons-net.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-jai.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-javamail.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-jdepend.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-jmf.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-jsch.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-junit.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-junit4.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-launcher.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-netrexx.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-swing.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-testutil.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant.jar;C:\Users\Kevin\AppData\Local\MyEclipse\MyEclipse 9\configuration\org.eclipse.osgi\bundles\295\1\.cp\lib\antdebug.jar;C:\Users\Kevin\AppData\Local\MyEclipse\MyEclipse 9\configuration\org.eclipse.osgi\bundles\295\1\.cp\lib\remote.jar;C:\Users\Kevin\AppData\Local\MyEclipse\MyEclipse 9\configuration\org.eclipse.osgi\bundles\296\1\.cp\lib\remoteAnt.jar;C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar;C:\Users\Kevin\AppData\Local\MyEclipse\Common\plugins\com.genuitec.javascript.debug.mozilla_9.0.0.me201012090051.jar;C:\Users\Kevin\AppData\Local\MyEclipse\Common\plugins\org.eclipse.swt.win32.win32.x86_64_3.6.1.v3655c.jar'
[javac] '-sourcepath'
[javac] 'D:\Workspaces\AntTest\src'
[javac] '-g:none'
[javac]
[javac] The ' characters around the executable and arguments are
[javac] not part of the command.
[javac] Files to be compiled:
[javac] D:\Workspaces\AntTest\src\Test2.java
[javac] D:\Workspaces\AntTest\src\com\ankangqiao\HelloWorld.java
[javac] D:\Workspaces\AntTest\src\com\bjpowernode\test\Test.java
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\ApplicationException.java
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:18: 警告:编码 UTF8 的不可映射字符
[javac] * Ant��չ��,���ı����н�������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:26: 警告:编码 UTF8 的不可映射字符
[javac] * Դ�ļ�,�ӱ�ǩͨ��getSrcFile���������ַ�,�˴����Զ�ת��ΪFile����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:31: 警告:编码 UTF8 的不可映射字符
[javac] * ����õ��ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:31: 警告:编码 UTF8 的不可映射字符
[javac] * ����õ��ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:31: 警告:编码 UTF8 的不可映射字符
[javac] * ����õ��ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:31: 警告:编码 UTF8 的不可映射字符
[javac] * ����õ��ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:31: 警告:编码 UTF8 的不可映射字符
[javac] * ����õ��ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:31: 警告:编码 UTF8 的不可映射字符
[javac] * ����õ��ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:31: 警告:编码 UTF8 的不可映射字符
[javac] * ����õ��ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:36: 警告:编码 UTF8 的不可映射字符
[javac] * ��չAnt��java����븲��execute() in Task
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:41: 警告:编码 UTF8 的不可映射字符
[javac] // ��������������
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:52: 警告:编码 UTF8 的不可映射字符
[javac] // ��Դ�ļ�һ���ж�ȡ��list
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:58: 警告:编码 UTF8 的不可映射字符
[javac] // ����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:58: 警告:编码 UTF8 的不可映射字符
[javac] // ����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:58: 警告:编码 UTF8 的不可映射字符
[javac] // ����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:58: 警告:编码 UTF8 的不可映射字符
[javac] // ����
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] D:\Workspaces\AntTest\src\com\shengsiyuan\ant\custom\FileSorter.java:61: 警告:编码 UTF8 的不可映射字符
[javac] // ���ź����list����Ŀ���ļ�
[javac] ^
[javac] 100 警告
archive:
[jar] Building jar: D:\Workspaces\AntTest\dist\project.jar
[jar] adding directory META-INF/
[jar] adding entry META-INF/MANIFEST.MF
[jar] adding directory com/
[jar] adding directory com/ankangqiao/
[jar] adding directory com/bjpowernode/
[jar] adding directory com/bjpowernode/test/
[jar] adding directory com/shengsiyuan/
[jar] adding directory com/shengsiyuan/ant/
[jar] adding directory com/shengsiyuan/ant/custom/
[jar] adding entry Test2.class
[jar] adding entry com/ankangqiao/HelloWorld.class
[jar] adding entry com/bjpowernode/test/Test.class
[jar] adding entry com/shengsiyuan/ant/custom/ApplicationException.class
[jar] adding entry com/shengsiyuan/ant/custom/FileSorter.class
[jar] No Implementation-Title set.No Implementation-Version set.No Implementation-Vendor set.
[jar] Location: D:\Workspaces\AntTest\src\build.xml:16:
execute:
[java] running com.ankangqiao.HelloWorld with default permissions (exit forbidden)
[java] Running in same VM Executing 'com.ankangqiao.HelloWorld' with arguments:
[java] 'a'
[java] 'b'
[java] 'D:\Workspaces\AntTest'
[java]
[java] The ' characters around the executable and arguments are
[java] not part of the command.
[java] a
[java] b
[java] D:\Workspaces\AntTest
BUILD SUCCESSFUL
Total time: 2 seconds
-->
创建文件夹 编译源文件 打包 运行
最新推荐文章于 2020-06-21 20:00:19 发布