Commit 178b9440 authored by Erwan Bousse's avatar Erwan Bousse
Browse files

Beggining maveninsation

parent 5ab9e438
#Generated by Maven
#Tue Apr 01 10:52:49 CEST 2014
version=0.1.0-SNAPSHOT
groupId=fr.inria.diverse.cloning
artifactId=fr.inria.diverse.cloning.materialgenerator
<?xml version='1.0' encoding='UTF-8'?>
<?artifactRepository version='1.1.0'?>
<artifacts size='1'>
<artifact classifier='osgi.bundle' id='fr.inria.diverse.cloning.materialgenerator' version='0.1.0.201404010852'>
<properties size='5'>
<property name='artifact.size' value='122137'/>
<property name='download.size' value='122137'/>
<property name='maven-groupId' value='fr.inria.diverse.cloning'/>
<property name='maven-artifactId' value='fr.inria.diverse.cloning.materialgenerator'/>
<property name='maven-version' value='0.1.0-SNAPSHOT'/>
</properties>
</artifact>
</artifacts>
<?xml version='1.0' encoding='UTF-8'?>
<units size='1'>
<unit id='fr.inria.diverse.cloning.materialgenerator' version='0.1.0.201404010852'>
<update id='fr.inria.diverse.cloning.materialgenerator' range='[0.0.0,0.1.0.201404010852)' severity='0'/>
<properties size='4'>
<property name='org.eclipse.equinox.p2.name' value='CloningMaterialGenerator'/>
<property name='maven-groupId' value='fr.inria.diverse.cloning'/>
<property name='maven-artifactId' value='fr.inria.diverse.cloning.materialgenerator'/>
<property name='maven-version' value='0.1.0-SNAPSHOT'/>
</properties>
<provides size='8'>
<provided namespace='org.eclipse.equinox.p2.iu' name='fr.inria.diverse.cloning.materialgenerator' version='0.1.0.201404010852'/>
<provided namespace='osgi.bundle' name='fr.inria.diverse.cloning.materialgenerator' version='0.1.0.201404010852'/>
<provided namespace='java.package' name='fr.inria.diverse.cloning.materialgenerator.generators' version='0.0.0'/>
<provided namespace='java.package' name='fr.inria.diverse.cloning.materialgenerator.metrics' version='0.0.0'/>
<provided namespace='java.package' name='fr.inria.diverse.cloning.materialgenerator.tagger' version='0.0.0'/>
<provided namespace='java.package' name='fr.inria.diverse.cloning.materialgenerator.tagger.impl' version='0.0.0'/>
<provided namespace='java.package' name='fr.inria.diverse.cloning.materialgenerator.util' version='0.0.0'/>
<provided namespace='org.eclipse.equinox.p2.eclipse.type' name='bundle' version='1.0.0'/>
</provides>
<requires size='24'>
<required namespace='osgi.bundle' name='org.eclipse.core.runtime' range='0.0.0'/>
<required namespace='osgi.bundle' name='org.eclipse.gmt.modisco.java.generation' range='0.11.1'/>
<required namespace='osgi.bundle' name='org.eclipse.emf.common' range='0.0.0'/>
<required namespace='osgi.bundle' name='org.eclipse.emf.ecore' range='2.9.1'/>
<required namespace='osgi.bundle' name='org.eclipse.modisco.java.discoverer' range='0.11.1'/>
<required namespace='osgi.bundle' name='org.eclipse.modisco.infra.discovery.core' range='0.11.1'/>
<required namespace='osgi.bundle' name='org.eclipse.core.resources' range='3.8.101'/>
<required namespace='osgi.bundle' name='org.eclipse.jdt.core' range='3.9.1'/>
<required namespace='osgi.bundle' name='org.eclipse.equinox.registry' range='0.0.0'/>
<required namespace='osgi.bundle' name='org.eclipse.gmt.modisco.java' range='0.11.1'/>
<required namespace='osgi.bundle' name='org.eclipse.emf.ecore.xmi' range='2.9.1'/>
<required namespace='osgi.bundle' name='org.eclipse.gmf.runtime.emf.core' range='1.7.0'/>
<required namespace='osgi.bundle' name='fr.inria.diverse.cloning.runtime' range='0.1.0'/>
<required namespace='osgi.bundle' name='org.eclipse.emf.codegen' range='2.9.0'/>
<required namespace='osgi.bundle' name='org.eclipse.emf.codegen.ecore' range='2.9.1'/>
<required namespace='osgi.bundle' name='org.eclipse.jface.text' range='3.8.101'/>
<required namespace='osgi.bundle' name='org.eclipse.ui' range='3.105.0'/>
<required namespace='osgi.bundle' name='org.eclipse.core.variables' range='3.2.700'/>
<required namespace='osgi.bundle' name='org.eclipse.debug.core' range='3.8.0'/>
<required namespace='osgi.bundle' name='org.eclipse.jdt.launching' range='3.7.0'/>
<required namespace='osgi.bundle' name='org.eclipse.debug.ui' range='3.9.0'/>
<required namespace='osgi.bundle' name='org.eclipse.jdt.debug.ui' range='3.6.200'/>
<required namespace='osgi.bundle' name='org.eclipse.ui.ide' range='3.9.1'/>
<required namespace='osgi.bundle' name='org.eclipse.ui.console' range='0.0.0'/>
</requires>
<artifacts size='1'>
<artifact classifier='osgi.bundle' id='fr.inria.diverse.cloning.materialgenerator' version='0.1.0.201404010852'/>
</artifacts>
<touchpoint id='org.eclipse.equinox.p2.osgi' version='1.0.0'/>
<touchpointData size='1'>
<instructions size='1'>
<instruction key='manifest'>
Bundle-SymbolicName: fr.inria.diverse.cloning.materialgenerator;singleton:=true&#xA;Bundle-Version: 0.1.0.201404010852&#xA;
</instruction>
</instructions>
</touchpointData>
</unit>
</units>
......@@ -3,17 +3,16 @@ Bundle-ManifestVersion: 2
Bundle-Name: fr.inria.diverse.cloning.base
Bundle-SymbolicName: fr.inria.diverse.cloning.runtime;singleton:=true
Bundle-Version: 0.1.0.qualifier
Require-Bundle: org.eclipse.emf.ecore,
Require-Bundle: org.eclipse.emf.ecore;bundle-version="2.9.1",
org.eclipse.emf.ecore.xmi;bundle-version="2.9.1",
org.eclipse.ui.console,
org.eclipse.jface;bundle-version="3.9.1"
org.eclipse.ui.console;bundle-version="3.5.200",
org.eclipse.jface;bundle-version="3.9.1",
org.eclipse.ui;bundle-version="3.105.0"
Export-Package: fr.inria.diverse.cloning.runtime.cloner,
fr.inria.diverse.cloning.runtime.cloner.impl,
fr.inria.diverse.cloning.runtime.common,
fr.inria.diverse.cloning.runtime.emfextension,
fr.inria.diverse.cloning.runtime.emfextension.impl,
fr.inria.diverse.cloning.runtime.impl,
fr.inria.diverse.cloning.runtime.util
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-ClassPath: .
Import-Package: org.eclipse.ui,
org.eclipse.ui.handlers
<?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>fr.inria.diverse.cloning.runtime</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<parent>
<groupId>fr.inria.diverse.cloning</groupId>
<artifactId>parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>
</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>fr.inria.diverse.cloning.runtime</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<parent>
<groupId>fr.inria.diverse.cloning</groupId>
<artifactId>fr.inria.diverse.cloning.master</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../fr.inria.diverse.cloning.master/pom.xml</relativePath>
</parent>
</project>
......@@ -22,8 +22,8 @@ public interface Cloner {
* folder
* @return The cloned model.
*/
public ResourceSet clone(ResourceSet model, String folderName,boolean light);
public ResourceSet clone(ResourceSet model, String folderName);//,boolean light);
public ResourceSet clone(ResourceSet cloned, File outputFolder,boolean light);
public ResourceSet clone(ResourceSet cloned, File outputFolder);//,boolean light);
}
package fr.inria.diverse.cloning.runtime.impl;
package fr.inria.diverse.cloning.runtime.cloner.impl;
import java.io.File;
import java.util.Iterator;
......@@ -15,7 +15,6 @@ import fr.inria.diverse.cloning.runtime.cloner.Cloner;
import fr.inria.diverse.cloning.runtime.common.ClassTag;
import fr.inria.diverse.cloning.runtime.common.CloningMaterial;
import fr.inria.diverse.cloning.runtime.common.MetamodelTags;
import fr.inria.diverse.cloning.runtime.emfextension.impl.LooseCopier;
import fr.inria.diverse.cloning.runtime.emfextension.impl.LooseResource;
/**
......@@ -33,18 +32,19 @@ public class ClonerImpl implements Cloner {
cloningMaterial = cm;
}
private ResourceSet clone(ResourceSet cloned, File outputFolder, String folderName, boolean light) {
private ResourceSet clone(ResourceSet cloned, File outputFolder, String folderName) {//, boolean light) {
// Creating empty clone resource set
ResourceSet clone = new ResourceSetImpl();
//clone.cre
// Either we make a light clone, or not
Copier copier = null;
/*Copier copier = null;
if (light)
copier = cloningMaterial.createLightCopier();
copier = cloningMaterial.createCopier();
else
copier = new LooseCopier();
copier = new LooseCopier();*/
Copier copier = cloningMaterial.createCopier();
// Getting the tags of the metamodel
MetamodelTags tags = cloningMaterial.getTags();
......@@ -120,13 +120,13 @@ public class ClonerImpl implements Cloner {
}
@Override
public ResourceSet clone(ResourceSet cloned, File outputFolder, boolean light) {
return clone(cloned, outputFolder, "NOTHING", light);
public ResourceSet clone(ResourceSet cloned, File outputFolder) {//, boolean light) {
return clone(cloned, outputFolder, "NOTHING");//, light);
}
@Override
public ResourceSet clone(ResourceSet cloned, String folderName, boolean light) {
return clone(cloned, null, folderName, light);
public ResourceSet clone(ResourceSet cloned, String folderName) {//, boolean light) {
return clone(cloned, null, folderName);//, light);
}
}
\ No newline at end of file
package fr.inria.diverse.cloning.runtime.common;
import fr.inria.diverse.cloning.runtime.emfextension.impl.LooseCopier;
import org.eclipse.emf.ecore.util.EcoreUtil.Copier;
public interface CloningMaterial {
public MetamodelTags getTags();
public LooseCopier createLightCopier();
public Copier createCopier();
}
Manifest-Version: 1.0
Export-Package: fr.inria.diverse.cloning.runtime.cloner,fr.inria.diver
se.cloning.runtime.cloner.impl,fr.inria.diverse.cloning.runtime.commo
n,fr.inria.diverse.cloning.runtime.emfextension,fr.inria.diverse.clon
ing.runtime.emfextension.impl,fr.inria.diverse.cloning.runtime.util
Require-Bundle: org.eclipse.emf.ecore;bundle-version="2.9.1",org.eclip
se.emf.ecore.xmi;bundle-version="2.9.1",org.eclipse.ui.console;bundle
-version="3.5.200",org.eclipse.jface;bundle-version="3.9.1",org.eclip
se.ui;bundle-version="3.105.0"
Bundle-ClassPath: .
Bundle-Version: 0.1.0.201404010852
Bundle-Name: fr.inria.diverse.cloning.base
Bundle-ManifestVersion: 2
Bundle-SymbolicName: fr.inria.diverse.cloning.runtime;singleton:=true
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
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