Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320076

Summary: Add a system property for the TCPAcceptor listen port
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.net4jAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: Power to the People

Description Eike Stepper CLA 2010-07-16 03:14:26 EDT
The fixed default port 2036 of a TCP acceptor must be overrideable with a system property. Important for, e.g., multiple test environments.
Comment 1 Eike Stepper CLA 2010-07-16 03:15:10 EDT
Added to org.eclipse.net4j.tcp.ITCPAcceptor:

 /**
   * @since 3.1
   */
  public static final String DEFAULT_PORT_PROPERTY = "org.eclipse.net4j.tcp.acceptor.port";
Comment 2 Eike Stepper CLA 2010-07-16 03:26:41 EDT
Committed to HEAD
Comment 3 Eike Stepper CLA 2011-06-23 03:38:23 EDT
Available in R20110608-1407