Commit 06a7e2c3 authored by Erwan Bousse's avatar Erwan Bousse
Browse files

Versionning everything

parent cf54973e
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="treemetamodelextension" nsURI="http://treemetamodelextension/1.0"
nsPrefix="treemetamodelextension">
<eClassifiers xsi:type="ecore:EClass" name="X"/>
</ecore:EPackage>
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_WeRS0ImtEeOfEZ4B4N-TPg" type="EcoreTools" name="TreeMetamodelExtension" measurementUnit="Pixel">
<children xmi:type="notation:Node" xmi:id="_W1NzMImtEeOfEZ4B4N-TPg" type="1001">
<children xmi:type="notation:Node" xmi:id="_W1PBUImtEeOfEZ4B4N-TPg" type="4001"/>
<children xmi:type="notation:Node" xmi:id="_W1QPcImtEeOfEZ4B4N-TPg" type="5001">
<styles xmi:type="notation:DrawerStyle" xmi:id="_W1QPcYmtEeOfEZ4B4N-TPg"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_W1QPcomtEeOfEZ4B4N-TPg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_W1QPc4mtEeOfEZ4B4N-TPg"/>
</children>
<children xmi:type="notation:Node" xmi:id="_W1Q2gImtEeOfEZ4B4N-TPg" type="5002">
<styles xmi:type="notation:DrawerStyle" xmi:id="_W1Q2gYmtEeOfEZ4B4N-TPg"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_W1Q2gomtEeOfEZ4B4N-TPg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_W1Q2g4mtEeOfEZ4B4N-TPg"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_W1NzMYmtEeOfEZ4B4N-TPg" fontColor="4210752" fontName="Cantarell" fontHeight="10" fillColor="13761016" lineColor="8421504"/>
<element xmi:type="ecore:EClass" href="TreeMetamodelExtension.ecore#//X"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_W1NzMomtEeOfEZ4B4N-TPg" x="200" y="111"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_WeRS0YmtEeOfEZ4B4N-TPg"/>
<element xmi:type="ecore:EPackage" href="TreeMetamodelExtension.ecore#/"/>
</notation:Diagram>
#
pluginName = TreeMetamodel Model
providerName = www.example.org
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated TreeMetamodel -->
<package
uri="http://treemetamodel/1.0"
class="treemetamodel.TreemetamodelPackage"
genModel="model/TreeMetamodel.genmodel"/>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated TreeMetamodel -->
<package
uri="http://treemetamodelextension/1.0"
class="treemetamodelextension.TreemetamodelextensionPackage"
genModel="model/TreeMetamodel.genmodel"/>
</extension>
</plugin>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.inria.diverse.cloning.benchmark.common</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: BenchmarkBase2
Bundle-SymbolicName: fr.inria.diverse.cloning.benchmark.common
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: fancyemfcloning.benchmark.base
Require-Bundle: org.eclipse.emf.ecore,
fr.inria.diverse.cloning.cloner;bundle-version="0.1.0"
Import-Package: fr.inria.diverse.cloning.cloner.common
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.
package fancyemfcloning.benchmark.base;
import java.util.List;
import fr.inria.diverse.cloning.cloner.common.CloningMaterial;
public interface BenchmarkMaterial {
public List<String> getMetamodelsName();
public List<String> getCloningNames();
public ModelCreator getModelCreator(String metamodelName);
public CloningMaterial getCloningMaterial(String metamodelName, String cloningName);
public MetamodelMetrics getMetrics(String metamodelName);
}
package fancyemfcloning.benchmark.base;
public class MetamodelMetrics {
private int numberOfProperties;
private int numberOfReferences;
private int numberOfAttributes;
private int numberOfMutableProperties;
private int numberOfMutableReferences;
private int numberOfMutableAttributes;
private int numberOfClasses;
public MetamodelMetrics(int numberOfProperties, int numberOfReferences, int numberOfAttributes,
int numberOfMutableProperties, int numberOfMutableReferences, int numberOfMutableAttributes,
int numberOfClasses) {
super();
this.numberOfProperties = numberOfProperties;
this.numberOfReferences = numberOfReferences;
this.numberOfAttributes = numberOfAttributes;
this.numberOfMutableProperties = numberOfMutableProperties;
this.numberOfMutableReferences = numberOfMutableReferences;
this.numberOfMutableAttributes = numberOfMutableAttributes;
this.numberOfClasses = numberOfClasses;
}
public int getNumberOfProperties() {
return numberOfProperties;
}
public int getNumberOfReferences() {
return numberOfReferences;
}
public int getNumberOfAttributes() {
return numberOfAttributes;
}
public int getNumberOfMutableProperties() {
return numberOfMutableProperties;
}
public int getNumberOfMutableReferences() {
return numberOfMutableReferences;
}
public int getNumberOfMutableAttributes() {
return numberOfMutableAttributes;
}
public int getNumberOfClasses() {
return numberOfClasses;
}
public String toJavaConstruct() {
return "new " + this.getClass().getSimpleName() + "(" + numberOfProperties + "," + numberOfReferences + ","
+ numberOfAttributes + "," + numberOfMutableProperties + "," + numberOfMutableReferences + ","
+ numberOfMutableAttributes + "," + numberOfClasses + ")\n";
}
}
package fancyemfcloning.benchmark.base;
import org.eclipse.emf.ecore.resource.ResourceSet;
public abstract class ModelCreator {
int size = -1;
public abstract ResourceSet createTreeModel();
public void setMemorySize(int size) {
this.size = size;
}
public int getMemorySize() {
return size;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="lib" path="lib/commons-io-1.4.jar"/>
<classpathentry exported="true" kind="lib" path="lib/slf4j-api-1.6.6.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jopt-simple-4.6.jar"/>
<classpathentry exported="true" kind="lib" path="lib/zt-zip-1.7.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" output="target/classes" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.inria.diverse.cloning.benchmark.materialgenerator</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
encoding//testdata/shareAttributes.ecore=UTF-8
encoding//testdata/shareAttributes.ecorediag=UTF-8
encoding//testdata/simple1.ecore=UTF-8
encoding//testdata/simple1.ecorediag=UTF-8
encoding//testdata/simple2.ecore=UTF-8
encoding//testdata/simple2.ecorediag=UTF-8
encoding//testdata/welldesigned.ecore=UTF-8
encoding//testdata/welldesigned.ecorediag=UTF-8
encoding//testdata/welldesigned2roots.ecorediag=UTF-8
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.7
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment