Compare commits

...

40 Commits

Author SHA1 Message Date
zpc efcab5d325 用例测试 2016-09-01 09:47:56 +08:00
zpc 7ae3a1da66 战斗快照模型 2016-08-31 18:40:03 +08:00
zpc 2ac2d77e50 修改 2016-08-31 18:09:43 +08:00
zpc c2f749367a 整合代码 2016-08-30 11:08:47 +08:00
zpc a910a953b8 Merge branch 'develop' of https://git.trustie.net/haozhou/app into zhengpengcheng_branch
# Conflicts:
#	模型/robocode机器人战斗模拟——软件模型.vsdx
2016-08-26 09:19:10 +08:00
zhoudaxia 2e7d5f9fdb 代码合并 2016-08-25 23:29:32 +08:00
zhoudaxia a661442f94 Merge branch 'develop' of https://git.trustie.net/haozhou/app into develop
# Conflicts:
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.api/.markers
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.battle/.markers
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.core/.markers
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.host/.markers
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.roborumble/.markers
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.ui.editor/.markers
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
#	代码/workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
#	代码/workspace_robo4/plugins/dotnet/robocode.dotnet.host/src/main/java/net/sf/robocode/dotnet/host/Module.java
#	代码/workspace_robo4/plugins/dotnet/robocode.dotnet.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	代码/workspace_robo4/plugins/testing/robocode.testing.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	代码/workspace_robo4/robocode.api/src/main/java/net/sf/robocode/security/HiddenAccess.java
#	代码/workspace_robo4/robocode.core/src/main/java/net/sf/robocode/battle/events/BattleEventDispatcher.java
#	代码/workspace_robo4/robocode.core/src/main/java/net/sf/robocode/core/RobocodeMain.java
#	代码/workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/JavaHost.java
#	代码/workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/events/EventManager.java
#	代码/workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/proxies/HostingRobotProxy.java
#	代码/workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/security/RobotClassLoader.java
#	代码/workspace_robo4/robocode.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	代码/workspace_robo4/robocode.roborumble/src/main/java/net/sf/robocode/roborumble/netengine/FileTransfer.java
#	代码/workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/AwtAttack.java
#	代码/workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ConstructorAwtAttack.java
#	代码/workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ConstructorThreadAttack.java
#	代码/workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/FileAttack.java
#	代码/workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/IncludeNamespaceAttack.java
#	代码/workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ThreadAttack.java
#	代码/workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ThreadGroupAttack.java
#	代码/workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/UndeadThread.java
#	代码/workspace_robo4/robocode.tests/src/main/java/net/sf/robocode/test/helpers/Assert.java
#	代码/workspace_robo4/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/EditWindow.java
#	代码/workspace_robo4/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/WindowMenuItem.java
#	代码/workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/WindowManager.java
#	代码/workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/battle/AwtBattleAdaptor.java
2016-08-25 23:28:12 +08:00
周浩 ade31c7f50 Merge branch 'liumingyu_branch' into 'develop'
代码合并



See merge request !6
2016-08-25 11:15:10 +08:00
zhoudaxia 0679bddf0b lmy 2016-08-25 10:33:02 +08:00
zhoudaxia a7fad02107 Merge remote-tracking branch 'remotes/newrepo/liumingyu_branch' into develop
# Conflicts:
#	workspace_robo4/.metadata/.log
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.api/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.battle/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.core/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.host/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.roborumble/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.ui.editor/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.ui/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.launching.prefs
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs
#	workspace_robo4/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
#	workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
#	workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
#	workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
#	workspace_robo4/.metadata/.plugins/org.eclipse.m2e.core/nexus/1a42e2ddbdd28c4e903ebde7bafa5867/segments.gen
#	workspace_robo4/.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/segments.gen
#	workspace_robo4/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments.gen
#	workspace_robo4/plugins/dotnet/robocode.dotnet.host/src/main/java/net/sf/robocode/dotnet/host/Module.java
#	workspace_robo4/plugins/dotnet/robocode.dotnet.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	workspace_robo4/plugins/testing/robocode.testing.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	workspace_robo4/robocode.api/src/main/java/net/sf/robocode/security/HiddenAccess.java
#	workspace_robo4/robocode.core/src/main/java/net/sf/robocode/battle/events/BattleEventDispatcher.java
#	workspace_robo4/robocode.core/src/main/java/net/sf/robocode/core/RobocodeMain.java
#	workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/JavaHost.java
#	workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/events/EventManager.java
#	workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/proxies/HostingRobotProxy.java
#	workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/security/RobotClassLoader.java
#	workspace_robo4/robocode.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	workspace_robo4/robocode.roborumble/src/main/java/net/sf/robocode/roborumble/netengine/FileTransfer.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/AwtAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ConstructorAwtAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ConstructorThreadAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/FileAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/IncludeNamespaceAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ThreadAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ThreadGroupAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/UndeadThread.java
#	workspace_robo4/robocode.tests/src/main/java/net/sf/robocode/test/helpers/Assert.java
#	workspace_robo4/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/EditWindow.java
#	workspace_robo4/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/WindowMenuItem.java
#	workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/WindowManager.java
#	workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/battle/AwtBattleAdaptor.java
2016-08-25 10:20:51 +08:00
周浩 909839b4ec Merge branch 'liumingyu_branch' into 'develop'
分支合并



See merge request !5
2016-08-25 10:13:21 +08:00
ALEX11 9e827864ef 代码 2016-08-25 10:01:29 +08:00
ALEX11 2bc998a290 代码 2016-08-25 10:00:27 +08:00
ALEX11 d9b7ed8e0f Merge branch 'develop' into liumingyu_branch
# Conflicts:
#	workspace_robo4/.metadata/.log
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.api/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.battle/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.core/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.host/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.roborumble/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.ui.editor/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.projects/robocode.ui/.markers
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.launching.prefs
#	workspace_robo4/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs
#	workspace_robo4/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
#	workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
#	workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
#	workspace_robo4/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
#	workspace_robo4/.metadata/.plugins/org.eclipse.m2e.core/nexus/1a42e2ddbdd28c4e903ebde7bafa5867/segments.gen
#	workspace_robo4/.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/segments.gen
#	workspace_robo4/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments.gen
#	workspace_robo4/plugins/dotnet/robocode.dotnet.host/src/main/java/net/sf/robocode/dotnet/host/Module.java
#	workspace_robo4/plugins/dotnet/robocode.dotnet.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	workspace_robo4/plugins/dotnet/robocode.dotnet.tests/src/test/java/net/sf/robocode/test/robotscs/TestMaxTurnRate.java
#	workspace_robo4/plugins/testing/robocode.testing.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	workspace_robo4/robocode.api/src/main/java/net/sf/robocode/security/HiddenAccess.java
#	workspace_robo4/robocode.core/src/main/java/net/sf/robocode/battle/events/BattleEventDispatcher.java
#	workspace_robo4/robocode.core/src/main/java/net/sf/robocode/core/RobocodeMain.java
#	workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/JavaHost.java
#	workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/events/EventManager.java
#	workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/proxies/HostingRobotProxy.java
#	workspace_robo4/robocode.host/src/main/java/net/sf/robocode/host/security/RobotClassLoader.java
#	workspace_robo4/robocode.installer/src/main/java/net/sf/robocode/installer/AutoExtract.java
#	workspace_robo4/robocode.roborumble/src/main/java/net/sf/robocode/roborumble/netengine/FileTransfer.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/AwtAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ConstructorAwtAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ConstructorThreadAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/FileAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/IncludeNamespaceAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ThreadAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/ThreadGroupAttack.java
#	workspace_robo4/robocode.tests.robots/src/main/java/tested/robots/UndeadThread.java
#	workspace_robo4/robocode.tests/src/main/java/net/sf/robocode/test/helpers/Assert.java
#	workspace_robo4/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/EditWindow.java
#	workspace_robo4/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/WindowMenuItem.java
#	workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/WindowManager.java
#	workspace_robo4/robocode.ui/src/main/java/net/sf/robocode/ui/battle/AwtBattleAdaptor.java
#	软件需求规格说明书.doc

