做一个bat文件,例如makejava.bat:@echo off
rem makeJava.bat
rem
rem This batch file is a quick way to compile all the source in
rem the source directory into the classes directory.
rem It uses the javados.lst file to give the list of files
rem to be compiled to javac.echo Compiling all CoolForum source code...
javac -sourcepath source -d classes @javados.lst
javados.lst:.\source\com\mywork\tools\yourname.java
.\source\com\mywork\bean\yourname.java
.\source\com\mywork\login\servlet\yourname.java
rem makeJava.bat
rem
rem This batch file is a quick way to compile all the source in
rem the source directory into the classes directory.
rem It uses the javados.lst file to give the list of files
rem to be compiled to javac.echo Compiling all CoolForum source code...
javac -sourcepath source -d classes @javados.lst
javados.lst:.\source\com\mywork\tools\yourname.java
.\source\com\mywork\bean\yourname.java
.\source\com\mywork\login\servlet\yourname.java
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货