uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: SimpleServer maven war build
Date Thu, 30 Jul 2009 09:56:11 GMT
Thilo Goetz wrote:
> Jörn Kottmann wrote:
>   
>> Thilo Goetz wrote:
>>     
>>> Jörn Kottmann wrote:
>>>  
>>>       
>>>> Thilo Goetz wrote:
>>>>    
>>>>         
>>>>> Jörn Kottmann wrote:
>>>>>  
>>>>>      
>>>>>           
>>>>>> Hi,
>>>>>>
>>>>>> is there a reason why we do not use maven
>>>>>> to build the SimpleServer war file ?
>>>>>>
>>>>>> Jörn
>>>>>>             
>>>>>>             
>>>>> Sorry for the late reply.  The reason is probably
>>>>> that I originally contributed the SimpleServer, and
>>>>> I try to stay as far away from maven as I can.
>>>>> However, please feel free to add whatever you feel
>>>>> is best.
>>>>>         
>>>>>           
>>>> We could move the web.xml sample to src/main/webapp/WEB-INF and
>>>> change the packaging type to war then the build can produce a war
>>>> file.
>>>>
>>>> A user who wants to use the SimpleServer has now two options to built,
>>>> either with maven or with eclipse (which is easier because mvn
>>>> eclipse:eclipse works).
>>>>
>>>> What do you think ?
>>>>
>>>> Jörn
>>>>     
>>>>         
>>> Sorry, I have only recently started looking at the
>>> simple server again.
>>>
>>> I'm a bit confused by your question.  Are you suggesting
>>> we provide a sample pom for SimpleServer users which they
>>> can use to build individual SimpleServer analysis WARs?
>>>       
>> If I got it correctly then our users have to build the war file right
>> now them self to support their custom analysis engines. In the docs
>> its described how it can be done with eclipse.
>>
>> Thats why I thought we could provide a pom.xml which does that
>> job and then we simply distribute it as  a source project and users
>> built it completely them self, either with maven or with eclipse.
>>     
>
> Ok, let me rephrase what you're saying to make sure I
> understand you.  You're suggesting we create a project
> shell so to speak that has the simple server jar files
> in it.  Our users could take that project, drop in a
> pear file of their choice, adapt the web.xml and then
> build the whole thing with maven or eclipse.  Does that
> sound right?
>   

Yes, but the project shell could just be our source project,
assuming that people use maven to build the war file or
to set up the eclipse project.

Jörn

Mime
View raw message