Signed-off-by: ALEX11 <438026067@qq.com>
2016-08-25 09:51:28 +08:00
zhoudaxia bb59db6867 测试 2016-08-25 08:42:26 +08:00
zhoudaxia 27ca01fea9 代码合并 2016-08-25 08:39:00 +08:00
zhoudaxia 4402a27f5d Merge branch 'develop' of https://git.trustie.net/haozhou/app into develop 2016-08-25 08:31:18 +08:00
zhoudaxia da1104c10c 代码合并 2016-08-25 08:29:38 +08:00
zpc ce659a1caf 战场快照子系统文档模型修改 2016-08-24 22:20:11 +08:00
zpc 4f4f5ca604 战场快照子系统用例描述修改 2016-08-24 10:38:40 +08:00
zpc c84321c8e0 战斗快照子系统描述 2016-08-24 10:16:40 +08:00
LiuMingYu 80d198777c 改进了一部分的文档 最近在搞保研材料 我会抓紧时间做完剩余部分 2016-08-23 22:35:51 +08:00
roadfar 72d31f0fae 自动分析测试 2016-08-23 22:34:53 +08:00
LiuMingYu 72f1b998ac 进一步更改阻断及严重错误代码 2016-08-23 22:32:28 +08:00
LiuMingYu c663b87709 修改阻断错误。 2016-08-22 09:07:01 +08:00
zpc 860a4d76f4 软件需求规格说明书 功能需求描述 2016-08-22 08:43:48 +08:00
zpc 7f1c7a5457 test-summer-shedule 2016-08-19 09:47:34 +08:00
timeless28 2de2decf00 Merge branch 'master' of https://git.trustie.net/haozhou/app into zhengpengcheng_branch 2016-08-19 09:40:11 +08:00
timeless28 8231d756c8 test 2016-08-19 09:36:08 +08:00
timeless28 c84e150519 Merge branch 'zhengpengcheng_branch' of https://git.trustie.net/haozhou/app into zhengpengcheng_branch 2016-08-19 09:34:46 +08:00
timeless28 860897aced zpc 夏季学期计划 2016-08-19 09:33:36 +08:00
zpc 0ecc2595a9 test 2016-08-19 08:24:27 +08:00
zpc 5588a9af73 my first commit 2016-08-19 08:10:18 +08:00
zpc eacbf8b79d 任务计划 2016-08-18 23:14:53 +08:00
zpc 1f353f81ad Merge branch 'zhengpengcheng_branch' of https://git.trustie.net/haozhou/app into zhengpengcheng_branch 2016-08-18 23:14:09 +08:00
zpc 0269e99f8f 8.18任务计划 2016-08-18 23:12:40 +08:00
zpc b1b55cc96d 8.18任务计划 2016-08-18 23:04:35 +08:00
zpc b948a1023f uml子系统 2016-08-17 21:48:08 +08:00
zpc 655cc3bc80 uml图 2016-08-17 21:38:22 +08:00
zpc 76a3fcf985 子系统 2016-08-17 21:29:30 +08:00
108 changed files with 2640 additions and 1412 deletions

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1471573647997" defaultVMConnector\="">\r\n<vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n<vm id\="1471573647997" name\="jdk1.6.0_45" path\="C\:\\Program Files\\Java\\jdk1.6.0_45"/>\r\n</vmType>\r\n</vmSettings>\r\n

View File

@ -0,0 +1,4 @@
activeuserprofiles=DESKTOP-SHKMAML;Team
eclipse.preferences.version=1
org.eclipse.rse.systemtype.local.systemType.defaultUserId=Terrans Force
useridperkey=DESKTOP-SHKMAML.Local\=Terrans Force;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,29 @@
INDEX VERSION 1.126+E:\2016Spring\robocodefiles\download\app\workspace_robo4\.metadata\.plugins\org.eclipse.jdt.core
3253539546.index
240634369.index
3357244662.index
3837392347.index
1270703585.index
743580145.index
4213330522.index
2815204631.index
972965919.index
649753860.index
2097671088.index
2394798482.index
1886545541.index
2420224983.index
9299668.index
2806151389.index
2816454019.index
2169288515.index
3228954160.index
2122446671.index
2936589608.index
1812437159.index
2690281349.index
3090911769.index
844486800.index
195189658.index
2555277089.index
4256357263.index

View File

@ -1,14 +0,0 @@
Robocode is licensed under the Eclipse Public License v1.0 (EPL), which is available at
http://robocode.sourceforge.net/license/epl-v10.html
Notable exceptions are:
-----------------------
Ant and Maven tools:
- Files/tools located under the directory /tools/bin are licensed under the Apache Software Foundation (Apache-2.0):
http://www.apache.org/licenses/LICENSE-2.0.html
The license files for the Ant and Maven tools are provided under the /tools/licenses directory.
CILReader.cs:
- The file /plugins/dotnet/robocode.dotnet.nhost/src/mono/reflection/CILReader.cs is copyrighted (C) 2009 Novell, Inc.
(http://www.novell.com)

View File

@ -1,17 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@rem NOTE: Here we expect jacobe.exe to be installed on system PATH
@echo off
if exist "%~dp0\tools\lib\jacobe.jar" goto jacobe
call "%~dp0\tools\loadTools.cmd"
:jacobe
call "%~dp0\tools\bin\ant.bat" -buildfile "%~dp0\tools\jacobe\build.xml"

View File

@ -1,15 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
if not exist "%~dp0\tools\lib\maven-*-uber.jar" (
call "%~dp0\tools\loadTools.cmd"
)
call "%~dp0\tools\bin\mvn.bat" %*

View File

@ -1,12 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
mvn clean install ant:ant -DskipTests=false %*
rem mvn eclipse:eclipse

View File

@ -1,41 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
rem set JAVA_HOME=%JDK6_HOME%
rem set PATH=%JAVA_HOME%\bin;%PATH%
set NET_FRAMEWORK_HOME=C:\Windows\Microsoft.NET\Framework\v3.5
set PATH=%NET_FRAMEWORK_HOME%;%PATH%
if exist "%~dp0\tools\lib\proxygen.exe" goto gen
call "%~dp0\tools\loadTools.cmd"
:gen
"%~dp0\tools\lib\proxygen.exe" tools\proxygen\robocode.control.proxygen.xml
"%~dp0\tools\lib\proxygen.exe" tools\proxygen\robocode.proxygen.xml
if exist "%~dp0\robocode.dotnet.nhost\target\robocode.dotnet.nhost.dll" goto gen1
echo cat't find robocode.dotnet.nhost\target\robocode.dotnet.nhost.dll, please compile it
goto end
:gen1
if exist "%~dp0\tools\lib\robocode.dll" goto gen3
if exist "%~dp0\robocode.dotnet.api\target\robocode.dll" goto gen2
echo cat't find \robocode.dotnet.api\target\robocode.dll, please compile it
goto end
:gen2
copy "%~dp0\robocode.dotnet.api\target\robocode.dll" "%~dp0\tools\lib"
:gen3
"%~dp0\tools\lib\proxygen.exe" tools\proxygen\robocode.proxygen.net.xml
:end

View File

@ -1,20 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
if not exist "%~dp0\tools\lib" (
mkdir "%~dp0\tools\lib"
call "%~dp0\tools\loadTools.cmd"
)
if not exist "%~dp0\..\..\tools\lib\maven-*-uber.jar" (
call "%~dp0\..\..\tools\loadTools.cmd"
)
call "%~dp0\..\..\mvn" %*

View File

@ -1,12 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
mvn clean install ant:ant -DskipTests=false %*
rem mvn eclipse:eclipse

View File

@ -1,9 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
java -Xmx512M -cp libs/robocode.jar;libs/jni4net.j-0.8.7.0.jar robocode.Robocode %*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

View File

@ -65,7 +65,7 @@ public class Module extends BaseModule {
Container.cache.addComponent("robocode.host.vb", DotNetHost.class);
Container.cache.addComponent("robocode.host.dotnet", DotNetHost.class);
} catch (Throwable e) {
} catch (RuntimeException e) {
Logger.logError(e);
throw new Error("Can't initialize .NET Robocode", e);
}

View File

@ -240,7 +240,7 @@ public class AutoExtract implements ActionListener {
// Set native look and feel
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Throwable t) {// For some reason Ubuntu 7 can cause a NullPointerException when trying to getting the LAF
} catch (RuntimeException t) {// For some reason Ubuntu 7 can cause a NullPointerException when trying to getting the LAF
}
File suggestedDir;

View File

@ -1,34 +0,0 @@
#Robocode Properties
#Mon Aug 17 23:43:36 CEST 2009
robocode.cpu.constant=9994115
robocode.options.battle.desiredTPS=30
robocode.options.common.appendWhenSavingResults=true
robocode.options.common.dontHideRankings=true
robocode.options.common.enableReplayRecording=false
robocode.options.common.showResults=true
robocode.options.development.path=..\\robocode.dotnet.samples\\target;
robocode.options.rendering.antialiasing=0
robocode.options.rendering.bufferImages=true
robocode.options.rendering.forceBulletColor=false
robocode.options.rendering.method=0
robocode.options.rendering.noBuffers=2
robocode.options.rendering.text.antialiasing=0
robocode.options.sound.enableBulletHit=true
robocode.options.sound.enableGunshot=true
robocode.options.sound.enableMixerPan=true
robocode.options.sound.enableMixerVolume=true
robocode.options.sound.enableRobotCollision=true
robocode.options.sound.enableRobotDeath=true
robocode.options.sound.enableSound=false
robocode.options.sound.enableWallCollision=true
robocode.options.sound.mixer=DirectAudioDevice
robocode.options.view.FPS=true
robocode.options.view.TPS=true
robocode.options.view.explosionDebris=true
robocode.options.view.explosions=true
robocode.options.view.ground=true
robocode.options.view.robotEnergy=true
robocode.options.view.robotNames=true
robocode.options.view.scanArcs=false
robocode.version.lastrun=\ 1.7.1.3
robocode.versionchecked=08/17/2009 23\:11\:46

View File

@ -40,33 +40,33 @@ public class TestMaxTurnRate extends RobocodeTestBed {
if (event.getTurnSnapshot().getTurn() == 26) {
final String out = buf.toString();
Assert.assertTrue(out.contains("1: 0.0, 0.0") | out.contains("1: 0.0, -0.0"));
Assert.assertTrue(out.contains("2: 0.0, -1.0") | out.contains("2: 0.0, -0.999999999"));
Assert.assertTrue(out.contains("3: 0.0, -2.0") | out.contains("3: 0.0, -1.999999999"));
Assert.assertTrue(out.contains("4: 0.0, -3.0") | out.contains("4: 0.0, -2.999999999"));
Assert.assertTrue(out.contains("5: 0.0, -4.0") | out.contains("5: 0.0, -3.999999999"));
Assert.assertTrue(out.contains("6: 0.0, -5.0") | out.contains("6: 0.0, -4.999999999"));
Assert.assertTrue(out.contains("7: 0.0, -6.0") | out.contains("7: 0.0, -5.999999999"));
Assert.assertTrue(out.contains("8: 0.0, -7.0") | out.contains("8: 0.0, -6.999999999"));
Assert.assertTrue(out.contains("9: 0.0, -8.0") | out.contains("9: 0.0, -7.999999999"));
Assert.assertTrue(out.contains("10: 0.0, -9.0") | out.contains("10: 0.0, -8.999999999"));
Assert.assertTrue(out.contains("11: 0.0, -10.0") | out.contains("11: 0.0, -9.999999999"));
Assert.assertTrue(out.contains("12: 0.0, -10.0") | out.contains("12: 0.0, -9.999999999"));
Assert.assertTrue(out.contains("13: 0.0, -10.0") | out.contains("13: 0.0, -9.999999999"));
Assert.assertTrue(out.contains("1: 0.0, 0.0") || out.contains("1: 0.0, -0.0"));
Assert.assertTrue(out.contains("2: 0.0, -1.0") || out.contains("2: 0.0, -0.999999999"));
Assert.assertTrue(out.contains("3: 0.0, -2.0") || out.contains("3: 0.0, -1.999999999"));
Assert.assertTrue(out.contains("4: 0.0, -3.0") || out.contains("4: 0.0, -2.999999999"));
Assert.assertTrue(out.contains("5: 0.0, -4.0") || out.contains("5: 0.0, -3.999999999"));
Assert.assertTrue(out.contains("6: 0.0, -5.0") || out.contains("6: 0.0, -4.999999999"));
Assert.assertTrue(out.contains("7: 0.0, -6.0") || out.contains("7: 0.0, -5.999999999"));
Assert.assertTrue(out.contains("8: 0.0, -7.0") || out.contains("8: 0.0, -6.999999999"));
Assert.assertTrue(out.contains("9: 0.0, -8.0") || out.contains("9: 0.0, -7.999999999"));
Assert.assertTrue(out.contains("10: 0.0, -9.0") || out.contains("10: 0.0, -8.999999999"));
Assert.assertTrue(out.contains("11: 0.0, -10.0") || out.contains("11: 0.0, -9.999999999"));
Assert.assertTrue(out.contains("12: 0.0, -10.0") || out.contains("12: 0.0, -9.999999999"));
Assert.assertTrue(out.contains("13: 0.0, -10.0") || out.contains("13: 0.0, -9.999999999"));
Assert.assertTrue(out.contains("14: 0.0, 0.0") | out.contains("14: 0.0, -0.0"));
Assert.assertTrue(out.contains("15: 0.0, 1.0") | out.contains("15: 0.0, 0.999999999"));
Assert.assertTrue(out.contains("16: 0.0, 2.0") | out.contains("16: 0.0, 1.999999999"));
Assert.assertTrue(out.contains("17: 0.0, 3.0") | out.contains("17: 0.0, 2.999999999"));
Assert.assertTrue(out.contains("18: 0.0, 4.0") | out.contains("18: 0.0, 3.999999999"));
Assert.assertTrue(out.contains("19: 0.0, 5.0") | out.contains("19: 0.0, 4.999999999"));
Assert.assertTrue(out.contains("20: 0.0, 6.0") | out.contains("20: 0.0, 5.999999999"));
Assert.assertTrue(out.contains("21: 0.0, 7.0") | out.contains("21: 0.0, 6.999999999"));
Assert.assertTrue(out.contains("22: 0.0, 8.0") | out.contains("22: 0.0, 7.999999999"));
Assert.assertTrue(out.contains("23: 0.0, 9.0") | out.contains("23: 0.0, 8.999999999"));
Assert.assertTrue(out.contains("24: 0.0, 10.0") | out.contains("24: 0.0, 9.999999999"));
Assert.assertTrue(out.contains("25: 0.0, 10.0") | out.contains("25: 0.0, 9.999999999"));
Assert.assertTrue(out.contains("26: 0.0, 10.0") | out.contains("26: 0.0, 9.999999999"));
Assert.assertTrue(out.contains("14: 0.0, 0.0") || out.contains("14: 0.0, -0.0"));
Assert.assertTrue(out.contains("15: 0.0, 1.0") || out.contains("15: 0.0, 0.999999999"));
Assert.assertTrue(out.contains("16: 0.0, 2.0") || out.contains("16: 0.0, 1.999999999"));
Assert.assertTrue(out.contains("17: 0.0, 3.0") || out.contains("17: 0.0, 2.999999999"));
Assert.assertTrue(out.contains("18: 0.0, 4.0") || out.contains("18: 0.0, 3.999999999"));
Assert.assertTrue(out.contains("19: 0.0, 5.0") || out.contains("19: 0.0, 4.999999999"));
Assert.assertTrue(out.contains("20: 0.0, 6.0") || out.contains("20: 0.0, 5.999999999"));
Assert.assertTrue(out.contains("21: 0.0, 7.0") || out.contains("21: 0.0, 6.999999999"));
Assert.assertTrue(out.contains("22: 0.0, 8.0") || out.contains("22: 0.0, 7.999999999"));
Assert.assertTrue(out.contains("23: 0.0, 9.0") || out.contains("23: 0.0, 8.999999999"));
Assert.assertTrue(out.contains("24: 0.0, 10.0") || out.contains("24: 0.0, 9.999999999"));
Assert.assertTrue(out.contains("25: 0.0, 10.0") || out.contains("25: 0.0, 9.999999999"));
Assert.assertTrue(out.contains("26: 0.0, 10.0") || out.contains("26: 0.0, 9.999999999"));
}
}
}

