zoukankan      html  css  js  c++  java
  • Openfire插件制作

    Openfire插件制作的结构

    代码结构:

    he Openfire build script will help you build and develop plugins. It looks for plugin development directories in the following format:

    Plugin Structure

    myplugin/
     |- plugin.xml      <- Plugin definition file
     |- readme.html     <- Optional readme file for plugin
     |- changelog.html  <- Optional changelog file for plugin
     |- logo_small.gif  <- Optional small (16x16) icon associated with the plugin (can also be a .png file)
     |- logo_large.gif  <- Optional large (32x32) icon associated with the plugin (can also be a .png file)
     |- classes/        <- Resources your plugin needs (i.e., a properties file)
     |- lib/            <- Libraries your plugin needs
     |- src/
         |- database    <- Optional database scripts for your plugin
         |- java        <- Java source code for your plugin
         |   |- com
         |       |- mycompany
         |           |- *.java
         |- web
             |- *.jsp      <- JSPs your plugin uses for the admin console
             |- images/    <- Any images your JSP pages need (optional)
             |- WEB-INF
                 |- web.xml    <- Optional file where custom servlets can be registered
    
    并非以下结构:
    myplugin/
     |- plugin.xml      <- Plugin definition file
     |- readme.html     <- Optional readme file for plugin, which will be displayed to end users
     |- changelog.html  <- Optional changelog file for plugin, which will be displayed to end users
     |- logo_small.gif  <- Optional small (16x16) icon associated with the plugin (can also be a .png file)
     |- logo_large.gif  <- Optional large (32x32) icon associated with the plugin (can also be a .png file)
     |- classes/        <- Resources your plugin needs (i.e., a properties file)
     |- database/       <- Optional database schema files that your plugin needs
     |- i18n/           <- Optional i18n files to allow for internationalization of plugins.
     |- lib/            <- Libraries (JAR files) your plugin needs
     |- web             <- Resources for Admin Console integration, if any
         |- WEB-INF/
             |- web.xml           <- Generated web.xml containing compiled JSP entries
             |- web-custom.xml    <- Optional user-defined web.xml for custom servlets
         |- images/
    该结构为OpenfireHome下的结构 即target目录下或者安装目录下的结构
  • 相关阅读:
    tableView滑动时cell消失
    收集别人写的很好的关于多线程的文章
    scroll或是其子类被添加进view时,界面自动上移
    runtime之实现对象序列化
    runtime之方法的交换
    升级mac中的系统之后,给PHP安装扩展常出现问题
    ubuntu下搭建Scrapy框架简单办法
    CuDA的快速下载链接
    windows下Scrapy爬虫框架环境搭建
    windows下安装pywin32报错:close failed in file object destructor:sys.excepthook is missing lost sys.stderr
  • 原文地址:https://www.cnblogs.com/IamThat/p/3117396.html
Copyright © 2011-2022 走看看