Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mamba - Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reiner Jung
Mamba - Core
Commits
29aec9ad
Commit
29aec9ad
authored
12 years ago
by
bes
Browse files
Options
Downloads
Patches
Plain Diff
* small bugfixes
parent
cd506d90
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mamba-core/src/main/java/mamba/mee/DefaultModelManager.java
+9
-8
9 additions, 8 deletions
mamba-core/src/main/java/mamba/mee/DefaultModelManager.java
mamba-core/src/main/java/mamba/mee/MeasurementApplication.java
+1
-10
1 addition, 10 deletions
...-core/src/main/java/mamba/mee/MeasurementApplication.java
with
10 additions
and
18 deletions
mamba-core/src/main/java/mamba/mee/DefaultModelManager.java
+
9
−
8
View file @
29aec9ad
...
...
@@ -19,18 +19,19 @@
package
mamba.mee
;
import
org.eclipse.emf.ecore.EObject
;
import
org.eclipse.emf.ecore.impl.EObjectImpl
;
/**
*
*
* @author bes
*/
public
class
DefaultModelManager
extends
AbstractModelManager
{
@Override
public
Class
<?
extends
EObject
>[]
getSupportedScopes
()
{
final
Class
<?
extends
EObject
>[]
result
=
new
Class
[
1
];
result
[
0
]
=
EObject
.
class
;
@Override
public
Class
<?
extends
EObject
>[]
getSupportedScopes
()
{
final
Class
<?
extends
EObject
>[]
result
=
new
Class
[
1
];
result
[
0
]
=
EObject
Impl
.
class
;
return
result
;
}
}
}
This diff is collapsed.
Click to expand it.
mamba-core/src/main/java/mamba/mee/MeasurementApplication.java
+
1
−
10
View file @
29aec9ad
...
...
@@ -49,15 +49,7 @@ public class MeasurementApplication {
*/
public
static
void
main
(
final
String
[]
args
)
{
try
{
Thread
.
sleep
(
10000
);
}
catch
(
final
InterruptedException
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
System
.
out
.
println
(
"start"
);
final
long
start
=
System
.
currentTimeMillis
();
try
{
if
(
args
.
length
<
3
)
{
if
(
args
.
length
<
4
)
{
System
.
out
.
println
(
"You need at least 4 arguments:"
);
System
.
out
.
println
(
"arg[0]: path to the smm instance"
);
System
.
out
.
println
(
"arg[1]: comma separated list of requested "
...
...
@@ -99,7 +91,6 @@ public class MeasurementApplication {
props
,
requestedMeasures
);
controller
.
execute
();
controller
.
waitForCompletion
();
System
.
out
.
println
(
System
.
currentTimeMillis
()
-
start
);
}
catch
(
final
Exception
ex
)
{
_log
.
log
(
Level
.
SEVERE
,
"An error occured: "
+
ex
.
getMessage
(),
ex
);
System
.
err
.
println
(
"An error occured: "
+
ex
.
getMessage
());
...
...
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