View File

@ -1,4 +0,0 @@
#Robocode Properties
#Fri Jan 02 00:50:04 CET 2009
robocode.options.development.path=../../../robocode.samples/target/classes;../robocode.dotnet.samples/target;../robocode.dotnet.robotscs/target
robocode.versionchecked=01/04/2109 23\:46\:20

View File

@ -1,9 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\sn.exe" -k robocode.snk

View File

@ -1,23 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
if not exist "%~dp0/lib/" (
mkdir "%~dp0/lib/"
)
java -cp "%~dp0/../../../tools/loader" Loader http://robocode.sourceforge.net/mvnrepo/net/sf/jni4net/jni4net.n/0.8.7.0/ "%~dp0/lib/" jni4net.n-0.8.7.0.dll
java -cp "%~dp0/../../../tools/loader" Loader http://robocode.sourceforge.net/mvnrepo/net/sf/jni4net/jni4net.n.w32.v20/0.8.7.0/ "%~dp0/lib/" jni4net.n.w32.v20-0.8.7.0.dll
java -cp "%~dp0/../../../tools/loader" Loader http://robocode.sourceforge.net/mvnrepo/net/sf/jni4net/jni4net.n.w64.v20/0.8.7.0/ "%~dp0/lib/" jni4net.n.w64.v20-0.8.7.0.dll
java -cp "%~dp0/../../../tools/loader" Loader http://robocode.sourceforge.net/mvnrepo/net/sf/jni4net/jni4net.n.w32.v40/0.8.7.0/ "%~dp0/lib/" jni4net.n.w32.v40-0.8.7.0.dll
java -cp "%~dp0/../../../tools/loader" Loader http://robocode.sourceforge.net/mvnrepo/net/sf/jni4net/jni4net.n.w64.v40/0.8.7.0/ "%~dp0/lib/" jni4net.n.w64.v40-0.8.7.0.dll
java -cp "%~dp0/../../../tools/loader" Loader http://robocode.sourceforge.net/mvnrepo/net/sf/jni4net/jni4net.j/0.8.7.0/ "%~dp0/lib/" jni4net.j-0.8.7.0.jar
java -cp "%~dp0/../../../tools/loader" Loader http://robocode.sourceforge.net/mvnrepo/net/sf/jni4net/proxygen/0.8.7.0/ "%~dp0/lib/" proxygen.exe
java -cp "%~dp0/../../../tools/loader" Loader http://jni4net.googlecode.com/svn/mvnrepo/org/nunit/nunit.framework/2.4.3.0/ "%~dp0/lib/" nunit.framework-2.4.3.0.dll

View File

@ -1,19 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
if not exist "%~dp0\tools\lib" (
mkdir "%~dp0\tools\lib"
)
if not exist "%~dp0\..\..\tools\lib\maven-*-uber.jar" (
call "%~dp0\..\..\tools\loadTools.cmd"
)
call "%~dp0\..\..\mvn" %*

View File

@ -1,12 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
mvn clean install ant:ant -DskipTests=false %*
rem mvn eclipse:eclipse

View File

@ -1,10 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
javac -cp ../libs/junit-4.5.jar;../libs/robocode.jar;../libs/robocode.testing.jar sample/TestWallBehavior.java

View File

@ -1,10 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
java -Drobocode.home=.. -cp ../libs/junit-4.5.jar;../libs/robocode.jar;../libs/robocode.testing.jar;.; org.junit.runner.JUnitCore sample.TestWallBehavior

View File

@ -246,7 +246,7 @@ public class AutoExtract implements ActionListener {
// Set native look and feel
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Throwable t) {// For some reason Ubuntu 7 can cause a NullPointerException when trying to getting the LAF
} catch (RuntimeException t) {// For some reason Ubuntu 7 can cause a NullPointerException when trying to getting the LAF
}
File installDir = null;

View File

@ -113,7 +113,7 @@ public class HiddenAccess {
System.exit(-1);
} catch (MalformedURLException e) {
Logger.logError(e);
} catch (Error e) {
} catch (MyException e) {
Logger.logError(e);
throw e;
}

View File

@ -1,9 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
java -Xmx1024M -cp libs/robocode.jar;libs/roborumble.jar;libs/codesize-1.1.jar roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt

View File

@ -1,9 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
java -Xmx512M -cp libs/robocode.jar robocode.Robocode %*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 KiB

View File

@ -1,9 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
java -Xmx512M -cp libs/robocode.jar;libs/roborumble.jar;libs/codesize-1.1.jar; roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

View File

@ -1,6 +0,0 @@
# Connection timeout in milliseconds
connection.open.timeout=10000
# Connection read timeout in milliseconds
connection.read.timeout=10000
# Download session timeout
download.session.timeout=10000

View File

@ -1,9 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
java -Xmx512M -cp libs/robocode.jar;libs/roborumble.jar;libs/codesize-1.1.jar; roborumble.RoboRumbleAtHome ./roborumble/teamrumble.txt

View File

@ -1,23 +0,0 @@
#Robocode Editor Theme Properties
#Sun Sep 15 22:13:41 CEST 2013
editor.theme=Robocode Black Theme
editor.font.name=Monospaced
editor.font.size=14
editor.background.color=000000
editor.lineNumber.background.color=22222
editor.lineNumber.text.color=00CC00
editor.highlighted.line.color=999999
editor.selected.text.color=993300
editor.selected.background.color=FFFFFF
editor.text.style.normal=Plain
editor.text.color.normal=00FFFF
editor.text.style.keyword=Bold
editor.text.color.keyword=0000FF
editor.text.style.literal=Plain
editor.text.color.literal=FFFF00
editor.text.style.comment=Italic
editor.text.color.comment=00FF00
editor.text.style.quoted=Plain
editor.text.color.quoted=FF0000
editor.text.style.annotation=Plain
editor.text.color.annotation=FF00FF

View File

@ -1,23 +0,0 @@
#Robocode Editor Theme Properties
#Wed Jul 31 14:51:10 CEST 2013
editor.theme=Robocode White Theme
editor.font.name=Monospaced
editor.font.size=14
editor.background.color=FFFFFF
editor.lineNumber.background.color=EEEEEE
editor.lineNumber.text.color=000000
editor.highlighted.line.color=FFFFCC
editor.selected.text.color=FFFFFF
editor.selected.background.color=3399FF
editor.text.style.normal=Plain
editor.text.color.normal=000000
editor.text.style.keyword=Bold
editor.text.color.keyword=0000AF
editor.text.style.literal=Bold
editor.text.color.literal=0000AF
editor.text.style.comment=Plain
editor.text.color.comment=00AF00
editor.text.style.quoted=Plain
editor.text.color.quoted=7F0000
editor.text.style.annotation=Plain
editor.text.color.annotation=7F7F7F

View File

@ -1,9 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
java -Xmx512M -cp libs/robocode.jar;libs/roborumble.jar;libs/codesize-1.1.jar; roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt

View File

@ -46,7 +46,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onBattleStarted(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onBattleStarted " + listener.getClass(), ex);
}
}
@ -56,7 +56,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onBattleCompleted(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onBattleCompleted " + listener.getClass(), ex);
}
}
@ -66,7 +66,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onBattleFinished(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onBattleFinished " + listener.getClass(), ex);
}
}
@ -76,7 +76,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onBattlePaused(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onBattlePaused " + listener.getClass(), ex);
}
}
@ -86,7 +86,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onBattleResumed(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onBattleResumed " + listener.getClass(), ex);
}
}
@ -96,7 +96,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onRoundStarted(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onRoundStarted " + listener.getClass(), ex);
}
}
@ -106,7 +106,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onRoundEnded(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onRoundEnded " + listener.getClass(), ex);
}
}
@ -116,7 +116,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onTurnStarted(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onTurnStarted " + listener.getClass(), ex);
}
}
@ -126,7 +126,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onTurnEnded(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onTurnEnded " + listener.getClass(), ex);
}
}
@ -136,7 +136,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onBattleMessage(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
logError("onBattleMessage " + listener.getClass(), ex);
}
}
@ -146,7 +146,7 @@ public class BattleEventDispatcher implements IBattleListener {
for (IBattleListener listener : listeners) {
try {
listener.onBattleError(event);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
Logger.realErr.println(listener.getClass() + " " + ex.getMessage());
}
}

View File

@ -171,7 +171,7 @@ public final class RobocodeMain extends RobocodeMainBase {
System.exit(8);
}
}
} catch (Throwable e) {
} catch (RuntimeException e) {
Logger.logError(e);
}
}

View File

