File tree Expand file tree Collapse file tree 3 files changed +25
-6
lines changed
it.baeyens.arduino.parent
it.baeyens.arduino.product Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 333
333
334
334
<profile >
335
335
<id >juno</id >
336
+ <properties >
337
+ <platform-version-name >juno</platform-version-name >
338
+ </properties >
336
339
<activation >
337
340
<activeByDefault >true</activeByDefault >
338
341
</activation >
339
-
340
342
<repositories >
341
343
<repository >
342
344
<id >platform_juno</id >
354
356
355
357
<profile >
356
358
<id >kepler</id >
359
+ <properties >
360
+ <platform-version-name >kepler</platform-version-name >
361
+ </properties >
357
362
<repositories >
358
363
<repository >
359
364
<id >platform_kepler</id >
371
376
372
377
<profile >
373
378
<id >luna</id >
379
+ <properties >
380
+ <platform-version-name >luna</platform-version-name >
381
+ </properties >
374
382
<repositories >
375
383
<repository >
376
384
<id >platform_luna</id >
Original file line number Diff line number Diff line change 44
44
<product >
45
45
<!-- id is verbatim to todo.product "uid" -->
46
46
<id >it.baeyens.arduino.product</id >
47
+ <!-- Customise the packaged product's archive name (Instead of "it.baeyens.arduino.product")
48
+ Suffix is still <os>.<ws>.<arch>.<archiveExtension> (e.g. linux.gtk.x86_64.tar.gz)
49
+ -->
50
+ <archiveFileName >EclipseArduinoIDE-${platform-version-name} </archiveFileName >
47
51
<!-- Causes the archives to contain a folder todo/ that contains the
48
52
application -->
49
53
<!-- Without it, the application is at the archive root -->
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- echo " Exec and print time periodically ( overcoming our very long quiet times) "
3
+ echo " Exec and print time periodically - overcoming long quiet times"
4
4
# Test command
5
5
# CMD="sleep 5"
6
6
# echo "CMD=$CMD"
@@ -15,13 +15,20 @@ PID=$!
15
15
echo " Testing for PID=$PID "
16
16
17
17
# Sleep for X seconds and then test if the PID is still active
18
- # inefficient but not too bad for this use case
18
+ # inefficient (only breaks in intervals of timer) but not too bad for this use case
19
19
# also not safe from race conditions in general but fine here
20
- while sleep 180
21
- kill -0 $PID > /dev/null 2>&1
20
+ while ps | grep " $PID " | grep -v grep > /dev/null 2>&1
22
21
do
23
- echo " Still running at $SECONDS seconds"
22
+ sleep 180
23
+ echo " PID=$PID still running at $SECONDS seconds"
24
24
done
25
25
26
26
echo " Ran for $SECONDS seconds"
27
27
28
+ # Wait will get the process even if it has already exited in this session
29
+ # echo "Waiting on PID=$PID"
30
+ wait $PID
31
+ STATUS=$?
32
+ echo " Exit status of $STATUS "
33
+ exit $STATUS
34
+
You can’t perform that action at this time.
0 commit comments