Hi Franics,

as promised I want go give you some detail about the empire-struts2-ext 
distribution files.
The archive contains both binaries and source code of the strut2-ext library as 
well as a sample application that shows how to use it. 

I don't know whether you have tried and mangaged to run the example 
application, but the problem we have at the moment is, that the jars in the lib 
folder which are required to build the struts2-ext-jar from the source are also 
required for the DBWebSample appliation. For the latter however they should 
reside in 
examples\DBWebSample\WebRoot\WEB-INF\lib

Since we did not want to distribute the same files twice, we decided to provide 
a file called copy_jars (.bat and .sh) in the DBWebSamples lib folder. This 
solution however is not ideal.

Building the struts2-ext.jar or the DBWebSample requires the following 
dependencies:

Common stuff:
-commons-beanutils-1.7.0.jar
-commons-collections-3.2.1.jar
-commons-digester-1.8.jar
-commons-fileupload-1.2.1.jar
-commons-io-1.4.jar
-commons-logging-1.0.4.jar
-log4j-1.2.14.jar

Empire-db:
-empire-db-2.0.4.jar

JEE-Web Application (taken from Tomcat 5.5)
-servlet-api.jar 
-jsp-api.jar

Apache Struts2 dependencies:
-ognl-2.6.11.jar
-struts2-codebehind-plugin-2.0.11.2.jar
-struts2-core-2.0.11.2.jar
-struts2-sitemesh-plugin-2.0.11.2.jar
-freemarker-2.3.8.jar
-xwork-2.0.5.jar

Apache Tiles project dependencies:
-tiles-api-2.0.4.jar
-tiles-core-2.0.4.jar
-tiles-jsp-2.0.4.jar

The DBWebSample additionally needs the HSQLDB database (hsqldb-1.8.0.10.jar).

Ideally I would still provide all the dependencies with the distribution (i.e. 
put the in a local repository), but organize it in a more convenient way, so 
that the user does not have to copy the jars around.
With maven it should be possible to create Projects for Eclipse / NetBeans and 
others for both building the empire-struts2-ext.jar from the source as well as 
compile and run the DBWebSample application. The distribution should also be 
laid out in the Maven way (folder structure you suggested).

As proposed, if you could do that and send the result back to me I would then 
make sure, that further distributions are provided that way. I will also try to 
modify the ant scripts to that the user has a choice of Maven or Ant.

So I hope you have all the information you need now.
(If not just ask).

Thanks and best regards
Rainer

P.S. I'd be interested to know, whether and how you have evaluated or used 
Empire-db and what exactly attracted you to our project.


Francis De Brabandere wrote:
> 
> Re: Maven support for the upcoming 2.0.5 release
>  
> > This is largely my fault and I want to apologize for that. There are so many
> > documents to read and understand and it seems that Jörg and I have been a
> > bit too optimistic about the requirements.
> 
> No problem
> 
> >
> > If you are still interested we would still try to get you on as one of our
> > committers but we have to get it right this time. This involves an internal
> (private) proposal, a vote and the information of the Incubator PMC. I would
> expect this to take another couple of weeks time.
> BTW: Have you already have filled out and submitted your Contributor license
> agreement (ICLA)? If so good, it was not in vain.
> 
> Yep my ICLA has been sent to [EMAIL PROTECTED] but I did not receive any
> confirmation.
> 
> > In the meantime you can, if you want, reorganize and extend the current
> > distribution for Maven and send the result to me. We will modify our current
> > build files to accommodate the changes. I will give you an update about the
> > empire-struts2-ext dependencies tomorrow.
> 
> There is no need to reorganise the distribution. We can just provide
> pom's for each artefact and a .sh/.bat file to install them in the
> user's local maven repo. Or we can set up a temporary public
> repository. That would help out maven users willing to use empire-db.
> 
> As reorganising the distribution would take a lot of time that is not
> something to do on every release :-s
> 
> Regards,
> 
> Francis
> 
> 
> >
> > Sorry again for the inconvenience.
> >
> >
> > Rainer
> >

Reply via email to