为什么不创建“新的xml文件”选项? [英] Why create 'new xml file' option not exist?

查看:185
本文介绍了为什么不创建“新的xml文件”选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Eclipse建模工具 版本:Juno Service Release 2 Build id: 20130225-0426 用于Java编程



所以,我想要创建新的XML文件 ,如以下链接所示:



,并不是所有这些都包含相同的功能开箱即用 - 显然在您的情况下,建模工具软件包不包含XML编辑器和工具插件,因此其中包含的功能(例如,创建xml文件)不可用。他们可以是容易添加,但是如下所示:



我下载了Juno SR2建模工具包,所以应该是


  1. 打开Eclipse ^ _ ^。

  2. 转到:帮助>安装新软件

  3. 在使用字段(组合框)中,选择Juno - http://download.eclipse.org/releases/juno

  4. @type filter texttypexml(不带引号:P)并等待,可能需要一些时间来更新...

  5. 如果不是这样,请确保仅显示可用软件的最新版本,并且按类别分组是

  6. 在项目列表中选择(检查/勾选)Eclipse XML编辑器和工具,然后单击下一步。

  7. Cli再次在下一个屏幕上选择下一步,在下一个屏幕上选择我接受许可协议的条款广播(您可能希望先阅读这些广播),然后单击完成(最后!) 。

  8. 等待插件安装或单击在后台运行,并保持工作(您将无法使用功能,直到安装完成) 。

  9. 当问到重新启动Eclipse。

  10. 恭喜,你现在应该能够按照你的教程中指定的方式创建一个XML文件^ _ ^ !


I am using Eclipse Modeling Tools Version: Juno Service Release 2 Build id: 20130225-0426 for programming in Java

so, I would like to create new XML file as illustrated in the following link:

http://www.tutorialspoint.com/eclipse/eclipse_create_xml_file.htm

but this option not exist as you can see in the following figure.Why? I wonder if I missed something?

解决方案

Yes, well, as you may be aware, there are several different eclipse packages/configuration, each specifically tailored to a specific purpose. And as you can see here, not all of them contain the same features out of the box - apparently in your case, the "Modelling Tools" package does not contain the "XML Editors and Tools" plugin, so the features included in it (e.g., creating xml files) are not available. They can be easily added though, like so:

I downloaded the Juno SR2 "Modelling Tools" package for this, so it should be the same for you.

  1. Open Eclipse ^_^.
  2. Go to: Help > Install New Software
  3. In the "Work with" field (combo box) choose "Juno - http://download.eclipse.org/releases/juno".
  4. @"type filter text" type "xml" (without the quotes :P) and wait, might take some time to update...
  5. If not already like so, make sure "Show only latest versions of available software" is checked and "Group items by category" is unchecked(how i did it).
  6. In the list of items choose (check/tick) "Eclipse XML Editors and Tools" and click "Next".
  7. Click "Next" on the next screen again, the select the "I accept the terms of the license agreement" radio on the next one (you might want to read those first, though :P) and click "Finish" (Finally!).
  8. Wait for the plugin to install or click "Run in background" and keep working while it does (you won't be able to use the features 'til the install is completed though).
  9. When asked restart Eclipse.
  10. Congrats, you should now be able to create an XML File in the way specified in your tutorial ^_^!

这篇关于为什么不创建“新的xml文件”选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