tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Embedding Tomcat
Date Sat, 26 Oct 2013 22:14:34 GMT
On 25/10/2013 06:22, Olivier Lamy wrote:
> On 23 October 2013 08:58, Pïd stèr <pid@pidster.com> wrote:
>> Hello,
>>
>> To scratch an itch I've been working on an alternative means to embed
>> Tomcat:
>>
>>  https://github.com/pidster-dot-org/embed-apache-tomcat
>>
>> There's a core utility for embedding Tomcat[1] and a JUnit Rule[2] for
>> testing that uses it, e.g.
>>
>> 1.
>> https://github.com/pidster-dot-org/embed-apache-tomcat/blob/master/embed-apache-tomcat-core/src/test/java/org/pidster/tomcat/embed/TomcatSimpleTest.java
>>
>> 2.
>> https://github.com/pidster-dot-org/embed-apache-tomcat/blob/master/embed-apache-tomcat-test/src/test/java/org/pidster/tomcat/embed/junit/TomcatServerRuleTest.java
>>
> Interesting.
> But is there any way to use port 0 (I mean using random port instead
> of hardcoded one) ?

That's a good idea!  Yes, there is now... just pushed the update to the
repo.


p

>> I've snuck it into Maven Central here:
>>
>>  http://search.maven.org/#search%7Cga%7C1%7Corg.pidster
>>
>> I'd be interested to hear feedback from the list.
>>
>>
>> p
> 
> 
> 


-- 

[key:62590808]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message