Clean Command

本文详细介绍了JBuilder中Clean命令的功能及使用方法。Clean命令用于移除项目的构建输出,如.class文件、资源文件等,并针对不同类型的节点(如项目节点、Java节点等)有不同的清理行为。此外,还介绍了执行Clean命令的各种方式。

Clean command

(from JBuilder's help)

The Clean command removes all build output of the other targets, such as the classes directory, JARs, WARs, and so on. If the source and output paths are the same, the output directory is not deleted but the build output is deleted. What the Clean command removes is dependent upon the node selected:

Project nodes — recursively deletes the output directory. This only occurs if the output directory is a subdirectory of the project. Clean doesn't delete the output directory if it's the same as the source directory or a subdirectory of the source directory.

 Java nodes — deletes the corresponding .class files and any generated files, such as files generated by the java2iiop compiler. Also removes resources.

Package nodes — deletes the corresponding .class files and any resources. Resource nodes — deletes the copies in the output directory.

Documentation nodes — deletes all HTML and HTM files in the Javadoc output directory.

Archive nodes — deletes the archive file(s) and executables.

  — deletes any WAR files and the WEB-INF/lib and WEB-INF/classes directories.

There are several ways to execute the Clean command: Right-click the project file in the project pane and choose Clean. Right-click an appropriate node or nodes in the project pane and choose Clean. Right-click the file tab in the content pane and choose Clean <filename>. Add the Clean Project command to the Project menu and choose Project|Clean Project.

As with the Make and Rebuild commands, the Clean command only appears on the context menu when appropriate nodes are selected. 



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值