Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
udtn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Georg von Zengen
udtn
Commits
823abf9d
Commit
823abf9d
authored
11 years ago
by
Jens Dede
Browse files
Options
Downloads
Patches
Plain Diff
Fix exported simulation: add jsyntaxpane JAR, start simulation with maximum speed
parent
2ab63554
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/cooja/java/org/contikios/cooja/util/ExecuteJAR.java
+11
-2
11 additions, 2 deletions
tools/cooja/java/org/contikios/cooja/util/ExecuteJAR.java
with
11 additions
and
2 deletions
tools/cooja/java/org/contikios/cooja/util/ExecuteJAR.java
+
11
−
2
View file @
823abf9d
...
...
@@ -187,7 +187,15 @@ public class ExecuteJAR {
logger
.
info
(
"Starting simulation"
);
Cooja
.
setLookAndFeel
();
Cooja
.
quickStartSimulationConfig
(
new
File
(
executeDir
,
SIMCONFIG_FILENAME
),
false
,
null
);
Simulation
sim
=
Cooja
.
quickStartSimulationConfig
(
new
File
(
executeDir
,
SIMCONFIG_FILENAME
),
false
,
null
);
if
(
sim
!=
null
){
/* Set simulation speed to maximum and start simulation */
sim
.
setSpeedLimit
(
null
);
sim
.
startSimulation
();
}
else
{
logger
.
fatal
(
"Cannot load simulation, aborting"
);
System
.
exit
(
1
);
}
}
/**
...
...
@@ -284,7 +292,8 @@ public class ExecuteJAR {
/* Unpacking COOJA core JARs */
String
[]
coreJARs
=
new
String
[]
{
"tools/cooja/lib/jdom.jar"
,
"tools/cooja/lib/log4j.jar"
,
"tools/cooja/dist/cooja.jar"
"tools/cooja/lib/jdom.jar"
,
"tools/cooja/lib/log4j.jar"
,
"tools/cooja/dist/cooja.jar"
,
"tools/cooja/lib/jsyntaxpane.jar"
};
for
(
String
jar:
coreJARs
)
{
File
jarFile
=
new
File
(
Cooja
.
getExternalToolsSetting
(
"PATH_CONTIKI"
),
jar
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment