Java

本类阅读TOP10

·使用MyEclipse开发Struts框架的Hello World!(录像1)
·hibernate配置笔记
·AOP编程入门--Java篇
·linux下Tomcat 5.0.20 与 Apache 2 安装/集成/配置
·在win2003下整合了整合Tomcat5.5+ apache_2.0.53+ mod_jk_2.0.47.dll
·构建Linux下IDE环境--Eclipse篇
·Jsp 连接 mySQL、Oracle 数据库备忘(Windows平台)
·ASP、JSP、PHP 三种技术比较
·Tomcat5.5.9的安装配置
·AWT GUI 设计笔记(二)

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
struts console的使用

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

JamesHolmes.com 是它的网站

Using Struts Console with Eclipse and IBM WebSphere Application Developer

The Struts Console software integrates with Eclipse/WSAD as a Plugin for seamless development of Struts applications in one development tool. Once the Struts Console Plugin for Eclipse/WSAD has been installed, you can manage Struts config files by simply right clicking on them and selecting "Open With" and then selecting "Struts Console".
a.  Installing Struts Console Plugin

Eclipse 3.0m7 and higher
  1. Shutdown Eclipse if it is currently running.
  2. Navigate to the directory where you have Eclipse installed and then navigate into the "plugins" directory.
  3. In another window navigate to the directory where you installed the Struts Console software.
  4. Copy the "com.jamesholmes.console.struts" directory from the Struts Console installation directory into the Eclipse "plugins" directory.
  5. Navigate into the "com.jamesholmes.console.struts" directory underneath Eclipse "plugins" directory.
  6. Rename "plugin.xml" to "plugin.xml.bak".
  7. Rename "plugin-3.0.xml" to "plugin.xml".
  8. Restart Eclipse.
    1. NOTE: If you are using Eclipse 3 under Linux/Unix, you must run it using JDK 1.5. This is necessary because Faces Console makes uses of a special library (SWT_AWT) for integrating SWT and Swing. The SWT_AWT library requires JDK 1.5 under Linux/Unix.
WSAD and Eclipse 3.0m6 and earlier
  1. Shutdown Eclipse/WSAD if it is currently running.
  2. Navigate to the directory where you have Eclipse/WSAD installed and then navigate into the "plugins" directory.
  3. In another window navigate to the directory where you installed the Struts Console software.
  4. Copy the "com.jamesholmes.console.struts" directory from the Struts Console installation directory into the Eclipse/WSAD "plugins" directory.
  5. Restart Eclipse/WSAD.
b.  Using Struts Console inside Eclipse/WSAD
  1. Startup Eclipse/WSAD if it is not already running.
  2. Find your Struts, Tiles or Validator config file in the Navigator or Packages view on the left hand side of the screen.
  3. Right click on the config file and select "Open With" from the menu and then select "Struts Console".
    1. NOTE: Eclipse/WSAD will not recognize your Struts config files if they are not named "struts-config.xml" (Struts files), "tiles.xml", "tiles-defs.xml", (Tiles files) or "validation.xml" (Validator files). If you would like Eclipse to recognize other filenames as being Struts files you can edit the "filenames" attribute in the "plugin.xml" file in the "com.jamesholmes.console.struts" directory underneath your Eclipse/WSAD "plugins" directory.
c.  Turning Off DTD Validation / Configuring Output Options
  1. Startup Eclipse/WSAD if it is not already running.
  2. Go to the "Window" menu and then select "Preferences".
  3. Select the "Struts Console" node in the tree on the left.
  4. Set your desired validation / output option preference.

只有名字为struts-config.xml,tiles.xml,tiles-defs.xml,validation.xml之一的时候,Eclipse才有 open with->struts console的上下文菜单




相关文章

相关软件