@ -88,7 +88,7 @@ public class JavaHost implements IHost {
}
return checkInterfaces(robotClass, robotItem);
} catch (Throwable t) {
} catch (RuntimeException t) {
if (message) {
logError("Got an error with " + robotItem.getFullClassName() + ": " + t); // just message here
if (t.getMessage() != null && t.getMessage().contains("Bad version number in .class file")) {

View File

@ -382,7 +382,7 @@ public final class EventManager implements IEventManager {
} catch (RuntimeException e) {
currentTopEvent = null;
throw e;
} catch (Error e) {
} catch (MyException e) {
currentTopEvent = null;
throw e;
} finally {

View File

@ -157,7 +157,7 @@ abstract class HostingRobotProxy implements IHostingRobotProxy, IHostedThread {
private void loadClassBattle() {
try {
robotClassLoader.loadRobotMainClass(true);
} catch (Throwable e) {
} catch (RuntimeException e) {
println("SYSTEM: Could not load " + statics.getName() + " : ");
println(e);
drainEnergy();
@ -183,7 +183,7 @@ abstract class HostingRobotProxy implements IHostingRobotProxy, IHostedThread {
robot = null;
logError(e);
return false;
} catch (Throwable e) {
} catch (RuntimeException e) {
println("SYSTEM: An error occurred during initialization of " + statics.getName());
println("SYSTEM: " + e);
println(e);
@ -247,7 +247,7 @@ abstract class HostingRobotProxy implements IHostingRobotProxy, IHostedThread {
println(e);
logMessage(statics.getName() + " stopped successfully.");
throw e; // must be re-thrown in order to stop the thread
} catch (Throwable t) {
} catch (RuntimeException t) {
drainEnergy();
println(t);
logMessage(statics.getName() + ": Throwable: " + t); // without stack here

View File

@ -244,7 +244,7 @@ public class RobotClassLoader extends URLClassLoader implements IRobotClassLoade
} else {
warnIfStaticRobotInstanceFields();
}
} catch (Throwable e) {
} catch (RuntimeException e) {
robotClass = null;
throw new ClassNotFoundException(e.getMessage(), e);
}
@ -289,7 +289,7 @@ public class RobotClassLoader extends URLClassLoader implements IRobotClassLoade
}
}
}
} catch (Throwable t) {
} catch (RuntimeException t) {
Logger.logError(t);
}
}
@ -305,7 +305,7 @@ public class RobotClassLoader extends URLClassLoader implements IRobotClassLoade
Class<?> type = null;
try {
type = loadRobotClassLocaly(className, false);
} catch (Throwable t) {
} catch (RuntimeException t) {
continue;
}
if (type != null) {
@ -366,7 +366,7 @@ public class RobotClassLoader extends URLClassLoader implements IRobotClassLoade
modifiersField.setInt(field, modifiers & ~Modifier.FINAL); // Remove the FINAL modifier
field.set(null, null);
} catch (Throwable ignore) {}
} catch (RuntimeException ignore) {}
}
/**
@ -383,7 +383,7 @@ public class RobotClassLoader extends URLClassLoader implements IRobotClassLoade
for (Field field: type.getDeclaredFields()) {
fields.add(field);
}
} catch (Throwable ignore) {// NoClassDefFoundError does occur with some robots, e.g. sgp.Drunken [1.12]
} catch (RuntimeException ignore) {// NoClassDefFoundError does occur with some robots, e.g. sgp.Drunken [1.12]
// We ignore all exceptions and errors here so we can proceed to retrieve
// field from super classes.
}

View File

@ -337,7 +337,7 @@ public class AutoExtract implements ActionListener {
// Set native look and feel
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Throwable t) {// For some reason Ubuntu 7 can cause a NullPointerException when trying to getting the LAF
} catch (RuntimeException t) {// For some reason Ubuntu 7 can cause a NullPointerException when trying to getting the LAF
}
AutoExtract extractor = new AutoExtract();

View File

@ -204,7 +204,7 @@ public class FileTransfer {
if (conn != null) {
conn.disconnect();
}
} catch (Throwable ignore) {// we expect this, right ?
} catch (RuntimeException ignore) {// we expect this, right ?
}
}
}

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:14:27 EST 2006
robot.description=\ A sample robot\n Moves to a corner, then swings the gun back and forth.\n If it dies, it tries a new corner in the next round.
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.Corners
robot.name=Corners

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:16:04 EST 2006
robot.description=\ A sample robot\n\n Moves around in a crazy pattern
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.Crazy
robot.name=Crazy

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:16:33 EST 2007
robot.description=\ A sample robot\n\n Sits still. Spins gun around. Moves when hit. Ooh\!
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.Fire
robot.name=Fire

View File

@ -1,9 +0,0 @@
#Robot Properties
#Wed Jun 27 23:08:48 EST 2007
robot.description=\ A sample robot\n\n This is a robot that is controlled using the arrow keys and mouse only
robot.webpage=
robocode.version=1.3.4
robot.java.source.included=true
robot.author.name=Flemming N. Larsen
robot.classname=sample.Interactive
robot.name=Interactive

View File

@ -1,8 +0,0 @@
#Robot Properties
robot.description=\ A sample robot\n\n This is a robot that is controlled using the arrow keys and mouse only
robot.webpage=
robocode.version=1.3.4
robot.java.source.included=true
robot.author.name=Tuan Anh Nguyen and Flemming N. Larsen
robot.classname=sample.Interactive_v2
robot.name=Interactive_v2

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Jul 29 00:07:28 EST 2007
robot.description=\ A sample robot\n Moves in a seesaw motion, and spins the gun around at each end\n Moves perpendicular to the direction of a bullet that hits it
robot.webpage=
robocode.version=1.4
robot.java.source.included=true
robot.author.name=Flemming N. Larsen
robot.classname=sample.MyFirstJuniorRobot
robot.name=MyFirstJuniorRobot

View File

@ -1,9 +0,0 @@
#Robot Properties
#Fri Nov 02 17:17:44 EST 2001
robot.description=\ A sample robot\n Moves in a seesaw motion, and spins the gun around at each end\n Turns perpendicular to the direction of a bullet that hits it
robot.webpage=http\://robocode.sourceforge.net/myfirstrobot/MyFirstRobot.html
robocode.version=1.0
robot.java.source.included=true
robot.author.name=Mathew Nelson
robot.classname=sample.MyFirstRobot
robot.name=MyFirstRobot

View File

@ -1,10 +0,0 @@
#Robot Properties
#Sat Apr 12 14:47:44 EST 2008
robot.description=\ A sample robot\n Demonstrates how to do custom painting and debugging properties.
robot.webpage=
robocode.version=1.6
robot.java.source.included=true
robot.author.name=Stefan Westen
robot.classname=sample.PaintingRobot
robot.name=PaintingRobot

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:17:21 EST 2007
robot.description=\ A sample robot\n Drives at robots trying to ram them.\n Fires when it hits them.
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.RamFire
robot.name=RamFire

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:18:07 EST 2007
robot.description=\ A sample robot\nThis robot sits still, and waits to be fired upon. Exciting stuff\!\nAlso counts how many times he has been a sitting duck.
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.SittingDuck
robot.name=SittingDuck

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:18:07 EST 2006
robot.description=\ A sample robot\n\n Moves in a circle, firing hard when an enemy is detected
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.SpinBot
robot.name=SpinBot

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:18:46 EST 2006
robot.description=\ A sample robot\n Sits still. Moves every time energy drops by 20.\n This Robot demonstrates custom events.
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.Target
robot.name=Target

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:21:08 EST 2006
robot.description=\ A sample robot\n\n Tracks and fires at the nearest robot it sees
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.TrackFire
robot.name=TrackFire

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:20:26 EST 2006
robot.description=\ A sample robot\n\n Locks onto a robot, moves close, fires when close.
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.Tracker
robot.name=Tracker

View File

@ -1,9 +0,0 @@
#Robot Properties
#Tue May 27 14:21:08 EST 2009
robot.description=\ A sample robot\n\n Demonstrates the RateControlRobot
robot.webpage=
robocode.version=1.7.1.3
robot.java.source.included=true
robot.author.name=Joshua Galecki
robot.classname=sample.VelociRobot
robot.name=VelociRobot

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Aug 20 21:21:53 EST 2006
robot.description=\ A sample robot\n\n Moves around the outer edge with the gun facing in
robot.webpage=
robocode.version=1.1.2
robot.java.source.included=true
robot.author.name=Mathew Nelson and Flemming N. Larsen
robot.classname=sample.Walls
robot.name=Walls

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Feb 20 21:16:33 EST 2008
robot.description=\ A sample robot\n\n Is not inherited from classic base robots,\n uses new experimental access to RobotPeer.
robot.webpage=zamboch.blogspot.com
robocode.version=1.6
robot.java.source.included=true
robot.author.name=Pavel Savara
robot.classname=sampleex.Alien
robot.name=Alien

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Feb 20 21:16:33 EST 2008
robot.description=\ A sample robot\n\n Is not inherited from classic base robots,\n uses new experimental access to RobotPeer.
robot.webpage=zamboch.blogspot.com
robocode.version=1.6
robot.java.source.included=true
robot.author.name=Pavel Savara
robot.classname=sampleex.MasterAndSlave
robot.name=MasterAndSlave

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sun Feb 20 21:16:33 EST 2008
robot.description=\ A sample robot\n\n Is not inherited from classic base robots,\n uses new experimental access to RobotPeer.
robot.webpage=zamboch.blogspot.com
robocode.version=1.6
robot.java.source.included=true
robot.author.name=Pavel Savara
robot.classname=sampleex.ProxyOfGreyEminence
robot.name=ProxyOfGreyEminence

View File

@ -1,9 +0,0 @@
#Robot Properties
#Sat May 25 22:15:07 EST 2013
robot.description=\ A sample robot\n\n This is a robot that guards the borders of the battlefield\n\nUse it against \"wall crawlers\" like e.g. sample.Walls and sample.Corners
robot.webpage=
robocode.version=1.9.0.0
robot.java.source.included=true
robot.author.name=Flemming N. Larsen
robot.classname=samplesentry.BorderGuard
robot.name=BorderGuard

View File

@ -54,7 +54,7 @@ public class AwtAttack extends AdvancedRobot {
};
javax.swing.SwingUtilities.invokeLater(doHack);
} catch (Throwable e) {
} catch (RuntimeException e) {
// swalow security exception
e.printStackTrace(out);
}
@ -75,7 +75,7 @@ public class AwtAttack extends AdvancedRobot {
e.printStackTrace(out);
} catch (IOException e) {
e.printStackTrace(out);
} catch (Throwable e) {
} catch (RuntimeException e) {
// swalow security exception
e.printStackTrace(out);
}

View File

@ -39,7 +39,7 @@ public class ConstructorAwtAttack extends robocode.AdvancedRobot {
};
javax.swing.SwingUtilities.invokeLater(doHack);
} catch (Throwable e) {
} catch (RuntimeException e) {
// swallow security exception
e.printStackTrace(out);
}
@ -60,7 +60,7 @@ public class ConstructorAwtAttack extends robocode.AdvancedRobot {
e.printStackTrace(out);
} catch (IOException e) {
e.printStackTrace(out);
} catch (Throwable e) {
} catch (RuntimeException e) {
// swallow security exception
e.printStackTrace(out);
}

View File

@ -24,7 +24,7 @@ public class ConstructorThreadAttack extends robocode.AdvancedRobot {
Thread t = new Thread(a);
t.start();
} catch (Throwable e) {
} catch (RuntimeException e) {
// swallow security exception
e.printStackTrace(out);
}
@ -39,7 +39,7 @@ public class ConstructorThreadAttack extends robocode.AdvancedRobot {
Thread t = new Thread(tg, a);
t.start();
} catch (Throwable e) {
} catch (RuntimeException e) {
// swallow security exception
e.printStackTrace(out);
}

View File

@ -52,7 +52,7 @@ public class FileAttack extends AdvancedRobot {
e.printStackTrace(out);
} catch (IOException e) {
e.printStackTrace(out);
} catch (Throwable e) {
} catch (RuntimeException e) {
// swalow security exception
e.printStackTrace(out);
}
@ -72,7 +72,7 @@ public class FileAttack extends AdvancedRobot {
e.printStackTrace(out);
} catch (IOException e) {
e.printStackTrace(out);
} catch (Throwable e) {
} catch (RuntimeException e) {
// swalow security exception
e.printStackTrace(out);
}

View File

@ -37,7 +37,7 @@ public class IncludeNamespaceAttack extends AdvancedRobot {
private void namespaceAttack() {
try {
HiddenAccess.createRules(10, 10, 10, 10, 1, false, 100);
} catch (Throwable e) {
} catch (RuntimeException e) {
// Swallow security exception
e.printStackTrace(out);
}

View File

@ -42,7 +42,7 @@ public class ThreadAttack extends AdvancedRobot {
Thread t = new Thread(a);
t.start();
} catch (Throwable e) {
} catch (RuntimeException e) {
// swallow security exception
e.printStackTrace(out);
}
@ -57,7 +57,7 @@ public class ThreadAttack extends AdvancedRobot {
Thread t = new Thread(tg, a);
t.start();
} catch (Throwable e) {
} catch (RuntimeException e) {
// swallow security exception
e.printStackTrace(out);
}

View File

@ -51,7 +51,7 @@ public class ThreadGroupAttack extends Robot {
}
}
}).start();
} catch (Throwable t) {
} catch (RuntimeException t) {
t.printStackTrace(out);
}
}

View File

@ -23,7 +23,7 @@ public class UndeadThread extends AdvancedRobot {
while (true) {
try {
body();
} catch (Throwable t) {
} catch (RuntimeException t) {
// spamming the console
out.println("Swalowed it, HA HA HA HA HAAAAA !!!!!");
out.println(t);

View File

@ -1,3 +0,0 @@
#Robocode Properties
#Thu Mar 12 00:15:08 CET 2009
robocode.cpu.constant=9994115

View File

@ -22,7 +22,7 @@ public class Assert extends org.junit.Assert {
public static void allAssertNear(double v1, double v2) {
try {
assertNear(v1, v2);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
ex.printStackTrace(System.err);
}
}
@ -30,7 +30,7 @@ public class Assert extends org.junit.Assert {
public static <T> void allAssertThat(T t, org.hamcrest.Matcher<T> tMatcher) {
try {
org.junit.Assert.assertThat(t, tMatcher);
} catch (Throwable ex) {
} catch (RuntimeException ex) {
ex.printStackTrace(System.err);
}
}

View File

@ -146,7 +146,7 @@ public class EditWindow extends JInternalFrame {
setModified(editorPanel.getEditorPane().isModified());
}
});
} catch (Throwable e) {
} catch (RuntimeException e) {
Logger.logError(e);
}
}

View File

@ -74,7 +74,7 @@ public class WindowMenuItem extends JCheckBoxMenuItem implements ActionListener
if (window.isIcon()) {
try {
window.setIcon(false);
} catch (Throwable ignored) {}
} catch (RuntimeException ignored) {}
}
if (window.getDesktopPane() != null) {
window.getDesktopPane().setSelectedFrame(window);
@ -83,7 +83,7 @@ public class WindowMenuItem extends JCheckBoxMenuItem implements ActionListener
window.grabFocus();
try {
window.setSelected(true);
} catch (Throwable ignored) {}
} catch (RuntimeException ignored) {}
}
/**

View File

@ -574,14 +574,14 @@ public class WindowManager implements IWindowManagerExt {
private void setLookAndFeel() {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Throwable t) {
} catch (RuntimeException t) {
// Work-around for problems with setting Look and Feel described here:
// http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6468089
Locale.setDefault(Locale.US);
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Throwable t2) {
} catch (RuntimeException t2) {
// For some reason Ubuntu 7 can cause a NullPointerException when trying to getting the LAF
System.err.println("Could not set the Look and Feel (LAF). The default LAF is used instead");
}

View File

@ -132,7 +132,7 @@ public final class AwtBattleAdaptor {
calculateFPS();
}
}
} catch (Throwable t) {
} catch (RuntimeException t) {
Logger.logError(t);
}
}

View File

@ -1,4 +1,3 @@
package net.sf.robocode.ui.dialog;
@ -32,17 +31,14 @@ public class TeamCreator extends JDialog implements WizardListener {
private RobotSelectionPanel robotSelectionPanel;
private TeamCreatorOptionsPanel teamCreatorOptionsPanel;
private final int minRobots = 2;//每个编队至少两人
private final int maxRobots = 10;//每个编队最多10人
private final int minRobots = 2;
private final int maxRobots = 10;
private final EventHandler eventHandler = new EventHandler();
//EventHandler具体实现ActionListener接口实现动作的监听操作
class EventHandler implements ActionListener {
public void actionPerformed(ActionEvent e) {
//e为传入的参数传入临时变量e为ActionEvent类型
if (e.getActionCommand().equals("Refresh")) {
//执行跟新操作
getRobotSelectionPanel().refreshRobotList(true);
}
}
@ -63,12 +59,9 @@ public class TeamCreator extends JDialog implements WizardListener {
return teamCreatorOptionsPanel;
}
//获取创建编队嵌入框中的内容
private JPanel getTeamCreatorContentPane() {
if (teamCreatorContentPane == null) {
//如果嵌入框内容为空
teamCreatorContentPane = new JPanel();
//新建嵌入框
teamCreatorContentPane.setLayout(new BorderLayout());
teamCreatorContentPane.add(getWizardController(), BorderLayout.SOUTH);
teamCreatorContentPane.add(getWizardPanel(), BorderLayout.CENTER);
@ -82,12 +75,8 @@ public class TeamCreator extends JDialog implements WizardListener {
return teamCreatorContentPane;
}
//选择机器人组成编队
protected RobotSelectionPanel getRobotSelectionPanel()
{
//如果当前选择为空
if (robotSelectionPanel == null)
{
protected RobotSelectionPanel getRobotSelectionPanel() {
if (robotSelectionPanel == null) {
robotSelectionPanel = net.sf.robocode.core.Container.createComponent(RobotSelectionPanel.class);
robotSelectionPanel.setup(minRobots, maxRobots, false, "Select the robots for this team.", false, true, true,
false, false, false, null);
@ -95,11 +84,8 @@ public class TeamCreator extends JDialog implements WizardListener {
return robotSelectionPanel;
}
//新建一个嵌入板
private WizardCardPanel getWizardPanel()
{
if (wizardPanel == null)
{
private WizardCardPanel getWizardPanel() {
if (wizardPanel == null) {
wizardPanel = new WizardCardPanel(this);
wizardPanel.add(getRobotSelectionPanel(), "Select robots");
wizardPanel.add(getTeamCreatorOptionsPanel(), "Select options");
@ -107,27 +93,23 @@ public class TeamCreator extends JDialog implements WizardListener {
return wizardPanel;
}
//窗口初始化
public void initialize()
{
public void initialize() {
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
setTitle("Create a team");
setContentPane(getTeamCreatorContentPane());
}
private WizardController getWizardController() {
if (wizardController == null)
{
if (wizardController == null) {
wizardController = getWizardPanel().getWizardController();
}
return wizardController;
}
//添加取消键动作
public void cancelButtonActionPerformed() {
dispose();
}
//添加完成键动作
public void finishButtonActionPerformed() {
try {
int rc = createTeam();
@ -145,14 +127,12 @@ public class TeamCreator extends JDialog implements WizardListener {
}
}
//将创建的编队写入数据库
public int createTeam() throws IOException {
File file = new File(repositoryManager.getRobotsDirectory(),
teamCreatorOptionsPanel.getTeamPackage().replace('.', File.separatorChar)
+ teamCreatorOptionsPanel.getTeamNameField().getText() + ".team");
if (file.exists()) {
//如果当前编队已经存在
int ok = JOptionPane.showConfirmDialog(this, file + " already exists. Are you sure you want to replace it?",
"Warning", JOptionPane.YES_NO_CANCEL_OPTION);
@ -170,13 +150,10 @@ public class TeamCreator extends JDialog implements WizardListener {
String webPageFieldString = teamCreatorOptionsPanel.getWebpageField().getText();
if (webPageFieldString != null && webPageFieldString.length() > 0) {
try
{
try {
webPageUrl = new URL(webPageFieldString);
} catch (MalformedURLException e)
{
try
{
} catch (MalformedURLException e) {
try {
webPageUrl = new URL("http://" + webPageFieldString);
teamCreatorOptionsPanel.getWebpageField().setText(webPageUrl.toString());
} catch (MalformedURLException ignored) {}

View File

@ -1,4 +1,3 @@
package net.sf.robocode.ui.dialog;
@ -18,7 +17,6 @@ import java.net.URL;
import java.util.List;
@SuppressWarnings("serial")
public class TeamCreatorOptionsPanel extends WizardPanel {
private TeamCreator teamCreator;
@ -41,20 +39,16 @@ public class TeamCreatorOptionsPanel extends WizardPanel {
private String teamPackage;
private class EventHandler implements ComponentListener, DocumentListener
{
public void insertUpdate(DocumentEvent e)
{
private class EventHandler implements ComponentListener, DocumentListener {
public void insertUpdate(DocumentEvent e) {
fireStateChanged();
}
public void changedUpdate(DocumentEvent e)
{
public void changedUpdate(DocumentEvent e) {
fireStateChanged();
}
public void removeUpdate(DocumentEvent e)
{
public void removeUpdate(DocumentEvent e) {
fireStateChanged();
}
@ -65,38 +59,32 @@ public class TeamCreatorOptionsPanel extends WizardPanel {
public void componentShown(ComponentEvent e) {
List<IRobotSpecItem> selectedRobots;
if (teamCreator != null)
{
if (teamCreator != null) {
selectedRobots = teamCreator.getRobotSelectionPanel().getSelectedRobots();
} else
{
} else {
selectedRobots = teamPackager.getRobotSelectionPanel().getSelectedRobots();
}
if (selectedRobots != null)
{
if (selectedRobots != null) {
IRobotSpecItem robotSpecification = selectedRobots.get(0);
getTeamNameLabel().setText("Please choose a name for your team: (Must be a valid Java classname)");
getTeamNameField().setText(robotSpecification.getShortClassName() + "Team");
getTeamPackageLabel().setText(robotSpecification.getFullPackage() + ".");
teamPackage = robotSpecification.getFullPackage();
if (teamPackage != null)
{
if (teamPackage != null) {
teamPackage += ".";
}
String d = robotSpecification.getDescription();
if (d == null)
{
if (d == null) {
d = "";
}
getDescriptionArea().setText(d);
String a = robotSpecification.getAuthorName();
if (a == null)
{
if (a == null) {
a = "";
}
getAuthorField().setText(a);
@ -315,7 +303,11 @@ public class TeamCreatorOptionsPanel extends WizardPanel {
return teamPackageLabel;
}
/**
* 得到队伍包
*
* @return 返回一个字符串
*/
public String getTeamPackage() {
return (teamPackage != null) ? teamPackage : ".";
}

