阅读背景:

如何通过java程序运行ant命令?

来源:互联网 

I want to run a simple ant -v command through a java program. After searching, I came to a point where I know I have to use shell execute instead of process, since ant is not really an exe format. I have a program that works for executing simple JAVAC command, but ant never works. Here is what my code looks like.I want to run a simple ant -v command through a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: