Redian新闻
>
how to compile java source code recursively in a command line?
avatar
how to compile java source code recursively in a command line?# Java - 爪哇娇娃
b*y
1
I got so rustic with javac command line, and being thinking about how to
compile java code starting from a certain root directory.
Could anyone help and let me know how to do that?
is it like:
javac mydir/*.java
?
avatar
s*e
2
why not use tools? ant is good at it.

【在 b******y 的大作中提到】
: I got so rustic with javac command line, and being thinking about how to
: compile java code starting from a certain root directory.
: Could anyone help and let me know how to do that?
: is it like:
: javac mydir/*.java
: ?

avatar
A*o
3
i don't know, either ide or ant or maven+ant does the job for me.

【在 b******y 的大作中提到】
: I got so rustic with javac command line, and being thinking about how to
: compile java code starting from a certain root directory.
: Could anyone help and let me know how to do that?
: is it like:
: javac mydir/*.java
: ?

avatar
g*g
4
Write ant script, and run ant from command line.

【在 b******y 的大作中提到】
: I got so rustic with javac command line, and being thinking about how to
: compile java code starting from a certain root directory.
: Could anyone help and let me know how to do that?
: is it like:
: javac mydir/*.java
: ?

avatar
z*h
5
FOR /R %S IN (*.java) DO javac %S

【在 b******y 的大作中提到】
: I got so rustic with javac command line, and being thinking about how to
: compile java code starting from a certain root directory.
: Could anyone help and let me know how to do that?
: is it like:
: javac mydir/*.java
: ?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。