You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by CG <le...@gmail.com> on 2008/04/16 19:05:36 UTC

Help need to create geronimo plugin for struts 2

Hi all,
  Since I will be using struts 2.x in my project , I would like to
"deploy" struts' libraries into geronimo server.
Q1 : Can I just copy those *.jars into
GERONIMO_ROOT/repository/struts ? will it works ?


 I also plan to create plugin struts 2 for geronimo 2.1, with the jars
file of struts-lib that I have downloaded, so that I can deploy it
using the geronimo console.
Any tutorial for plugin creation ? I only know that we need a
geronimo-plugin.xml .

I have categorized those *.jars , and the directory structure for
those jars file.  What else should I do  to build the plugin ?

Any hints will be appreciated , thanks.
CG


Directory structures for all the jars file come with struts 2.0.11
====================================================
antlr 2.7.2.jar					repository/antlr/2.7.2/

commons-beanutils-1.6.jar			repository/commons-beanutils/1.6/

commons-chain-1.1.jar				repository/commons-chain/1.1/

commons-logging-1.0.4.jar			repository/commons-logging/commons-logging/1.0.4/
commons-logging-api-1.1.jar			repository/commons-logging/commons-logging-api/1.1/

commons-validator-1.3.0.jar			repository/commons-validator/1.3.0/

freemarker-2.3.8.jar				repository/freemarker/2.3.8/

ognl-2.6.11.jar					repository/ognl/ognl/2.6.11/

oro-2.0.8.jar					repository/org/apache/oro/2.0.8/

struts2-codebehind-plugin-2.0.11.1.jar		repository/org/apache/struts/struts2-codebehind-plugin/2.0.11.1/
struts2-config-browser-plugin-2.0.11.1.jar	repository/org/apache/struts/struts2-config-browser-plugin/2.0.11.1/
struts2-core-2.0.11.1.jar			repository/org/apache/struts/struts2-core/2.0.11.1/
struts2-jasperreports-plugin-2.0.11.1.jar	repository/org/apache/struts/struts2-jasperreports-plugin/2.0.11.1/
struts2-jfreechart-plugin-2.0.11.1.jar		repository/org/apache/struts/struts2-jfreechart-plugin/2.0.11.1/
struts2-jsf-plugin-2.0.11.1.jar			repository/org/apache/struts/struts2-jsf-plugin/2.0.11.1/
struts2-pell-multipart-plugin-2.0.11.1.jar	repository/org/apache/struts/struts2-pell-multipart-plugin/2.0.11.1/
struts2-plexus-plugin-2.0.11.1.jar		repository/org/apache/struts/struts2-plexus-plugin/2.0.11.1/
struts2-sitegraph-plugin-2.0.11.1.jar		repository/org/apache/struts/struts2-sitegraph-plugin/2.0.11.1/
struts2-sitemesh-plugin-2.0.11.1.jar		repository/org/apache/struts/struts2-sitemesh-plugin/2.0.11.1/
struts2-spring-plugin-2.0.11.1.jar		repository/org/apache/struts/struts2-spring-plugin/2.0.11.1/
struts2-struts1-plugin-2.0.11.1.jar		repository/org/apache/struts/struts2-struts1-plugin/2.0.11.1/
struts2-tiles-plugin-2.0.11.1.jar			repository/org/apache/struts/struts2-tiles-plugin/2.0.11.1/
struts-core-1.3.5.jar				repository/org/apache/struts/struts-core/1.3.5/

tiles-api-2.0.4.jar				repository/org/apache/tiles/tiles-api/2.0.4/
tiles-core-2.0.4.jar				repository/org/apache/tiles/tiles-core/2.0.4/
tiles-jsp-2.0.4.jar				repository/org/apache/tiles/tiles-jsp/2.0.4/

xwork-2.0.4.jar					repository/org/opensymphony/xworki/2.0.4/

Re: Help need to create geronimo plugin for struts 2

Posted by David Jencks <da...@yahoo.com>.
Have you looked at http://cwiki.apache.org/GMOxDOC21/constructing-a- 
special-purpose-server-using-maven.html ?

I think it should explain fairly well how to set up a maven project  
that will result in building the struts plugin you want.  If you have  
any further questions or suggestions for improving the docs please  
please let us know!

