meta model changes

44 views
Skip to first unread message

Konstantin Sabadir

unread,
Jul 19, 2013, 12:19:41 PM7/19/13
to fornax-...@googlegroups.com
I'm trying to migrate my old sculptor-based project to sculptor 3/Eclipse 4.3 and what i currently need is some meta model changes. 
I found the following snippet in the new developers guide:
I don't know, what modules should I check out, so i checked out following modules: 

eclipse-library
eclipse-repository
org.sculptor.dsl
org.sculptor.dsl.feature
org.sculptor.dsl.tests
org.sculptor.dsl.ui
sculptor-active-annotation
sculptor-active-annotation-test
sculptor-distribution
sculptor-eclipse
sculptor-framework
sculptor-framework-main
sculptor-framework-mongodb
sculptor-framework-test
sculptor-generator
sculptor-generator-core
sculptor-parent
sculptor-generator-dependencies
sculptor-metamodel

I have a couple of errors in these modules:
1) XXX cannot be resolved to a type (e.g. AbstractSculptordslRuntimeModule)
  It seems that the class should be in the same module, but i can't find it
2) Dsl* cannot be resolved to a type (e.g. DslApplication)
  I suppose these classes must be somehow generated.
3) "Bundle 'XXX' cannot be resolved" in MANIFEST.MF (e.g. org.eclipse.core.resources.source)
  Missing Eclipse Plugins? It's not always easy to identify, what bundle belongs to what plugin.
4) "Package 'XXX' does not exist in this plug-in" in MANIFEST.MF (e.g. package org.sculptor.dsl.ui.internal in org.sculptor.dsl.ui)
  If i create a empty package, the error disappears
5) "Plugin execution not covered by lifecycle configuration: org.fornax.toolsupport:fornax-oaw-m2-plugin:3.4.0:run-workflow (execution: default, phase: generate-sources)" in sculptor-metamodel

Can anyone give me some tips?

Torsten Juergeleit

unread,
Jul 19, 2013, 1:42:41 PM7/19/13
to fornax-...@googlegroups.com
I found the following snippet in the new developers guide:

 The current version the Sculptor 3 Developer Guide is a plain copy from the Sculptor 2.x one (which uses Xtext 1.x) and needs to be updated for Xtext / Xtend 2.4.x.


Can anyone give me some tips?

Ok, here we go:
    1. creating a local clone of the project (e.g. via "git clone https://github.com/sculptor/sculptor.git")
    2. import all projects in Eclipse via m2e (disable Eclipses automatic before importing -> the projects are built from commandline outside of Eclipse)
    3. create the local Eclipse mirror and build the project as described here (outdated README)
At the end of the day Sculptor 3.0.0 is currently "work in process". As long as the corresponding documentation is not finished you have to read through the various Sculptor3-related posts in the forum (e.g. here or here) and the Developer Guide of Sculptor 2.

/Torsten


Torsten Juergeleit

unread,
Jul 22, 2013, 5:06:13 AM7/22/13
to fornax-...@googlegroups.com
Can anyone give me some tips?

The project website provides additional documentation on Sculptor development now.
Please check if the description of Sculptors development environment is helpful here.


/Torsten

On Friday, 19 July 2013 18:19:41 UTC+2, Konstantin Sabadir wrote:

Konstantin Sabadir

unread,
Jul 24, 2013, 10:10:15 AM7/24/13
to fornax-...@googlegroups.com
Thank you for quick answers.

Plugin export works now.

Here's what I have so far:
1/2) fixed (GenerateSculptorDsl.mwe2 -> Run as -> MWE2 Workflow)
3/4) irrelevant? (plugin export still works with these errors)
5) m2e problem, fixed (Quick fix -> lifecycle mapping)

Torsten Juergeleit

unread,
Jul 25, 2013, 4:48:03 AM7/25/13
to fornax-...@googlegroups.com
Plugin export works now.

Are you trying to build Sculptor3s Eclipse plugin from within Eclipse via PDE?

Using PDE isn't the way Sculptor3 is built. Instead a Maven-based build is started from the command line. This Maven build is using Eclipse Tycho to create all the eclipse-related artifacts (plugin, feature, p2 repository, ...).

/Torsten
Reply all
Reply to author
Forward
0 new messages