You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ace.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2009/10/17 13:27:31 UTC

[jira] Closed: (ACE-33) Make used ports easily configurable so we can run on the build server using different ports

     [ https://issues.apache.org/jira/browse/ACE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Offermans closed ACE-33.
-------------------------------

    Resolution: Fixed

Wherever a port was used in Java code, we now use a constant specifically introduced for testing, found in org.apache.ace.test.constants.TestConstants. Since this class contains only "constants", the Java compiler resolves them during compilation and this class/package does not even end up in the bundle.

Outside of Java code, there is no constant, so you need to make sure that any reference to test ports there gets updated manually. All in all this still made it a lot easier to switch to port 9000 which, unlike 8080, was available on the Bamboo build server.

> Make used ports easily configurable so we can run on the build server using different ports
> -------------------------------------------------------------------------------------------
>
>                 Key: ACE-33
>                 URL: https://issues.apache.org/jira/browse/ACE-33
>             Project: Ace
>          Issue Type: Improvement
>            Reporter: Marcel Offermans
>
> Currently, the build on the automatic build server is failing because some tests need a running framework with a webserver running on port 8080. For some reason the current build agent does not have that port available. We should be able to easily reconfigure the ports we use in our applications to deal with these situations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.