例如,我有工作副本目录下的文件:
workingcopy --src --.svn -- com --.svn --WebContent
我想从src下的类编译和创建jar,不包括以.svn目录开头的所有文件夹.我想从cmd运行它像jar -cf test.jar等.
我该怎么做?
jar -cf test.jar *.class
进一步的增强:从类文件中分离代码.反正你不想检查类文件(构建伪影):
workingcopy --src --.svn -- com // only *.java files in here and below --.svn --WebContent --bin --com // only *.class files in here and below