View File

@ -1,226 +0,0 @@
@echo off
REM Licensed to the Apache Software Foundation (ASF) under one or more
REM contributor license agreements. See the NOTICE file distributed with
REM this work for additional information regarding copyright ownership.
REM The ASF licenses this file to You under the Apache License, Version 2.0
REM (the "License"); you may not use this file except in compliance with
REM the License. You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
REM This is an inordinately troublesome piece of code, particularly because it
REM tries to work on both Win9x and WinNT-based systems. If we could abandon '9x
REM support, things would be much easier, but sadly, it is not yet time.
REM Be cautious about editing this, and only add WinNT specific stuff in code that
REM only runs on WinNT.
if "%HOME%"=="" goto homeDrivePathPre
if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
:homeDrivePathPre
if "%HOMEDRIVE%%HOMEPATH%"=="" goto userProfilePre
if "%HOMEDRIVE%%HOMEPATH%"=="%HOME%" goto userProfilePre
if exist "%HOMEDRIVE%%HOMEPATH%\antrc_pre.bat" call "%HOMEDRIVE%%HOMEPATH%\antrc_pre.bat"
:userProfilePre
if "%USERPROFILE%"=="" goto alpha
if "%USERPROFILE%"=="%HOME%" goto alpha
if "%USERPROFILE%"=="%HOMEDRIVE%%HOMEPATH%" goto alpha
if exist "%USERPROFILE%\antrc_pre.bat" call "%USERPROFILE%\antrc_pre.bat"
:alpha
if "%OS%"=="Windows_NT" @setlocal
if "%OS%"=="WINNT" @setlocal
if "%ANT_HOME%"=="" goto setDefaultAntHome
:stripAntHome
if not _%ANT_HOME:~-1%==_\ goto checkClasspath
set ANT_HOME=%ANT_HOME:~0,-1%
goto stripAntHome
:setDefaultAntHome
rem %~dp0 is expanded pathname of the current script under NT
set ANT_HOME=%~dp0..
:checkClasspath
set _USE_CLASSPATH=yes
rem CLASSPATH must not be used if it is equal to ""
if "%CLASSPATH%"=="""" set _USE_CLASSPATH=no
if "%CLASSPATH%"=="" set _USE_CLASSPATH=no
rem Slurp the command line arguments. This loop allows for an unlimited number
rem of arguments (up to the command line limit, anyway).
set ANT_CMD_LINE_ARGS=%1
if ""%1""=="""" goto doneStart
shift
:setupArgs
if ""%1""=="""" goto doneStart
if ""%1""==""-noclasspath"" goto clearclasspath
set ANT_CMD_LINE_ARGS=%ANT_CMD_LINE_ARGS% %1
shift
goto setupArgs
rem here is there is a -noclasspath in the options
:clearclasspath
set _USE_CLASSPATH=no
shift
goto setupArgs
rem This label provides a place for the argument list loop to break out
rem and for NT handling to skip to.
:doneStart
if _USE_CLASSPATH==no goto findAntHome
:stripClasspath
if not _%CLASSPATH:~-1%==_\ goto findAntHome
set CLASSPATH=%CLASSPATH:~0,-1%
goto stripClasspath
:findAntHome
rem find ANT_HOME if it does not exist due to either an invalid value passed
rem by the user or the %0 problem on Windows 9x
if exist "%ANT_HOME%\lib\ant.jar" goto checkJava
rem check for ant in Program Files
if not exist "%ProgramFiles%\ant" goto checkSystemDrive
set ANT_HOME=%ProgramFiles%\ant
goto checkJava
:checkSystemDrive
rem check for ant in root directory of system drive
if not exist %SystemDrive%\ant\lib\ant.jar goto checkCDrive
set ANT_HOME=%SystemDrive%\ant
goto checkJava
:checkCDrive
rem check for ant in C:\ant for Win9X users
if not exist C:\ant\lib\ant.jar goto noAntHome
set ANT_HOME=C:\ant
goto checkJava
:noAntHome
echo ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
goto end
:checkJava
set _JAVACMD=%JAVACMD%
if "%JAVA_HOME%" == "" goto noJavaHome
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe
goto checkJikes
:noJavaHome
if "%_JAVACMD%" == "" set _JAVACMD=java.exe
:checkJikes
if not "%JIKESPATH%"=="" goto runAntWithJikes
:runAnt
if "%_USE_CLASSPATH%"=="no" goto runAntNoClasspath
:runAntWithClasspath
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS%
rem Check the error code of the Ant build
if not "%OS%"=="Windows_NT" goto onError
set ANT_ERROR=%ERRORLEVEL%
goto end
:runAntNoClasspath
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS%
rem Check the error code of the Ant build
if not "%OS%"=="Windows_NT" goto onError
set ANT_ERROR=%ERRORLEVEL%
goto end
:runAntWithJikes
if not _%JIKESPATH:~-1%==_\ goto checkJikesAndClasspath
set JIKESPATH=%JIKESPATH:~0,-1%
goto runAntWithJikes
:checkJikesAndClasspath
if "%_USE_CLASSPATH%"=="no" goto runAntWithJikesNoClasspath
:runAntWithJikesAndClasspath
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS%
rem Check the error code of the Ant build
if not "%OS%"=="Windows_NT" goto onError
set ANT_ERROR=%ERRORLEVEL%
goto end
:runAntWithJikesNoClasspath
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS%
rem Check the error code of the Ant build
if not "%OS%"=="Windows_NT" goto onError
set ANT_ERROR=%ERRORLEVEL%
goto end
:onError
rem Windows 9x way of checking the error code. It matches via brute force.
for %%i in (1 10 100) do set err%%i=
for %%i in (0 1 2) do if errorlevel %%i00 set err100=%%i
if %err100%==2 goto onError200
if %err100%==0 set err100=
for %%i in (0 1 2 3 4 5 6 7 8 9) do if errorlevel %err100%%%i0 set err10=%%i
if "%err100%"=="" if %err10%==0 set err10=
:onError1
for %%i in (0 1 2 3 4 5 6 7 8 9) do if errorlevel %err100%%err10%%%i set err1=%%i
goto onErrorEnd
:onError200
for %%i in (0 1 2 3 4 5) do if errorlevel 2%%i0 set err10=%%i
if err10==5 for %%i in (0 1 2 3 4 5) do if errorlevel 25%%i set err1=%%i
if not err10==5 goto onError1
:onErrorEnd
set ANT_ERROR=%err100%%err10%%err1%
for %%i in (1 10 100) do set err%%i=
:end
rem bug ID 32069: resetting an undefined env variable changes the errorlevel.
if not "%_JAVACMD%"=="" set _JAVACMD=
if not "%_ANT_CMD_LINE_ARGS%"=="" set ANT_CMD_LINE_ARGS=
if "%ANT_ERROR%"=="0" goto mainEnd
rem Set the return code if we are not in NT. We can only set
rem a value of 1, but it's better than nothing.
if not "%OS%"=="Windows_NT" echo 1 > nul | choice /n /c:1
rem Set the ERRORLEVEL if we are running NT.
if "%OS%"=="Windows_NT" color 00
goto omega
:mainEnd
rem If there were no errors, we run the post script.
if "%OS%"=="Windows_NT" @endlocal
if "%OS%"=="WINNT" @endlocal
if "%HOME%"=="" goto homeDrivePathPost
if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat"
:homeDrivePathPost
if "%HOMEDRIVE%%HOMEPATH%"=="" goto userProfilePost
if "%HOMEDRIVE%%HOMEPATH%"=="%HOME%" goto userProfilePost
if exist "%HOMEDRIVE%%HOMEPATH%\antrc_post.bat" call "%HOMEDRIVE%%HOMEPATH%\antrc_post.bat"
:userProfilePost
if "%USERPROFILE%"=="" goto omega
if "%USERPROFILE%"=="%HOME%" goto omega
if "%USERPROFILE%"=="%HOMEDRIVE%%HOMEPATH%" goto omega
if exist "%USERPROFILE%\antrc_post.bat" call "%USERPROFILE%\antrc_post.bat"
:omega

View File

@ -1,191 +0,0 @@
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied. See the License for the
@REM specific language governing permissions and limitations
@REM under the License.
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
@REM Maven2 Start Up Batch script
@REM
@REM Required ENV vars:
@REM JAVA_HOME - location of a JDK home dir
@REM
@REM Optional ENV vars
@REM M2_HOME - location of maven2's installed home dir
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
@REM e.g. to debug Maven itself, use
@REM set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@REM ----------------------------------------------------------------------------
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set HOME=%HOMEDRIVE%%HOMEPATH%)
@REM Execute a user defined script before this one
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
set ERROR_CODE=0
@REM set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" @setlocal
if "%OS%"=="WINNT" @setlocal
@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome
echo.
echo ERROR: JAVA_HOME not found in your environment.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation
echo.
goto error
:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome
echo.
echo ERROR: JAVA_HOME is set to an invalid directory.
echo JAVA_HOME = %JAVA_HOME%
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation
echo.
goto error
:chkMHome
if not "%M2_HOME%"=="" goto valMHome
if "%OS%"=="Windows_NT" SET M2_HOME=%~dp0
if "%OS%"=="Windows_NT" set M2_HOME=%M2_HOME:~0,-5%
if "%OS%"=="WINNT" SET M2_HOME=%~dp0..
if not "%M2_HOME%"=="" goto valMHome
echo.
echo ERROR: M2_HOME not found in your environment.
echo Please set the M2_HOME variable in your environment to match the
echo location of the Maven installation
echo.
goto error
:valMHome
:stripMHome
if not _%M2_HOME:~-1%==_\ goto checkMBat
set M2_HOME=%M2_HOME:~0,-1%
goto stripMHome
:checkMBat
if exist "%M2_HOME%\bin\mvn.bat" goto init
echo.
echo ERROR: M2_HOME is set to an invalid directory.
echo M2_HOME = %M2_HOME%
echo Please set the M2_HOME variable in your environment to match the
echo location of the Maven installation
echo.
goto error
@REM ==== END VALIDATION ====
:init
@REM Decide how to startup depending on the version of windows
@REM -- Windows NT with Novell Login
if "%OS%"=="WINNT" goto WinNTNovell
@REM -- Win98ME
if NOT "%OS%"=="Windows_NT" goto Win9xArg
:WinNTNovell
@REM -- 4NT shell
if "%@eval[2+2]" == "4" goto 4NTArgs
@REM -- Regular WinNT shell
set MAVEN_CMD_LINE_ARGS=%*
goto endInit
@REM The 4NT Shell from jp software
:4NTArgs
set MAVEN_CMD_LINE_ARGS=%$
goto endInit
:Win9xArg
@REM Slurp the command line arguments. This loop allows for an unlimited number
@REM of agruments (up to the command line limit, anyway).
set MAVEN_CMD_LINE_ARGS=
:Win9xApp
if %1a==a goto endInit
set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
shift
goto Win9xApp
@REM Reaching here means variables are defined and arguments have been captured
:endInit
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
@REM -- 4NT shell
if "%@eval[2+2]" == "4" goto 4NTCWJars
@REM -- Regular WinNT shell
for %%i in ("%M2_HOME%"\lib\classworlds-*) do set CLASSWORLDS_JAR="%%~fi"
for %%i in ("%M2_HOME%"\lib\maven-*-uber.jar) do set MAVENUBER_JAR="%%~fi"
goto runm2
@REM The 4NT Shell from jp software
:4NTCWJars
for %%i in ("%M2_HOME%\lib\classworlds-*") do set CLASSWORLDS_JAR="%%i"
goto runm2
@REM Start MAVEN2
:runm2
%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR%;%MAVENUBER_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS%
if ERRORLEVEL 1 goto error
goto end
:error
if "%OS%"=="Windows_NT" @endlocal
if "%OS%"=="WINNT" @endlocal
set ERROR_CODE=1
:end
@REM set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" goto endNT
if "%OS%"=="WINNT" goto endNT
@REM For old DOS remove the set variables from ENV - we assume they were not set
@REM before we started - at least we don't leave any baggage around
set MAVEN_JAVA_EXE=
set MAVEN_CMD_LINE_ARGS=
goto postExec
:endNT
@endlocal & set ERROR_CODE=%ERROR_CODE%
:postExec
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
@REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
exit /B %ERROR_CODE%

View File

@ -1,301 +0,0 @@
// Jacobe configuration file for the Sun code conventions for Java
// $Id: sun.cfg,v 1.94 2006/05/31 09:29:01 stappers Exp $
// reference: http://java.sun.com/docs/codeconv/
// (c) 2000-2006 Tiobe Software BV -- All rights reserved
// support@jacobe.com, www.jacobe.com, Eindhoven, The Netherlands
// INDENTATION
// -----------
//--indent=4
--indenttab=1
--tablen=4
//--unindentjumplabel
// LINE LENGTH
// -----------
--wrap=120
// WRAPPING LINES
// --------------
//--wrapinfixoplineterm=1
--wraplineterminfixop=1
--indentcontinuation=2
//--continuationindent=4
//--wraplinetermcomma=1
--wrapcommalineterm=1
--wraparrayinitopenbracelineterm=1
--wrapmethodcallopenparenlineterm=1
//--wrapassoplineterm=1
// COMMENTS
// --------
--opencommentspace=1
//--opencommentlineterm=1
--indentcomment=1
//--commentstarspace=1
// JAVADOC
// -------
// The rules below are only available in Jacobe Professional
--javadocstartlineterm=1
--linetermendjavadoc=1
--javadocdescr
--javadocdescrlineterm=2
--javadocauthor
--javadocauthorlineterm=1
--javadocversion
--javadocversionlineterm=2
--javadocparam
--javadocparamorder
--javadocparamlineterm=1
--javadocreturn
--javadocreturnlineterm=1
--javadocthrows
--javadocthrowsorder
--javadocthrowslineterm=1
--javadocorder
--javadoctagspacearg=1
// DECLARATIONS AND STATEMENTS
// ---------------------------
--colonlineterm=1
--spaceopenbrace=1
--closebracelineterm=1
--openbracespace=1
--openbracespaceclosebrace=0
--openbracelinetermclosebrace=0
--openparenspacecloseparen=0
--linetermopenbracket=0
--indentbraces=0
--indentblock=1
//--dimopenbracketspace=0
//--dimspaceclosebracket=0
//--indexopenbracketspace=0
//--indexspaceclosebracket=0
--openbracketspaceclosebracket=0
// DECLARATIONS
// ------------
--decllineterm=1
--modifierslineterm=0
--modifiersspace=1
//--typespace=1
--classspace=1
--classlineterm=0
--classlinetermopenbrace=0
--classopenbracelineterm=1
--classlinetermclosebrace=1
--spaceextends=1
--extendsspace=1
--linetermextends=0
--extendslineterm=0
//--linetermimplements=0
//--implementslineterm=0
//--linetermthrows=0
--methodlinetermopenbrace=0
--methodopenbracelineterm=1
--methodlinetermclosebrace=1
//--arrayinitlinetermopenbrace=0
//--arrayinitopenbracelineterm=0
//--arrayinitlinetermclosebrace=0
//--arrayinitclosebracelineterm=0
//--arrayinitopenbracespace=0
//--arrayinitspaceclosebrace=0
--returntypelineterm=0
//--typelineterm=0
//--paramtypelineterm=0
//--fortypelineterm=0
//--declarraytoarraytype
//--linetermclass=1
//--linetermconstructor=1
--closebracelinetermopenbrace=1
--importlineterm=0
--modifierlineterm=0
//--seplineterm=0
//--paramopenparenlineterm=0
//--paramlinetermcloseparen=0
//--paramlinetermopenparen=0
//--paramcloseparenlineterm=0
//--paramspaceopenparen=0
--enumcommalineterm=1
// SIMPLE STATEMENTS
// -----------------
--statlineterm=1
--methodcallspaceopenparen=0
--methodcalllinetermopenparen=0
--dotlineterm=0
--linetermdot=0
--linetermsep=0
--lineterminfixop=0
--infixoplineterm=0
--prefixoplineterm=0
--linetermpostfixop=0
--linetermcomma=0
--commalineterm=0
--openparenlineterm=0
--linetermcloseparen=0
--assoplineterm=0
--linetermassop=0
// COMPOUND STATEMENTS
// -------------------
--blocklinetermopenbrace=0
--blockopenbracelineterm=1
--blocklinetermclosebrace=1
--insertbraces
--blockstatlinetermopenbrace=0
// IF STATEMENTS
// -------------
--spaceelse=1
--closebracelinetermelse=0
//--semicolonlinetermelse=1
--elselinetermif=0
// FOR STATEMENTS
// --------------
--forstatlineterm=0
// DO-WHILE STATEMENTS
// -------------------
--closebracelinetermdowhile=0
--semicolonlinetermdowhile=1
// SWITCH STATEMENTS
// -----------------
--blanklinescase=1
--indentcase=0
//--insertbracescasestats
// TRY-CATCH STATEMENTS
// --------------------
--spacecatch=1
--linetermcatch=0
--spacefinally=1
--linetermfinally=0
// WHITE SPACE
// -----------
//--lineterm
// BLANK LINES
// -----------
//--blanklinescompilationunit=0
--methodblanklines=1
--declblanklinesstat=0
--statblanklinesdecl=0
--blanklinescomment=1
--sectionblanklines=2
--classblanklines=2
//--enumconstantblanklinesdecl=1
// SPACES
// ------
//--keywordspace=1
--keywordspaceopenparen=1
--keywordlinetermopenparen=0
--methodnamespace=0
--spacecomma=0
--commaspace=1
--spacesemicolon=0
--semicolonspace=1
--spacecolon=0
--colonspace=1
--assignspace=1
--spaceassign=1
--dotspace=0
--spacedot=0
--prefixopspace=0
--infixopspace=1
--spaceinfixop=1
--spacepostfixop=0
--spaceopenbracket=0
--castspace=1
--castopenparenspace=0
--castspacecloseparen=0
//--castopenparenlineterm=0
//--castlinetermcloseparen=0
//--castlinetermopenparen=0
//--castcloseparenlineterm=0
//--castspaceopenparen=0
//--castcloseparenspace=0
//--statopenparenlineterm=0
//--statlinetermcloseparen=0
//--statcloseparenspace=0
//--statcloseparenlineterm=0
//--castcloseparenspacegroupopenparen=1
--statopenparenspace=0
--statspacecloseparen=0
--groupopenparenspace=0
--groupspacecloseparen=0
//--groupspaceopenparen=0
//--groupcloseparenspace=0
//--groupopenparenlineterm=0
//--grouplinetermcloseparen=0
//--grouplinetermopenparen=0
//--groupcloseparenlineterm=0
--methodopenparenspace=0
--methodspacecloseparen=0
//--methodopenparenlineterm=0
//--methodlinetermcloseparen=0
//--methodcloseparenspace=0
//--methodcloseparenlineterm=0
//--horspaceslineterm
// ANNOTATIONS
// -----------
//--annotationatspace=0
//--annotationatlineterm=0
//--annotationspaceopenparen=0
//--annotationlinetermopenparen=0
//--annotationopenparenspace=0
//--annotationopenparenlineterm=0
//--annotationspacecloseparen=0
//--annotationlinetermcloseparen=0
//--annotationcloseparenspace=0
//--annotationcloseparenlineterm=0
//--annotationspaceopenbrace=0
//--annotationlinetermopenbrace=0
//--annotationopenbracespace=0
//--annotationopenbracelineterm=0
//--annotationspaceclosebrace=0
//--annotationlinetermclosebrace=0
//--annotationclosebracespace=0
//--annotationclosebracelineterm=0
//--annotationspace=1
//--annotationlineterm=1

View File

@ -1,19 +0,0 @@
@REM
@REM Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://robocode.sourceforge.net/license/epl-v10.html
@REM
@echo off
if not exist "%~dp0\lib" (
mkdir "%~dp0\lib"
)
if not exist "%~dp0\loader\Loader.class" (
javac "%~dp0\loader\Loader.java"
)
java -cp "%~dp0/loader" Loader http://robocode.sourceforge.net/tools/libs/ "%~dp0/lib/" ant.jar ant-contrib-0.6.jar ant-launcher.jar jacobe.jar junit.jar classworlds-1.1.jar maven-2.2.1-uber.jar

Some files were not shown because too many files have changed in this diff Show More