-lib 运行ant时指定jar

-lib 运行ant时指定jarE:\Document\AntProject>ant-libE:\Document\mysql.jar-debugApacheAnt(TM)version1.8.2compiledonDecember202010Tryingthedefaultbuildfile:build.xmlBuildfile:E:\Document\AntProject\bui

-lib 运行ant时指定jar

E:\Document\AntProject>ant -lib E:\Document\mysql.jar -debug

Apache Ant(TM) version 1.8.2 compiled on December 20 2010

Trying the default build file: build.xml

Buildfile: E:\Document\AntProject\build.xml

Adding reference: ant.PropertyHelper

Detected Java version: 1.6 in: C:\Program Files\Java\jre6

Detected OS: Windows 7

Adding reference: ant.ComponentHelper

Setting ro project property: ant.file -> E:\Document\AntProject\build.xml

Setting ro project property: ant.file.type -> file

Adding reference: ant.projectHelper

Adding reference: ant.parsing.context

Adding reference: ant.targets

parsing buildfile E:\Document\AntProject\build.xml with URI = file:/E:/Document/

AntProject/build.xml

Setting ro project property: ant.project.name -> OurProject

Adding reference: OurProject

Setting ro project property: ant.project.default-target -> deploy

Setting ro project property: ant.file.OurProject -> E:\Document\AntProject\build

.xml

Setting ro project property: ant.file.type.OurProject -> file

Project base dir set to: E:\Document\AntProject

 +Target:

 +Target: init

 +Target: compile

 +Target: doc

 +Target: deploy

Adding reference: ant.LocalProperties

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

Setting ro project property: ant.project.invoked-targets -> deploy

Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor

Adding reference: ant.executor

Build sequence for target(s) `deploy’ is [init, compile, doc, deploy]

Complete build sequence is [init, compile, doc, deploy, ]

init:

    [mkdir] Skipping E:\Document\AntProject\build\classes because it already exi

sts.

    [mkdir] Skipping E:\Document\AntProject\dist because it already exists.

    [mkdir] Skipping E:\Document\AntProject\doc because it already exists.

compile:

    [javac] E:\Document\AntProject\build.xml:14: warning: ‘includeantruntime’ wa

s not set, defaulting to build.sysclasspath=last; set to false for repeatable bu

ilds

fileset: Setup scanner in dir E:\Document\AntProject\src with patternSet{ includ

es: [] excludes: [] }

    [javac] com\ankangqiao\Hello.java omitted as E:\Document\AntProject\build\cl

asses\com\ankangqiao\Hello.class is up to date.

doc:

  [javadoc] scanning E:\Document\AntProject\src for packages.

dirset: Setup scanner in dir E:\Document\AntProject\src with patternSet{ include

s: [**] excludes: [] }

  [javadoc] Generating Javadoc

  [javadoc] Executing ‘javadoc.exe’ with arguments:

  [javadoc] ‘-d’

  [javadoc] ‘E:\Document\AntProject\doc’

  [javadoc] ‘-classpath’

  [javadoc] ‘E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-launcher.jar;E:\Documen

t\mysql.jar;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-log4

j.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-apach

e-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\apac

he-ant-1.8.2\lib\ant-jai.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-javamai

l.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-js

ch.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-

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\l

ib\ant.jar;C:\Program Files\Java\jre6\lib\tools.jar’

  [javadoc] ‘-version’

  [javadoc] ‘-author’

  [javadoc] ‘-sourcepath’

  [javadoc] ‘E:\Document\AntProject\src’

  [javadoc] ‘com.ankangqiao’

  [javadoc]

  [javadoc] The ‘ characters around the executable and arguments are

  [javadoc] not part of the command.

  [javadoc] Javadoc execution

Execute:Java13CommandLauncher: Executing ‘javadoc.exe’ with arguments:

‘-d’

‘E:\Document\AntProject\doc’

‘-classpath’

‘E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-launcher.jar;
E:\Document\mysql.jar;

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-ap

ache-bsf.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-log4j.jar;E:\Jav

aEE\Data\Ant\apache-ant-1.8.2\lib\ant-apache-oro.jar;E:\JavaEE\Data\Ant\apache-a

nt-1.8.2\lib\ant-apache-regexp.jar;E:\JavaEE\Data\Ant\apache-ant-1.8.2\lib\ant-a

pache-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:\Jav

aEE\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:\Ja

vaEE\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-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

:\Program Files\Java\jre6\lib\tools.jar’

‘-version’

‘-author’

‘-sourcepath’

‘E:\Document\AntProject\src’

‘com.ankangqiao’

The ‘ characters around the executable and arguments are

not part of the command.

  [javadoc] 错误:读取 E:\Document\mysql.jar 时出错;error in opening zip file

  [javadoc] 正在装入软件包 com.ankangqiao 的源文件…

  [javadoc] 1 错误

deploy:

fileset: Setup scanner in dir E:\Document\AntProject\build\classes with patternS

et{ includes: [] excludes: [] }

      [jar] com\ankangqiao\Hello.class omitted as E:\Document\AntProject\dist\pr

oject.jar:com/ankangqiao/Hello.class is up to date.

      [jar] com omitted as E:\Document\AntProject\dist\project.jar:com/ is up to

 date.

      [jar] com\ankangqiao omitted as E:\Document\AntProject\dist\project.jar:co

m/ankangqiao/ is up to date.

      [jar] No Implementation-Title set.No Implementation-Version set.No Impleme

ntation-Vendor set.

      [jar] Location: E:\Document\AntProject\build.xml:22:

BUILD SUCCESSFUL

Total time: 1 second

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/35164.html

(0)
编程小号编程小号

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注