linux如何查tomcat是否安装,如何检测linux机器上是否安装了tomcat和ant

小编典典

通常,您可以检查它们是否在$ PATH上,如果它们不在$ PATH上,请安装它们。

对于蚂蚁:

ant -v代表冗长,ant -version打印出其版本。

-help, -h

print help on the command line options

-projecthelp, -p

gives information on possible targets for this project

-version

prints the version number and then exits ant

-quiet, -q

be extra quiet

-verbose, -v

be extra verbose

-debug, -d

print debugging information

-emacs, -e

produce logging information without adornments

-logfile , -l

use the given file to output log to

-logger

the class which is to perform logging

-listener

add an instance of the given class as a project listener

-noinput

do not allow interactive input

-buildfile , -file , -f

use the given buildfile instead of the default build.xml file.

This is the ant equivalent of Makefile

-D=

use value for the given property

-keep-going, -k

execute all targets that do not depend on failed target(s)

-propertyfile

load all properties from file with -D properties taking prece-

dence

-inputhandler

the class which will handle input requests

-find , -s

(s)earch for buildfile towards the root of the filesystem and

use it

-nice number

A niceness value for the main thread: 1 (lowest) to 10 (high-

est); 5 is the default

-nouserlib

Run ant without using the jar files from ${user.home}/.ant/lib

-noclasspath

Run ant without using CLASSPATH

-autoproxy

Java 1.5+ : use the OS proxies

-main

override ant's normal entry point

对于tomcat:

如果tomcat / bin在$ PATH变量上,则version.sh将打印出该版本。

2020-06-16

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值