首页 > 代码库 > 给Eclipse安装eUML2插件以及可能出现的依赖错误解决方案(转)

给Eclipse安装eUML2插件以及可能出现的依赖错误解决方案(转)

eUML2是一款强大的,基于Eclipse应用程序的UML建模工具.开发者可以在UML开发过程中将模型转化为Java代码:确保软件质量和减少开发时间。

 

必备条件

 

  • Java runtime 1.5 or + for Galileo/eclipse 3.5.x
  • Java runtime 1.5 or + for Helios/eclipse 3.6.x

我们建议用户按以下参数设置eclipse.ini 文件:

 

 

-vmargs
-Xms90m
-Xmx456m
-XX:PermSize=128m


 

打开Eclipse更新管理器 通过以下步骤Help -> install Softwares  -> Available site

在地址栏输入http://www.soyatec.com/update,回车后,可以看到可以下载的插件

全部勾选之后下一步安装即可

 

参考网址:http://www.soyatec.cn/euml2/installation/

 

有可能出现的错误如下:

Cannot complete the install because one or more required items could not be found. 
  Software being installed: eUML2 Free Edition 3.6.0.20110120 (com.soyatec.euml2.free.feature.group 3.6.0.20110120) 
  Missing requirement: eUML2 Free Edition 3.6.0.20110120 (com.soyatec.euml2.free.feature.group 3.6.0.20110120) requires ‘org.eclipse.uml2.feature.group [3.0.0.v200906011111,4.0.0)‘ but it could not be found

 

解决方案:

【0】 Help > Install New Software…
【1】 Add the Galileo update site (if you don’t already have it): http://download.eclipse.org/releases/galileo
【2】 Expand ‘Modeling’, and select:

1) ‘EMF – Eclipse Modeling Framework SDK’

2) ‘Graphical Modeling Framework SDK’

【3】 Click ‘Next’ and complete the update installation.
【4】 When prompted, restart Eclipse.
【5】 Add the update site:http://www.soyatec.com/update/galileo and install the required version.
【6】 Restart Eclipse.

 

参考网址:http://kittivong.wordpress.com/2010/01/04/euml2-free-edition-with-galileo/

 

另外一个解决方案:

for win7 x64 + eUML2 Free Edition 3.6.0.20110120 + required plugins for Helios/Eclipse 3.6.x 

1/ install eclipse 
2/ install new plugin : help > install new software 
select work with : Helios - http://download.eclipse.org/releases/helios 
write EMF in field below work with 
install EMF - Eclipse Modeling Framework SDK 
restart eclipse 
3/ install new plugin : help > install new software 
select work with : Helios - http://download.eclipse.org/releases/helios 
write GMF in field below work with 
install Graphical Modeling Framework (GMF) Runtimes 
restart eclipse 
3/ download 
eUML2-free-Edition-3.6.0.20110120+dependencies_for_eclipse3.6.zip 
from eUML2 website 
in eclipse install new plugin : help > install new software 
click add > archive and browse to your downloaded file 
follow installation process 
restart 
your done 

Maybe another way is to do (but I did not try it) for step 3/ 
clic add 
enter http://www.soyatec.com/update/galileo/ 
follow installation process 
restart 

 

参考网址:http://www.soyatec.com/forum/viewtopic.php?t=915&sid=dea07e5b6d2cee4b65287b6c14fb8146