Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

How to create a proper plugin build and one shot?

$
0
0

When i build a plugin, the jar file names inside lib directory of plugin ends with ".pack". And i have to modify it manually to create a proper plugin build.

 

Steps which am following to create a proper plugin build :

1. Create a plugin build using eclipse.

     * A plugin jar is created in this locaiton "/openfire/target/openfire/plugins/*.jar"

     * Inside the jar there is a 'lib' directory where all the jar files names ends with '*.jar.pack'.

2. Run the openfire server.

     * Now a plugin directory is generated in this location "/openfire/target/openfire/plugins"

     * And in 'lib' directory the jar files will be created without ".pack" extension.

3. Now am modifying my plugin jar by removing all the files from "lib" directory which has ".pack" extension and adding the proper jar file which got created after running the openfire.

 

Can we modify the build.xml file to generate proper plugin in one go?


Viewing all articles
Browse latest Browse all 4979

Trending Articles