Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[elk-dev] ELK Maven Build

Hi,

the Maven build currently fails while validating Layered.melk:

[INFO] --- xtext-maven-plugin:2.10.0:generate (default) @ org.eclipse.elk.alg.layered ---
[INFO] Encoding: UTF-8
[INFO] Compiler source level: 1.6
[INFO] Compiler target level: 1.6
[INFO] Using common types.
[INFO] Collecting source models.
[INFO] Installing type provider.
[INFO] Generating stubs into /Users/spoenemann/github/elk/git/plugins/org.eclipse.elk.alg.layered/target/xtext-temp/stubs
[INFO] Compiling stubs located in /Users/spoenemann/github/elk/git/plugins/org.eclipse.elk.alg.layered/target/xtext-temp/stubs
[INFO] Installing type provider for stubs.
[INFO] Validate and generate.
[INFO] Starting validation for input: 'Layered.melk'
[ERROR] ERROR:- cannot be resolved. (file:/Users/spoenemann/github/elk/git/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/Layered.melk line : 227 column : 26)
[ERROR] ERROR:- cannot be resolved. (file:/Users/spoenemann/github/elk/git/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/Layered.melk line : 241 column : 26)

The given positions mark the unary minus operator for lower bounds. This should be provided by the org.eclipse.xtext.xbase.lib bundle, which is referenced in the build.properties. Aren’t these additional.bundles considered by Tycho?


In addition, I can’t open any .melk file with my current installation I got with Oomph:

java.lang.IllegalStateException: Unresolved proxy http://www.eclipse.org/elk/MetaData#//MdModel. Make sure the EPackage has been registered.

I suspect this is because the namespace URI was wrong in the plugin.xml of org.eclipse.elk.core.meta, so it might be fixed as soon as the nightly update site is updated again.


I created a PR regarding the version numbers, please have a look:


And finally a question: are there any plans to publish parts of ELK (the core and algorithm bundles) on Maven Central? This is quite easy to do with the Sonatype Open Source services (http://oss.sonatype.org).

Cheers
--
Dr. Miro Spönemann
Software engineer and consultant

TypeFox GmbH
Am Germaniahafen 1, 24143 Kiel

Tel.: +49 151 42679459

Sitz: Kiel, Registergericht: Amtsgericht Kiel, HRB 17385
Geschäftsführer: Sven Efftinge, Dr. Jan Köhnlein, Moritz Eysholdt


Back to the top