Code beautifier described by Flemming N. Larsen (AKA Fnl):
The Jacobe Code Beautifier is used as code beautifier for Robocode.
You can read about it and download it from here:
http://www.tiobe.com/jacobe.htm
Jacobe is quite good for Java as it follows the Java code conventions from Sun:
http://java.sun.com/docs/codeconv/
Jacobe can be integrated with Eclipse by using the Eclipse plugin for Jacobe.
The plugin can be downloaded from the same page used when downloading Jacobe
under the "Plug-ins" section.
You can install the Jacobe plugin into Eclipse simply by unpacking the Jacobe
plugin to the root directory of Eclipse (the plugins directory must be
"overwritten" with the Jacobe plugin).
When the Jacobe plugin has been put into the root directory of Eclipse, you
must restart Eclipse, if you had it running while putting the plugin into the
Eclipse directory. Otherwise you'll not be able to use Jacobe yet.
I attached the robocode.cfg file, which is used for beautifying the Robocode
sources with Jacobe. You should put this file into the directory where
you have installed Jacobe, i.e. just together the sun.cfg file.
In Eclipse (when you have added your plugin, and can see the purple bug in
the toolbar) you select "Preferences.." from the Window menu. On the
Preferences window you expand the Java (in the tree) and click Jacobe.
Browse and select your Jacobe executable. Browse and select the
robocode.cfg file. All checkmarks should be cleared, except for "overwrite
original files". Otherwise backup files are created. Now you are ready
to code beautify following the Robocode Jacobe configuration.
You can also code beautify the sources of Robocode by using the target named
"jacobe" in the build.xml file provided in this directory. Here you'll
need to download and install the Jacobe Ant Task:
http://www.tiobe.com/downloads/jacobe-ant-task.zip
You should copy the jacode.jar file inside the jacobe-ant-task.zip file
into this folder, and also add the home folder where the Jacode executable
is located into your PATH environment variable.
You can read more about the Jacobe Ant task here:
http://www.tiobe.com/downloads/jacobe_task_doc.htm
没有合适的资源?快使用搜索试试~ 我知道了~
坦克大战源码(JAVA)
共426个文件
java:237个
png:98个
properties:17个
需积分: 10 61 下载量 65 浏览量
2008-06-02
12:48:06
上传
评论
收藏 7.44MB ZIP 举报
温馨提示
开源的坦克大战源码,可以支持自己编辑代码,修改需要的坦克.<br>适合学习java和游戏开发
资源推荐
资源详情
资源评论
收起资源包目录
坦克大战源码(JAVA) (426个子文件)
meleerumble.bat 162B
roborumble.bat 161B
teamrumble.bat 161B
robocode.bat 123B
intro.battle 340B
sample.battle 336B
robocode.cfg 6KB
.classpath 371B
.classpath 369B
.classpath 296B
.cvsignore 11B
.cvsignore 11B
.cvsignore 11B
cpl-v10.html 12KB
package.html 5KB
SittingDuck.html 147B
package.html 130B
package.html 124B
package.html 119B
package.html 80B
robocode.ico 25KB
robocode.iml 743B
robocodeextract.iml 548B
roborumble.iml 541B
autoextract.iml 484B
build.iml 399B
robocode-setup-1.6.0-Beta-2.jar 3.85MB
jikes-1.22.win.jar 865KB
jikes-1.22.src.jar 817KB
codesize.jar 323KB
jacobe.jar 4KB
Battle.java 60KB
RobotPeer.java 51KB
AdvancedRobot.java 49KB
Robot.java 43KB
RobocodeProperties.java 34KB
EventManager.java 28KB
RobocodeEditorMenuBar.java 27KB
IAdvancedRobotPeer.java 26KB
RobocodeMenuBar.java 26KB
JuniorRobot.java 25KB
_AdvancedRadiansRobot.java 25KB
RobotRepositoryManager.java 24KB
RobotPackager.java 22KB
RobotSelectionPanel.java 22KB
IBasicRobotPeer.java 21KB
RobocodeEditor.java 21KB
BattleManager.java 20KB
RobocodeSecurityManager.java 19KB
RobocodeFrame.java 19KB
BattleView.java 18KB
BotsDownload.java 17KB
RobocodeCompilerFactory.java 17KB
AutoExtract.java 16KB
PreferencesViewOptionsTab.java 15KB
PreferencesSoundOptionsTab.java 15KB
MirroredGraphics.java 14KB
PrepareBattles.java 14KB
EditWindow.java 14KB
FileTransfer.java 13KB
FileSpecification.java 13KB
RobocodeLogo.java 13KB
AvailableRobotsPanel.java 13KB
FindReplaceDialog.java 12KB
PackagerOptionsPanel.java 12KB
WindowManager.java 12KB
ResultsUpload.java 12KB
PreferencesRenderingOptionsTab.java 11KB
VersionManager.java 11KB
JavaDocument.java 10KB
BulletPeer.java 10KB
Robocode.java 10KB
RankingDialog.java 10KB
_AdvancedRobot.java 10KB
RobotFileSpecification.java 10KB
RobotStatus.java 9KB
WindowMenuItem.java 9KB
RobotStatistics.java 9KB
IStandardRobotPeer.java 9KB
TeamCreatorOptionsPanel.java 9KB
IBasicEvents.java 9KB
SoundManager.java 9KB
RobotDialog.java 9KB
BattlesRunner.java 9KB
NewBattleDialog.java 8KB
RobocodeClassLoader.java 8KB
RobocodeEngine.java 8KB
FilenamePanel.java 8KB
LineNumbers.java 8KB
AboutBox.java 8KB
RobocodeManager.java 7KB
Rules.java 7KB
IInteractiveEvents.java 7KB
ImageManager.java 7KB
RobocodeFileOutputStream.java 7KB
FileUtil.java 7KB
RobotDescriptionPanel.java 7KB
TeamCreator.java 7KB
TeamSpecification.java 7KB
Interactive.java 7KB
共 426 条
- 1
- 2
- 3
- 4
- 5
资源评论
seu_cose
- 粉丝: 6
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功