Comments (9)
gradle generates this automatically by running a bootstrap script called "build_all_scripts.xml" which is under the version control.
Have you set the variables in "gradle.properties" ?
from mbeddr.formal.
There is no gradle.properties file in the repo. What parameters are needed?
And from a look at build_all_scripts.xml
, I don't see where the build-nusmv-languages.xml
file is built. Is it created from within MPS code?
Edit:
I have set mpsHomeDir
and mbeddr.formal.home
in gradle.properties. No effect.
Also, I can successfully run ./gradlew build_allScripts
, but no scripts are output in the build/scripts directory.
Second Edit: I see now that the file is created in code/languages/com.mbeddr.formal.nusmv/solutions/com.mbeddr.formal.nusmv.build/models/com.mbeddr.formal.nusmv.build.mps
. I'll try to debug further why this isn't being created on my machine.
from mbeddr.formal.
there is a gradle.properties.example file in the root - please rename it into gradle.properties and set the variables.
build-nusmv-languages.xml is generated from MPS by the build-allScripts script
(you can generate them manually and build everything my opening the nusmv project)
@BentleyJOakes please let me know if it works ...
from mbeddr.formal.
I've opened the code/languages/com.mbeddr.formal.nusmv project in MPS.
As a note to anyone trying this, the path variable mbeddr.formal.home
must be set in Settings->Appearance & Behavior->Path Variables.
Most of the Languages and Solutions in the nusmv project have build errors.
When I try to run model check on all the languages, I receive the following Exception:
java.lang.IllegalArgumentException : Illegal parameter : com.mbeddr.mpsutil.blutil.structure.SafeReadAction is not a subconcept of jetbrains.mps.baseLanguage.structure.ILocalVariableElement [node r:6e82d8d0-32f5-4302-ba79-fcd365c09c01(com.mbeddr.formal.base.operatorspanel.editor)/2707707741267927230]
Another issue:
When I rebuild com.mbeddr.formal.base (just as a starting point), I get the error
Can't find imported model: de.itemis.mps.editor.celllayout.runtime.cells
A third issue:
When I try to rebuild the build script (com.mbeddr.formal.allScripts) I get the error
Can't find imported model: com.mbeddr.mpsutil.dev.build
Am I missing a dependency?
from mbeddr.formal.
@BentleyJOakes thank you for this feedback!
Most likely you are missing the mbeddr.platform plugins. I have updated the readme description about how to build FASTEN from within MPS.
https://github.com/mbeddr/mbeddr.formal/blob/master/README.md
Please let me know if it works.
from mbeddr.formal.
Thank you!
Issues found:
- I had an error marked by MPS in
com.mbeddr.formal.allScripts.build.allScripts.com.mbeddr.formal.allScripts
I had to add the last three lines here.
solution com.mbeddr.formal.nusmv.build (7125ed76-a460-4b0f-b95b-a899f99488d6)
load from $mbeddr.formal.nusmv.code/solutions/com.mbeddr.formal.nusmv.build/com.mbeddr.formal.nusmv.build.msd
content:
(with sources)
resources files from $mbeddr.formal.home/code/languages/com.mbeddr.formal.nusmv/solutions/com.mbeddr.formal.nusmv.build
includes icons/**
dependencies:
(extracted) jetbrains.mps.ide.build
(extracted) JDK
(extracted) de.itemis.mps.extensions.build
(extracted) org.apache.commons
(extracted) com.mbeddr.platform
In com.mbeddr.formal.nusmv.build.com.mbeddr.formal.nusmvTests, I had to add two macro lines
folder dependencies.root = $mbeddr.formal.home/build/dependencies
folder dependencies.mbeddr.platform = $dependencies.root/com.mbeddr.platform
In com.mbeddr.formal.nusmv.build.com.mbeddr.formal.nusmv, I had to add two dependencies (the last two lines):
idea plugin com.mbeddr.formal.nusmv from generated by default 'plugin.xml' descriptor file
name com.mbeddr.formal.nusmv
short (folder) name com.mbeddr.formal.nusmv
version ${version}
content:
com.mbeddr.formal.nusmv
com.mbeddr.formal.nusmv.devkit
dependencies:
jetbrains.mps.core
de.slisson.mps.tables
org.apache.commons
com.mbeddr.mpsutil
- Your path to mps.home is hard-coded in these files. Perhaps it should also be a path variable?
com.mbeddr.formal.allScripts.build.allScripts.com.mbeddr.formal.allScripts
com.mbeddr.formal.nusmv.build.com.mbeddr.formal.nusmv
com.mbeddr.formal.nusmv.build.com.mbeddr.formal.nusmvDistribution
com.mbeddr.formal.nusmv.build.com.mbeddr.formal.nusmvTests
from mbeddr.formal.
On my machine these dependencies are in place. Only the path to "mps_home" should differ from a machine to another.
Does the gradlew based build work on your machine?
from mbeddr.formal.
Yes, now the gradlew build is working. I've just opened my built version of FASTEN and am testing it.
Edit: Everything works fine in the built FASTEN. Thanks for your quick responses.
from mbeddr.formal.
from mbeddr.formal.
Related Issues (20)
- Errors in Spin Module HOT 1
- Error: cannot find exported languages in dependencies: com.mbeddr.formal.req.tl_patterns.arch HOT 1
- Array access HOT 1
- Mapping of connections while flattening does not work for structs
- Recursive flattening of connections with structs
- Missing type inference for PortRef
- GSN: show text of referenced goal in away goal HOT 2
- Include testing in github actions HOT 1
- Request for Adding Support for NuXMV HOT 2
- Textgen for ocra language HOT 1
- Enum type for ocra
- Constraining ocra expressions
- Snapshot 2020-07-28 zip contains paths that are too long HOT 2
- changes in core analyes HOT 2
- Signed and unsigned word not permitted as type HOT 2
- Unable to change case expression's auto-generated "otherwise" basic expression HOT 1
- Documentation error for enabling FSM visualization
- MPS 2021.3.5 based release from 2022-01-09 desn't run HOT 10
- Build error when running gradlew on Ubuntu 20.04 HOT 5
- Build failure with message "Could not get unknown property 'gpr.user' for root project 'mbeddr.formal'" HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbeddr.formal.