You might also look at the directory and roller plugins under https:// 
svn.apache.org/repos/asf/geronimo/plugins
thanks
david jencks

On Apr 16, 2008, at 10:05 AM, CG wrote:

> Hi all,
>   Since I will be using struts 2.x in my project , I would like to
> "deploy" struts' libraries into geronimo server.
> Q1 : Can I just copy those *.jars into
> GERONIMO_ROOT/repository/struts ? will it works ?
>
>
>  I also plan to create plugin struts 2 for geronimo 2.1, with the jars
> file of struts-lib that I have downloaded, so that I can deploy it
> using the geronimo console.
> Any tutorial for plugin creation ? I only know that we need a
> geronimo-plugin.xml .
>
> I have categorized those *.jars , and the directory structure for
> those jars file.  What else should I do  to build the plugin ?
>
> Any hints will be appreciated , thanks.
> CG
>
>
> Directory structures for all the jars file come with struts 2.0.11
> ====================================================
> antlr 2.7.2.jar					repository/antlr/2.7.2/
>
> commons-beanutils-1.6.jar			repository/commons-beanutils/1.6/
>
> commons-chain-1.1.jar				repository/commons-chain/1.1/
>
> commons-logging-1.0.4.jar			repository/commons-logging/commons- 
> logging/1.0.4/
> commons-logging-api-1.1.jar			repository/commons-logging/commons- 
> logging-api/1.1/
>
> commons-validator-1.3.0.jar			repository/commons-validator/1.3.0/
>
> freemarker-2.3.8.jar				repository/freemarker/2.3.8/
>
> ognl-2.6.11.jar					repository/ognl/ognl/2.6.11/
>
> oro-2.0.8.jar					repository/org/apache/oro/2.0.8/
>
> struts2-codebehind-plugin-2.0.11.1.jar		repository/org/apache/ 
> struts/struts2-codebehind-plugin/2.0.11.1/
> struts2-config-browser-plugin-2.0.11.1.jar	repository/org/apache/ 
> struts/struts2-config-browser-plugin/2.0.11.1/
> struts2-core-2.0.11.1.jar			repository/org/apache/struts/struts2- 
> core/2.0.11.1/
> struts2-jasperreports-plugin-2.0.11.1.jar	repository/org/apache/ 
> struts/struts2-jasperreports-plugin/2.0.11.1/
> struts2-jfreechart-plugin-2.0.11.1.jar		repository/org/apache/ 
> struts/struts2-jfreechart-plugin/2.0.11.1/
> struts2-jsf-plugin-2.0.11.1.jar			repository/org/apache/struts/ 
> struts2-jsf-plugin/2.0.11.1/
> struts2-pell-multipart-plugin-2.0.11.1.jar	repository/org/apache/ 
> struts/struts2-pell-multipart-plugin/2.0.11.1/
> struts2-plexus-plugin-2.0.11.1.jar		repository/org/apache/struts/ 
> struts2-plexus-plugin/2.0.11.1/
> struts2-sitegraph-plugin-2.0.11.1.jar		repository/org/apache/struts/ 
> struts2-sitegraph-plugin/2.0.11.1/
> struts2-sitemesh-plugin-2.0.11.1.jar		repository/org/apache/struts/ 
> struts2-sitemesh-plugin/2.0.11.1/
> struts2-spring-plugin-2.0.11.1.jar		repository/org/apache/struts/ 
> struts2-spring-plugin/2.0.11.1/
> struts2-struts1-plugin-2.0.11.1.jar		repository/org/apache/struts/ 
> struts2-struts1-plugin/2.0.11.1/
> struts2-tiles-plugin-2.0.11.1.jar			repository/org/apache/struts/ 
> struts2-tiles-plugin/2.0.11.1/
> struts-core-1.3.5.jar				repository/org/apache/struts/struts-core/ 
> 1.3.5/
>
> tiles-api-2.0.4.jar				repository/org/apache/tiles/tiles-api/2.0.4/
> tiles-core-2.0.4.jar				repository/org/apache/tiles/tiles-core/2.0.4/
> tiles-jsp-2.0.4.jar				repository/org/apache/tiles/tiles-jsp/2.0.4/
>
> xwork-2.0.4.jar					repository/org/opensymphony/xworki/2.0.4/