Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
<format property="ignite.rel.date" pattern="ddMMyyyy" locale="en" />
</tstamp>

<property name="props.file" value="../../modules/core/target/classes/ignite.properties" />
<property name="props.file" value="../../modules/core/target/classes/ignite-build-info.properties" />

<replaceregexp file="${props.file}" byline="true">
<regexp pattern="ignite.update.notifier.enabled.by.default=.*" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* Ignite properties holder.
*/
public class IgniteProperties {
/** Properties file path. */
private static final String FILE_PATH = "ignite.properties";
/** Build info file path. */
private static final String FILE_PATH = "ignite-build-info.properties";

/** Properties. */
private static final Properties PROPS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class IgniteVersionUtils {

BUILD_TSTAMP_FROM_PROPERTY = IgniteProperties.get("ignite.build");

//Development ignite.properties file contains ignite.build = 0, so we will add the check for it.
//Development ignite-build-info.properties file contains ignite.build = 0, so we will add the check for it.
BUILD_TSTAMP = !BUILD_TSTAMP_FROM_PROPERTY.isEmpty() && Long.parseLong(BUILD_TSTAMP_FROM_PROPERTY) != 0
? Long.parseLong(BUILD_TSTAMP_FROM_PROPERTY) : System.currentTimeMillis() / 1000;

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
<regexp pattern="(ignite.version=).+$" />
<substitution expression="\1${project.version}" />
<fileset dir="${project.basedir}/modules/core/">
<include name="src/main/resources/ignite.properties" />
<include name="src/main/resources/ignite-build-info.properties" />
</fileset>
</replaceregexp>

Expand Down