#squall源代码管理转为eclipse java工程形式
curl https:
//bintray
.com
/sbt/rpm/rpm
|
sudo
tee
/etc/yum
.repos.d
/bintray-sbt-rpm
.repo
yum
install
sbt -y
cd
~/.sbt
/0
.13
mkdir
plugins
cd
plugins
echo
'addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "3.0.0")'
> plugins.sbt
cd
/opt/code
git clone https:
//github
.com
/epfldata/squall
.git
sbt eclipse
|
#下载eclipse并通过菜单Help/Eclipe Marketplace配置好scala插件,然后通过菜单File/Import/General/Existing Projects into Workspace导入squall源码
#代码导入后可能出现scala版本不兼容问题,这样解决:
#在Package Explorer中选中出现问题的Project,然后在菜单Project/Properties/Scala Compiler/Build Manager中禁用#withVersionClasspathValidator