On 25/10/2013 06:22, Olivier Lamy wrote:
> On 23 October 2013 08:58, Pïd stèr <p...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to