Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
moclodash
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Erwan BOUSSE
moclodash
Commits
8b0e385f
Commit
8b0e385f
authored
Apr 08, 2014
by
Erwan Bousse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merging changes made after windows testing/building
parent
95159bad
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
481 additions
and
467 deletions
+481
-467
moclodash-evaluation/fr.inria.diverse.cloning.benchmark.materialgenerator/src/fr/inria/diverse/cloning/benchmark/materialgenerator/main/Application.java
...cloning/benchmark/materialgenerator/main/Application.java
+224
-223
moclodash-evaluation/fr.inria.diverse.cloning.benchmark.tool.product/main.product
...inria.diverse.cloning.benchmark.tool.product/main.product
+54
-43
moclodash-evaluation/fr.inria.diverse.cloning.benchmark.tool.product/pom.xml
...n/fr.inria.diverse.cloning.benchmark.tool.product/pom.xml
+83
-48
moclodash-evaluation/fr.inria.diverse.cloning.benchmark.tool/src/fr/inria/diverse/cloning/benchmark/tool/Application.java
.../fr/inria/diverse/cloning/benchmark/tool/Application.java
+64
-53
moclodash-evaluation/pom.xml
moclodash-evaluation/pom.xml
+56
-100
No files found.
moclodash-evaluation/fr.inria.diverse.cloning.benchmark.materialgenerator/src/fr/inria/diverse/cloning/benchmark/materialgenerator/main/Application.java
View file @
8b0e385f
This diff is collapsed.
Click to expand it.
moclodash-evaluation/fr.inria.diverse.cloning.benchmark.tool.product/main.product
View file @
8b0e385f
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product
name=
"Benchmark tool"
uid=
"fr.inria.diverse.cloning.benchmark.tool.product"
id=
"fr.inria.diverse.cloning.benchmark.tool.BenchmarkToolSuite"
application=
"fr.inria.diverse.cloning.benchmark.tool.application"
version=
"0.1.0.qualifier"
useFeatures=
"false"
includeLaunchers=
"true"
>
<configIni
use=
"default"
>
</configIni>
<launcherArgs>
<vmArgs>
-Xms128m -Xmx2048m
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n
</vmArgs>
<vmArgsMac>
-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
</vmArgsMac>
</launcherArgs>
<windowImages/>
<launcher
name=
"cloning-benchmark"
>
<solaris/>
<win
useIco=
"false"
>
<bmp/>
</win>
</launcher>
<vm>
</vm>
<plugins>
<plugin
id=
"fr.inria.diverse.cloning.benchmark.tool"
version=
"0.1.0.qualifier"
/>
<plugin
id=
"org.eclipse.core.runtime"
/>
<plugin
id=
"org.eclipse.swt"
/>
<plugin
id=
"org.eclipse.swt.gtk.linux.x86_64"
fragment=
"true"
/>
</plugins>
<configurations>
<plugin
id=
"org.eclipse.core.runtime"
autoStart=
"true"
startLevel=
"0"
/>
<property
name=
"osgi.instance.area.default"
value=
"benchmarktool-workingdir"
/>
</configurations>
</product>
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product
name=
"Benchmark tool"
uid=
"fr.inria.diverse.cloning.benchmark.tool.product"
id=
"fr.inria.diverse.cloning.benchmark.tool.BenchmarkToolSuite"
application=
"fr.inria.diverse.cloning.benchmark.tool.application"
version=
"0.1.0.qualifier"
useFeatures=
"false"
includeLaunchers=
"true"
>
<configIni
use=
"default"
>
</configIni>
<launcherArgs>
<vmArgs>
-Xms128m -Xmx2048m
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n
</vmArgs>
<vmArgsMac>
-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
</vmArgsMac>
</launcherArgs>
<windowImages/>
<launcher
name=
"cloning-benchmark"
>
<solaris/>
<win
useIco=
"false"
>
<bmp/>
</win>
</launcher>
<vm>
</vm>
<plugins>
<plugin
id=
"fr.inria.diverse.cloning.benchmark.tool"
version=
"0.1.0.qualifier"
/>
<plugin
id=
"org.eclipse.core.runtime"
/>
<!--<plugin id="org.eclipse.swt"/>
<plugin id="org.eclipse.swt.win32.win32.x86_64" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>-->
<plugin
id=
"org.eclipse.swt"
/>
<plugin
id=
"org.eclipse.swt.gtk.linux.x86_64"
fragment=
"true"
/>
<plugin
id=
"org.eclipse.swt.gtk.linux.x86"
fragment=
"true"
/>
<plugin
id=
"org.eclipse.swt.win32.win32.x86"
fragment=
"true"
/>
<plugin
id=
"org.eclipse.swt.win32.win32.x86_64"
fragment=
"true"
/>
<plugin
id=
"org.eclipse.swt.cocoa.macosx.x86_64"
fragment=
"true"
/>
</plugins>
<configurations>
<plugin
id=
"org.eclipse.core.runtime"
autoStart=
"true"
startLevel=
"0"
/>
<property
name=
"osgi.instance.area.default"
value=
"benchmarktool-workingdir"
/>
<plugin
id=
"org.eclipse.swt"
autoStart=
"true"
startLevel=
"0"
/>
</configurations>
</product>
moclodash-evaluation/fr.inria.diverse.cloning.benchmark.tool.product/pom.xml
View file @
8b0e385f
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014 Université de Rennes 1.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Erwan Bousse - initial API and implementation
-->
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fr.inria.diverse.cloning.benchmark
</groupId>
<artifactId>
fr.inria.diverse.cloning.benchmark.tool.product
</artifactId>
<version>
0.1.0-SNAPSHOT
</version>
<packaging>
eclipse-repository
</packaging>
<parent>
<groupId>
fr.inria.diverse.cloning
</groupId>
<artifactId>
moclodash-evaluation
</artifactId>
<version>
0.1.0-SNAPSHOT
</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
tycho-p2-director-plugin
</artifactId>
<version>
${tycho.version}
</version>
<executions>
<execution>
<id>
create-product-distributions
</id>
<goals>
<goal>
materialize-products
</goal>
<goal>
archive-products
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014 Université de Rennes 1.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Erwan Bousse - initial API and implementation
-->
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fr.inria.diverse.cloning.benchmark
</groupId>
<artifactId>
fr.inria.diverse.cloning.benchmark.tool.product
</artifactId>
<version>
0.1.0-SNAPSHOT
</version>
<packaging>
eclipse-repository
</packaging>
<parent>
<groupId>
fr.inria.diverse.cloning
</groupId>
<artifactId>
moclodash-evaluation
</artifactId>
<version>
0.1.0-SNAPSHOT
</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
tycho-p2-director-plugin
</artifactId>
<version>
${tycho.version}
</version>
<executions>
<execution>
<id>
create-product-distributions
</id>
<goals>
<goal>
materialize-products
</goal>
<goal>
archive-products
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
target-platform-configuration
</artifactId>
<configuration>
<environments>
<environment>
<os>
linux
</os>
<ws>
gtk
</ws>
<arch>
x86
</arch>
</environment>
<environment>
<os>
linux
</os>
<ws>
gtk
</ws>
<arch>
x86_64
</arch>
</environment>
<environment>
<os>
win32
</os>
<ws>
win32
</ws>
<arch>
x86
</arch>
</environment>
<environment>
<os>
win32
</os>
<ws>
win32
</ws>
<arch>
x86_64
</arch>
</environment>
<environment>
<os>
macosx
</os>
<ws>
cocoa
</ws>
<arch>
x86_64
</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</project>
moclodash-evaluation/fr.inria.diverse.cloning.benchmark.tool/src/fr/inria/diverse/cloning/benchmark/tool/Application.java
View file @
8b0e385f
package
fr.inria.diverse.cloning.benchmark.tool
;
import
org.eclipse.equinox.app.IApplication
;
import
org.eclipse.equinox.app.IApplicationContext
;
/**
* This class controls all aspects of the application's execution
*/
public
class
Application
implements
IApplication
{
private
static
final
String
MMGEN
=
"mmgen"
;
private
static
final
String
MATGEN
=
"matgen"
;
private
static
final
String
RUN
=
"run"
;
/*
* (non-Javadoc)
*
* @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)
*/
public
Object
start
(
IApplicationContext
context
)
throws
Exception
{
String
[]
args
=
(
String
[])
context
.
getArguments
().
get
(
IApplicationContext
.
APPLICATION_ARGS
);
String
mode
;
if
(
args
.
length
>
0
)
mode
=
args
[
0
];
else
mode
=
"default"
;
switch
(
mode
)
{
case
MMGEN:
fr
.
inria
.
diverse
.
cloning
.
benchmark
.
metamodelsgenerator
.
main
.
Application
.
realMain
(
args
);
break
;
case
MATGEN:
fr
.
inria
.
diverse
.
cloning
.
benchmark
.
materialgenerator
.
main
.
Application
.
realMain
(
args
);
break
;
case
RUN:
fr
.
inria
.
diverse
.
cloning
.
benchmark
.
runner
.
main
.
Application
.
realMain
(
args
);
break
;
default
:
System
.
out
.
println
(
"Please use one of the following modes as first argument: "
+
MMGEN
+
", "
+
MATGEN
+
", "
+
RUN
+
"."
);
break
;
}
return
IApplication
.
EXIT_OK
;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.equinox.app.IApplication#stop()
*/
public
void
stop
()
{
// nothing to do
}
}
package
fr.inria.diverse.cloning.benchmark.tool
;
import
org.eclipse.equinox.app.IApplication
;
import
org.eclipse.equinox.app.IApplicationContext
;
/**
* This class controls all aspects of the application's execution
*/
public
class
Application
implements
IApplication
{
private
static
final
String
MMGEN
=
"mmgen"
;
private
static
final
String
MATGEN
=
"matgen"
;
private
static
final
String
RUN
=
"run"
;
private
static
String
OS
=
System
.
getProperty
(
"os.name"
).
toLowerCase
();
/*
* (non-Javadoc)
*
* @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)
*/
public
Object
start
(
IApplicationContext
context
)
throws
Exception
{
String
[]
args
=
(
String
[])
context
.
getArguments
().
get
(
IApplicationContext
.
APPLICATION_ARGS
);
String
mode
;
if
(
args
.
length
>
0
)
mode
=
args
[
0
];
else
mode
=
"default"
;
switch
(
mode
)
{
case
MMGEN:
fr
.
inria
.
diverse
.
cloning
.
benchmark
.
metamodelsgenerator
.
main
.
Application
.
realMain
(
args
);
break
;
case
MATGEN:
fr
.
inria
.
diverse
.
cloning
.
benchmark
.
materialgenerator
.
main
.
Application
.
realMain
(
args
);
break
;
case
RUN:
fr
.
inria
.
diverse
.
cloning
.
benchmark
.
runner
.
main
.
Application
.
realMain
(
args
);
break
;
default
:
System
.
out
.
println
(
"Please use one of the following modes as first argument: "
+
MMGEN
+
", "
+
MATGEN
+
", "
+
RUN
+
"."
);
break
;
}
if
(
isWindows
())
{
System
.
out
.
println
(
"Press enter to quit."
);
new
java
.
util
.
Scanner
(
System
.
in
).
nextLine
();
}
return
IApplication
.
EXIT_OK
;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.equinox.app.IApplication#stop()
*/
public
void
stop
()
{
// nothing to do
}
private
static
boolean
isWindows
()
{
return
(
OS
.
indexOf
(
"win"
)
>=
0
);
}
}
moclodash-evaluation/pom.xml
View file @
8b0e385f
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fr.inria.diverse.cloning
</groupId>
<artifactId>
moclodash-evaluation
</artifactId>
<version>
0.1.0-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<modules>
<!-- Dependency to the other project -->
<module>
../moclodash
</module>
<!-- Benchmark plugins -->
<module>
fr.inria.diverse.cloning.benchmark.common
</module>
<module>
fr.inria.diverse.cloning.benchmark.metamodelsgenerator
</module>
<module>
fr.inria.diverse.cloning.benchmark.materialgenerator
</module>
<module>
fr.inria.diverse.cloning.benchmark.runner
</module>
<module>
fr.inria.diverse.cloning.benchmark.tool
</module>
<module>
fr.inria.diverse.cloning.benchmark.tool.product
</module>
</modules>
<properties>
<tycho.version>
0.20.0
</tycho.version>
<kepler-repo.url>
http://download.eclipse.org/releases/kepler
</kepler-repo.url>
</properties>
<repositories>
<repository>
<id>
kepler
</id>
<url>
${kepler-repo.url}
</url>
<layout>
p2
</layout>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
tycho-maven-plugin
</artifactId>
<version>
${tycho.version}
</version>
<extensions>
true
</extensions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>
all-platforms
</id>
<build>
<plugins>
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
target-platform-configuration
</artifactId>
<configuration>
<environments>
<environment>
<os>
linux
</os>
<ws>
gtk
</ws>
<arch>
x86
</arch>
</environment>
<environment>
<os>
linux
</os>
<ws>
gtk
</ws>
<arch>
x86_64
</arch>
</environment>
<environment>
<os>
win32
</os>
<ws>
win32
</ws>
<arch>
x86
</arch>
</environment>
<environment>
<os>
win32
</os>
<ws>
win32
</ws>
<arch>
x86_64
</arch>
</environment>
<environment>
<os>
macosx
</os>
<ws>
cocoa
</ws>
<arch>
x86_64
</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fr.inria.diverse.cloning
</groupId>
<artifactId>
moclodash-evaluation
</artifactId>
<version>
0.1.0-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<modules>
<!-- Dependency to the other project -->
<module>
../moclodash
</module>
<!-- Benchmark plugins -->
<module>
fr.inria.diverse.cloning.benchmark.common
</module>
<module>
fr.inria.diverse.cloning.benchmark.metamodelsgenerator
</module>
<module>
fr.inria.diverse.cloning.benchmark.materialgenerator
</module>
<module>
fr.inria.diverse.cloning.benchmark.runner
</module>
<module>
fr.inria.diverse.cloning.benchmark.tool
</module>
<module>
fr.inria.diverse.cloning.benchmark.tool.product
</module>
</modules>
<properties>
<tycho.version>
0.20.0
</tycho.version>
<kepler-repo.url>
http://download.eclipse.org/releases/kepler
</kepler-repo.url>
</properties>
<repositories>
<repository>
<id>
kepler
</id>
<url>
${kepler-repo.url}
</url>
<layout>
p2
</layout>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>
org.eclipse.tycho
</groupId>
<artifactId>
tycho-maven-plugin
</artifactId>
<version>
${tycho.version}
</version>
<extensions>
true
</extensions>
</plugin>
</plugins>
</build>
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment