Standalone IDE Dependency issue with build scripts
I am attempting to create a small language based off the Calculator example to learn how to create a Standalone IDE and build scripts. I am new to MPS.
I keep getting the following error in my build script and I can't figure out how to resolve the dependency. I am hoping someone here can help me.
Here is the entire build script:
build ProjectDecaf generates build.xml
base directory: ../../ [JComponent javax.swing.JButton[,513,48,20x20,alignmentX=0.0,alignmentY=0.5,border=com.intellij.ide.ui.laf.intellij.WinIntelliJButtonBorder@11227dea,flags=296,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=20,height=20],defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=com.intellij.util.ui.JBInsets$JBInsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=...,defaultCapable=true] ]
use plugins:
java
mps
macros:
var date = date yyyyMMdd
var build.number = ProjectDecaf-172.SNAPSHOT
folder mps_home = <no defaultPath>
dependencies:
mpsStandalone (artifacts location $mps_home)
mpsMakePlugin (artifacts location $mps_home/plugins)
mps (artifacts location $mps_home)
project structure:
idea branding
version
codename ProjectDecaf
1.0.<no bugfixNr>, eap false
company <no company>
build number ${build.number}, date ${date}
logo splash screen ./icons/splash.png
textcolor 002387
progressColor <no progressColor>
progressX <no progressX>
progressY <no progressY>
progressHeight <no progressHeight>
about screen ./icons/about.png
foreground <no foreground>
copyrightForeground <no copyrightForeground>
linkColor <no linkColor>
logoX <no logoX>
logoY <no logoY>
logoW <no logoW>
logoH <no logoH>
icons
16x16 ./icons/MPS16.png
32x32 ./icons/MPS32.png
32x32 opaque ./icons/MPS32.png
128x128 <no icon128>
icon <no icon>
icon toolWindow <no iconToolWindow>
names
name ProjectDecaf
full name ProjectDecaf
welcome screen ./icons/logo.png
editor background-url default background
plugins <no plugins>
<no updateWebsite>
<no help>
documentation <no documentation>
support <no support>
feedback url <no feedbackUrl>
whats new <no whatsnew>
<no keymap>
third-party <no thirdparty>
custom elements
<< ... >>
<no stats>
idea plugin ProjectDecaf
name ProjectDecaf
short (folder) name ProjectDecaf
description <no description>
version 1.0
<< no vendor >>
content:
ProjectDecaf
dependencies:
jetbrains.mps.core
<< ... >>
mps group ProjectDecaf
solution Decaf2.runtime
load from ./languages/Decaf2/runtime/Decaf2.runtime.msd
language Decaf2
load from ./languages/Decaf2/Decaf2.mpl
default layout:
import mpsStandalone::languages
import mpsStandalone::license
folder bin
import files from mpsStandalone::bin
include log.xml
include log4j.dtd
file $mps_home/bin/idea.properties
replace regex "\.MPS(\w+)" /g -> \.${build.number}
folder lib
import files from mpsStandalone::lib
exclude MPS-src.zip
exclude branding.jar
jar branding.jar
files of idea branding ProjectDecaf
folder plugins
import mpsStandalone::plugins/cvsIntegration
import mps::plugins/svn4idea
import mps::plugins/git4idea
import mpsStandalone::plugins/mps-core
plugin ProjectDecaf
<empty>
properties file build.number
build.number = ${build.number}
date = ${date}
version = 1.0
<<additional aspects>>
C:/Users/dwalk/MPSProjects/ProjectDecaf
Please sign in to leave a comment.
https://mps-support.jetbrains.com/hc/en-us/community/posts/205829449/comments/205731245
The link above helped to solve the issue by using Optimize Imports.