Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
mbe-tools
TTool
Commits
df3c7606
Commit
df3c7606
authored
7 years ago
by
Fabien Tessier
Browse files
Options
Downloads
Patches
Plain Diff
Make directory name static in SpecConfigTTool
parent
24318d75
No related branches found
No related tags found
2 merge requests
!30
Merge project manager into master
,
!29
Resolve "Implement Project Management in TTool"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/common/SpecConfigTTool.java
+14
-6
14 additions, 6 deletions
src/main/java/common/SpecConfigTTool.java
with
14 additions
and
6 deletions
src/main/java/common/SpecConfigTTool.java
+
14
−
6
View file @
df3c7606
...
...
@@ -42,8 +42,16 @@ public class SpecConfigTTool {
public
static
String
AVATARExecutableSoclibCodeCompileCommand
=
""
;
public
static
String
AVATARExecutableSoclibCodeExecuteCommand
=
""
;
public
static
String
AVATARExecutableSoclibCodeTraceCommand
=
""
;
public
static
String
TMLCodeDirectory
=
""
;
private
static
String
ProjectSystemCCodeDirectory
=
"/c++_code/"
;
private
static
String
ProjectCCodeDirectory
=
"/c_code/"
;
private
static
String
ProjectProVerifCodeDirectory
=
"/proverif/"
;
private
static
String
ProjectAVATARExecutableCodeDirectory
=
"/AVATAR_executablecode/"
;
private
static
String
ProjectAVATARMPSoCCodeDirectory
=
"/MPSoC/"
;
private
static
String
ProjectTMLCodeDirectory
=
"/tmlcode/"
;
public
static
int
lastPanel
=
-
1
;
public
static
int
lastTab
=
-
1
;
...
...
@@ -71,12 +79,12 @@ public class SpecConfigTTool {
}
public
static
void
setDirConfig
(
File
dir
)
{
SystemCCodeDirectory
=
dir
.
getAbsolutePath
()
+
"/c++_code/"
;
CCodeDirectory
=
dir
.
getAbsolutePath
()
+
"/c_code/"
;
ProVerifCodeDirectory
=
dir
.
getAbsolutePath
()
+
"/proverif/"
;
AVATARExecutableCodeDirectory
=
dir
.
getAbsolutePath
()
+
"/
AVATAR
_e
xecutable
c
ode
/"
;
AVATARMPSoCCodeDirectory
=
dir
.
getAbsolutePath
()
+
"/MPSoC/"
;
TMLCodeDirectory
=
dir
.
getAbsolutePath
()
+
"/tmlcode/"
;
SystemCCodeDirectory
=
dir
.
getAbsolutePath
()
+
ProjectSystemCCodeDirectory
;
CCodeDirectory
=
dir
.
getAbsolutePath
()
+
ProjectCCodeDirectory
;
ProVerifCodeDirectory
=
dir
.
getAbsolutePath
()
+
ProjectProVerifCodeDirectory
;
AVATARExecutableCodeDirectory
=
dir
.
getAbsolutePath
()
+
Project
AVATAR
E
xecutable
C
ode
Directory
;
AVATARMPSoCCodeDirectory
=
dir
.
getAbsolutePath
()
+
ProjectAVATARMPSoCCodeDirectory
;
TMLCodeDirectory
=
dir
.
getAbsolutePath
()
+
ProjectTMLCodeDirectory
;
SystemCCodeCompileCommand
=
ConfigurationTTool
.
SystemCCodeCompileCommand
.
replace
(
ConfigurationTTool
.
SystemCCodeDirectory
,
SystemCCodeDirectory
);
SystemCCodeExecuteCommand
=
ConfigurationTTool
.
SystemCCodeExecuteCommand
.
replace
(
ConfigurationTTool
.
SystemCCodeDirectory
,
SystemCCodeDirectory
);
...
...
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