Version 0.5: Added support for syncing timelines.
* Added missing libraries required by timeline-lib to support syncable timelines. * Added code to shutdown sync threads upon exit.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
#Sat, 10 Aug 2013 01:38:31 -0500
|
#Fri, 13 Sep 2013 08:55:20 -0500
|
||||||
lib.local=true
|
lib.local=true
|
||||||
name=timestamper-cli
|
name=timestamper-cli
|
||||||
version=0.4
|
version=0.5
|
||||||
build.number=13
|
build.number=0
|
||||||
|
|||||||
@@ -23,9 +23,10 @@ public class TimeStamperCLI {
|
|||||||
protected TimelineProperties timelineProperties
|
protected TimelineProperties timelineProperties
|
||||||
protected Timeline timeline
|
protected Timeline timeline
|
||||||
|
|
||||||
public static final String VERSION = "0.4"
|
public static final String VERSION = "0.5"
|
||||||
|
|
||||||
protected static def cli = [
|
protected static def cli = [
|
||||||
|
'h': [longOpt: 'help'],
|
||||||
'v': [longOpt: 'version'],
|
'v': [longOpt: 'version'],
|
||||||
'd': [longOpt: 'working-directory', arguments: 1],
|
'd': [longOpt: 'working-directory', arguments: 1],
|
||||||
't': [longOpt: 'timeline-config', arguments: 1],
|
't': [longOpt: 'timeline-config', arguments: 1],
|
||||||
@@ -208,6 +209,8 @@ public class TimeStamperCLI {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.timelineProperties.syncTargets.each { it.shutdown() }
|
||||||
|
|
||||||
if (readerThread.isAlive()) {
|
if (readerThread.isAlive()) {
|
||||||
readerThread.interrupt();
|
readerThread.interrupt();
|
||||||
readerThread.join(500);
|
readerThread.join(500);
|
||||||
|
|||||||
Reference in New Issue
Block a user