Fix JS Build
This commit is contained in:
parent
34a9214c90
commit
b25b05c7ff
@ -112,7 +112,7 @@ public class EventEntity extends BaseSqlEntity<Event> implements BaseEntity<Eve
|
|||||||
return event;
|
return event;
|
||||||
}
|
}
|
||||||
|
|
||||||
private long getTs(UUID uuid) {
|
private static long getTs(UUID uuid) {
|
||||||
return (uuid.timestamp() - EPOCH_DIFF) / 10000;
|
return (uuid.timestamp() - EPOCH_DIFF) / 10000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -92,10 +92,13 @@ buildRpm {
|
|||||||
permissionGroup pkgUser
|
permissionGroup pkgUser
|
||||||
|
|
||||||
// Copy the system unit files
|
// Copy the system unit files
|
||||||
from("${buildDir}/control/${pkgName}.service") {
|
from("${buildDir}/control/template.service") {
|
||||||
addParentDirs = false
|
addParentDirs = false
|
||||||
fileMode 0644
|
fileMode 0644
|
||||||
into "/usr/lib/systemd/system"
|
into "/usr/lib/systemd/system"
|
||||||
|
rename { String filename ->
|
||||||
|
"${pkgName}.service"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
link("/etc/${pkgName}/conf", "${pkgInstallFolder}/conf")
|
link("/etc/${pkgName}/conf", "${pkgInstallFolder}/conf")
|
||||||
@ -121,6 +124,16 @@ buildDeb {
|
|||||||
user pkgUser
|
user pkgUser
|
||||||
permissionGroup pkgUser
|
permissionGroup pkgUser
|
||||||
|
|
||||||
|
// Copy the system unit files
|
||||||
|
from("${buildDir}/control/template.service") {
|
||||||
|
addParentDirs = false
|
||||||
|
fileMode 0644
|
||||||
|
into "/lib/systemd/system"
|
||||||
|
rename { String filename ->
|
||||||
|
"${pkgName}.service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
link("/etc/init.d/${pkgName}", "${pkgInstallFolder}/init/${pkgName}")
|
link("/etc/init.d/${pkgName}", "${pkgInstallFolder}/init/${pkgName}")
|
||||||
link("/etc/${pkgName}/conf", "${pkgInstallFolder}/conf")
|
link("/etc/${pkgName}/conf", "${pkgInstallFolder}/conf")
|
||||||
}
|
}
|
||||||
|
|||||||
6
pom.xml
6
pom.xml
@ -1369,11 +1369,6 @@
|
|||||||
<artifactId>commons-collections</artifactId>
|
<artifactId>commons-collections</artifactId>
|
||||||
<version>${commons-collections.version}</version>
|
<version>${commons-collections.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.yaml</groupId>
|
|
||||||
<artifactId>snakeyaml</artifactId>
|
|
||||||
<version>${snakeyaml.version}</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.struts</groupId>
|
<groupId>org.apache.struts</groupId>
|
||||||
<artifactId>struts-core</artifactId>
|
<artifactId>struts-core</artifactId>
|
||||||
@ -1389,7 +1384,6 @@
|
|||||||
<artifactId>struts-tiles</artifactId>
|
<artifactId>struts-tiles</artifactId>
|
||||||
<version>${struts.version}</version>
|
<version>${struts.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user