ant-get-free-port

Allows you to get a free port number to use elsewhere..

Лицензия

Лицензия

Категории

Категории

Ant Компиляция и сборка
Группа

Группа

com.backstopsolutions
Идентификатор

Идентификатор

ant-get-free-port
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

ant-get-free-port
Allows you to get a free port number to use elsewhere..
Ссылка на сайт

Ссылка на сайт

https://github.com/backstop/ant-get-free-port
Организация-разработчик

Организация-разработчик

Backstop Solutions Group, LLC
Система контроля версий

Система контроля версий

https://github.com/backstop/ant-get-free-port

Скачать ant-get-free-port

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.backstopsolutions/ant-get-free-port/ -->
<dependency>
    <groupId>com.backstopsolutions</groupId>
    <artifactId>ant-get-free-port</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.backstopsolutions/ant-get-free-port/
implementation 'com.backstopsolutions:ant-get-free-port:0.1.0'
// https://jarcasting.com/artifacts/com.backstopsolutions/ant-get-free-port/
implementation ("com.backstopsolutions:ant-get-free-port:0.1.0")
'com.backstopsolutions:ant-get-free-port:jar:0.1.0'
<dependency org="com.backstopsolutions" name="ant-get-free-port" rev="0.1.0">
  <artifact name="ant-get-free-port" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.backstopsolutions', module='ant-get-free-port', version='0.1.0')
)
libraryDependencies += "com.backstopsolutions" % "ant-get-free-port" % "0.1.0"
[com.backstopsolutions/ant-get-free-port "0.1.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.apache.ant : ant jar 1.8.2

Модули Проекта

Данный проект не имеет модулей.

Purpose

During builds, some tasks require a server to be started (js-test-driver, fitnesse, etc.), but the port the server uses doesn't matter. If the port number is hardcoded, then two builds can't run on the same machine concurrently. Use get-free-port to grab a random free port number to use instead.

Usage

Define the task:

<path id="ant.get.free.port.classpath">
    <fileset dir="FillThisIn" includes="ant-get-free-port-*.jar" />
</path>
<taskdef name="get-free-port" classname="com.backstopsolutions.ant.GetFreePort"
                 classpathref="ant.get.free.port.classpath"/>

Grab a free port:

<get-free-port propertyname="some-property-name"/>
<get-free-port propertyname="another-property-name"/>
com.backstopsolutions

Backstop Solutions Group

Версии библиотеки

Версия
0.1.0