Skip to content

Commit

Permalink
Adapts GIPSL projects after model renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkratz committed Apr 29, 2024
1 parent 346cff5 commit 5446b6f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion org.emoflon.gips.gipsl.examples.lsp2p/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Require-Bundle: org.emoflon.ibex.common,
org.emoflon.gips.core,
org.emoflon.ibex.gt.democles,
org.emoflon.ibex.gt.hipe,
LectureStudioModel;bundle-version="0.0.1"
LectureStudioModelB;bundle-version="0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package "org.emoflon.gips.gipsl.examples.lsp2p.batch"

import "platform:/resource/LectureStudioModel/model/LectureStudioModel.ecore"
import "platform:/resource/LectureStudioModelB/model/LectureStudioModelB.ecore"
import "http://www.eclipse.org/emf/2002/Ecore"

config {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Require-Bundle: org.emoflon.ibex.common,
org.emoflon.gips.core,
org.emoflon.ibex.gt.democles,
org.emoflon.ibex.gt.hipe,
LectureStudioModel;bundle-version="0.0.1"
LectureStudioModelB;bundle-version="0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package "org.emoflon.gips.gipsl.examples.lsp2p.incremental"

import "platform:/resource/LectureStudioModel/model/LectureStudioModel.ecore"
import "platform:/resource/LectureStudioModelB/model/LectureStudioModelB.ecore"
import "http://www.eclipse.org/emf/2002/Ecore"

config {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import org.emoflon.gips.gipsl.examples.lsp2pInc.api.gips.Lsp2pIncGipsAPI;
import org.emoflon.smartemf.persistence.SmartEMFResourceFactoryImpl;

import LectureStudioModel.LectureStudioModelPackage;
import LectureStudioModel.Network;
import LectureStudioModelB.LectureStudioModelBPackage;
import LectureStudioModelB.Network;
import lsmodel.generator.GenDistribution;
import lsmodel.generator.GenParameter;
import lsmodel.generator.LSGenerator;
Expand Down Expand Up @@ -90,7 +90,7 @@ public static void main(String[] args) {
public static ResourceSet prepareResource(final URI uri) {
ResourceSet rs = new ResourceSetImpl();
rs.getResourceFactoryRegistry().getExtensionToFactoryMap().put("xmi", new SmartEMFResourceFactoryImpl("../"));
rs.getPackageRegistry().put(LectureStudioModelPackage.eNS_URI, LectureStudioModelPackage.eINSTANCE);
rs.getPackageRegistry().put(LectureStudioModelBPackage.eNS_URI, LectureStudioModelBPackage.eINSTANCE);
rs.createResource(uri);
return rs;
}
Expand Down

0 comments on commit 5446b6f

Please sign in to comment.