Skip to content

Commit 29d694a

Browse files
authored
Merge pull request #127 from Pi4J/distribution_shells_noModule
modify sh files to work without being in modules
2 parents 4577911 + 9989e93 commit 29d694a

36 files changed

+1024
-1016
lines changed

assets/createInterrupt.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11

22

3+
# * #%L
4+
# * Copyright (C) 2012 - 2025 Pi4J
5+
# * %%
6+
# *
7+
# * Licensed under the Apache License, Version 2.0 (the "License");
8+
# * you may not use this file except in compliance with the License.
9+
# * You may obtain a copy of the License at
10+
# *
11+
# * http://www.apache.org/licenses/LICENSE-2.0
12+
# *
13+
# * Unless required by applicable law or agreed to in writing, software
14+
# * distributed under the License is distributed on an "AS IS" BASIS,
15+
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# * See the License for the specific language governing permissions and
17+
# * limitations under the License.
18+
# *
19+
# *-
20+
# * #%L
21+
# * **********************************************************************
22+
# * ORGANIZATION : Pi4J
23+
# * PROJECT : Pi4J :: EXTENSION
24+
# * FILENAME : createInterrupt.py
25+
# *
26+
# * This file is part of the Pi4J project. More information about
27+
# * this project can be found here: https://pi4j.com/
28+
# * **********************************************************************
29+
# * %%
30+
#
31+
#
32+
333
#!/usr/bin/python3
434

535
#* This is coded specifically to the manner in which the IS31FL3731 chip

assets/monitorGpio.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,37 @@
22

33

44

5+
# * #%L
6+
# * Copyright (C) 2012 - 2025 Pi4J
7+
# * %%
8+
# *
9+
# * Licensed under the Apache License, Version 2.0 (the "License");
10+
# * you may not use this file except in compliance with the License.
11+
# * You may obtain a copy of the License at
12+
# *
13+
# * http://www.apache.org/licenses/LICENSE-2.0
14+
# *
15+
# * Unless required by applicable law or agreed to in writing, software
16+
# * distributed under the License is distributed on an "AS IS" BASIS,
17+
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
# * See the License for the specific language governing permissions and
19+
# * limitations under the License.
20+
# *
21+
# *-
22+
# * #%L
23+
# * **********************************************************************
24+
# * ORGANIZATION : Pi4J
25+
# * PROJECT : Pi4J :: EXTENSION
26+
# * FILENAME : monitorGpio.py
27+
# *
28+
# * This file is part of the Pi4J project. More information about
29+
# * this project can be found here: https://pi4j.com/
30+
# * **********************************************************************
31+
# * %%
32+
#
33+
#
34+
35+
536
#!/usr/bin/python3
637

738
#* This is coded specifically to the manner in which the IS31FL3731 chip

assets/monitorGpio2.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
11

2+
# * #%L
3+
# * Copyright (C) 2012 - 2025 Pi4J
4+
# * %%
5+
# *
6+
# * Licensed under the Apache License, Version 2.0 (the "License");
7+
# * you may not use this file except in compliance with the License.
8+
# * You may obtain a copy of the License at
9+
# *
10+
# * http://www.apache.org/licenses/LICENSE-2.0
11+
# *
12+
# * Unless required by applicable law or agreed to in writing, software
13+
# * distributed under the License is distributed on an "AS IS" BASIS,
14+
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# * See the License for the specific language governing permissions and
16+
# * limitations under the License.
17+
# *
18+
# *-
19+
# * #%L
20+
# * **********************************************************************
21+
# * ORGANIZATION : Pi4J
22+
# * PROJECT : Pi4J :: EXTENSION
23+
# * FILENAME : monitorGpio2.py
24+
# *
25+
# * This file is part of the Pi4J project. More information about
26+
# * this project can be found here: https://pi4j.com/
27+
# * **********************************************************************
28+
# * %%
29+
#
30+
#
31+
232
#!/usr/bin/python3
333

434
#* This is coded specifically to the manner in which the IS31FL3731 chip

assets/runADS1256.sh

Lines changed: 30 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,37 @@
1-
2-
#
3-
#
4-
#
5-
# *
6-
# * -
7-
# * #%L
8-
# * **********************************************************************
9-
# * ORGANIZATION : Pi4J
10-
# * PROJECT : Pi4J :: EXTENSION
11-
# * FILENAME : runADS1256.sh
12-
# *
13-
# * This file is part of the Pi4J project. More information about
14-
# * this project can be found here: https://pi4j.com/
15-
# * **********************************************************************
16-
# * %%
17-
# * * Copyright (C) 2012 - 2022 Pi4J
18-
# * %%
19-
# *
20-
# * Licensed under the Apache License, Version 2.0 (the "License");
21-
# * you may not use this file except in compliance with the License.
22-
# * You may obtain a copy of the License at
23-
# *
24-
# * http://www.apache.org/licenses/LICENSE-2.0
25-
# *
26-
# * Unless required by applicable law or agreed to in writing, software
27-
# * distributed under the License is distributed on an "AS IS" BASIS,
28-
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29-
# * See the License for the specific language governing permissions and
30-
# * limitations under the License.
31-
# * #L%
32-
# *
33-
#
1+
#!/usr/bin/env bash
342
#
3+
# * #%L
4+
# * Copyright (C) 2012 - 2025 Pi4J
5+
# * %%
6+
# *
7+
# * Licensed under the Apache License, Version 2.0 (the "License");
8+
# * you may not use this file except in compliance with the License.
9+
# * You may obtain a copy of the License at
10+
# *
11+
# * http://www.apache.org/licenses/LICENSE-2.0
12+
# *
13+
# * Unless required by applicable law or agreed to in writing, software
14+
# * distributed under the License is distributed on an "AS IS" BASIS,
15+
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# * See the License for the specific language governing permissions and
17+
# * limitations under the License.
18+
# *
19+
# *-
20+
# * #%L
21+
# * **********************************************************************
22+
# * ORGANIZATION : Pi4J
23+
# * PROJECT : Pi4J :: EXTENSION
24+
# * FILENAME : runADS1256.sh
25+
# *
26+
# * This file is part of the Pi4J project. More information about
27+
# * this project can be found here: https://pi4j.com/
28+
# * **********************************************************************
29+
# * %%
3530
#
3631
#
3732

3833
# See README for details
3934

4035

41-
#!/usr/bin/env bash
42-
java --module-path . --module com.pi4j.devices/com.pi4j.devices.ads1256.ADS1256App $@
36+
37+
java -classpath ./*:../classes com.pi4j.devices.ads1256.ADS1256App $@

assets/runAT24C512.sh

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
11
#!/usr/bin/env bash
2+
23
#
3-
#
4-
#
5-
# *
6-
# * -
7-
# * #%L
8-
# * **********************************************************************
9-
# * ORGANIZATION : Pi4J
10-
# * PROJECT : Pi4J :: EXTENSION
11-
# * FILENAME : runAT24C512.sh
12-
# *
13-
# * This file is part of the Pi4J project. More information about
14-
# * this project can be found here: https://pi4j.com/
15-
# * **********************************************************************
16-
# * %%
17-
# * * Copyright (C) 2012 - 2022 Pi4J
18-
# * %%
19-
# *
20-
# * Licensed under the Apache License, Version 2.0 (the "License");
21-
# * you may not use this file except in compliance with the License.
22-
# * You may obtain a copy of the License at
23-
# *
24-
# * http://www.apache.org/licenses/LICENSE-2.0
25-
# *
26-
# * Unless required by applicable law or agreed to in writing, software
27-
# * distributed under the License is distributed on an "AS IS" BASIS,
28-
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29-
# * See the License for the specific language governing permissions and
30-
# * limitations under the License.
31-
# * #L%
32-
# *
33-
#
34-
#
4+
# * #%L
5+
# * Copyright (C) 2012 - 2025 Pi4J
6+
# * %%
7+
# *
8+
# * Licensed under the Apache License, Version 2.0 (the "License");
9+
# * you may not use this file except in compliance with the License.
10+
# * You may obtain a copy of the License at
11+
# *
12+
# * http://www.apache.org/licenses/LICENSE-2.0
13+
# *
14+
# * Unless required by applicable law or agreed to in writing, software
15+
# * distributed under the License is distributed on an "AS IS" BASIS,
16+
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# * See the License for the specific language governing permissions and
18+
# * limitations under the License.
19+
# *
20+
# *-
21+
# * #%L
22+
# * **********************************************************************
23+
# * ORGANIZATION : Pi4J
24+
# * PROJECT : Pi4J :: EXTENSION
25+
# * FILENAME : runAT24C512.sh
26+
# *
27+
# * This file is part of the Pi4J project. More information about
28+
# * this project can be found here: https://pi4j.com/
29+
# * **********************************************************************
30+
# * %%
3531
#
3632
#
3733

38-
java --module-path . --module com.pi4j.devices/com.pi4j.devices.at24c512.AT24C512_App $@
34+
java -classpath ./*:../classes com.pi4j.devices.at24c512.AT24C512_App $@

assets/runAppPropertyRead.sh

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,35 @@
11

2+
#!/usr/bin/env bash
23
#
3-
# /*
4-
# *
5-
# * -
6-
# * * #%L
7-
# * * **********************************************************************
8-
# * * ORGANIZATION : Pi4J
9-
# * * PROJECT : Pi4J :: EXTENSION
10-
# * * FILENAME : runAppPropertyRead.sh
11-
# * *
12-
# * * This file is part of the Pi4J project. More information about
13-
# * * this project can be found here: https://pi4j.com/
14-
# * * **********************************************************************
15-
# * * %%
16-
# * * Copyright (C) 2012 - 2021 Pi4J
17-
# * * %%
18-
# * * Licensed under the Apache License, Version 2.0 (the "License");
19-
# * * you may not use this file except in compliance with the License.
20-
# * * You may obtain a copy of the License at
21-
# * *
22-
# * * http://www.apache.org/licenses/LICENSE-2.0
23-
# * *
24-
# * * Unless required by applicable law or agreed to in writing, software
25-
# * * distributed under the License is distributed on an "AS IS" BASIS,
26-
# * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27-
# * * See the License for the specific language governing permissions and
28-
# * * limitations under the License.
29-
# * * #L%
30-
# *
31-
# *
32-
# */
4+
# * #%L
5+
# * Copyright (C) 2012 - 2025 Pi4J
6+
# * %%
7+
# *
8+
# * Licensed under the Apache License, Version 2.0 (the "License");
9+
# * you may not use this file except in compliance with the License.
10+
# * You may obtain a copy of the License at
11+
# *
12+
# * http://www.apache.org/licenses/LICENSE-2.0
13+
# *
14+
# * Unless required by applicable law or agreed to in writing, software
15+
# * distributed under the License is distributed on an "AS IS" BASIS,
16+
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# * See the License for the specific language governing permissions and
18+
# * limitations under the License.
19+
# *
20+
# *-
21+
# * #%L
22+
# * **********************************************************************
23+
# * ORGANIZATION : Pi4J
24+
# * PROJECT : Pi4J :: EXTENSION
25+
# * FILENAME : runAppPropertyRead.sh
26+
# *
27+
# * This file is part of the Pi4J project. More information about
28+
# * this project can be found here: https://pi4j.com/
29+
# * **********************************************************************
30+
# * %%
3331
#
3432
#
3533

3634

37-
#!/usr/bin/env bash
38-
java --module-path . --module com.pi4j.devices/com.pi4j.devices.appConfig.ReadProperties $@
35+
java -classpath ./*:../classes com.pi4j.devices.appConfig.ReadProperties $@

assets/runAppPropertySet.sh

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,35 @@
1+
#!/usr/bin/env bash
12

23
#
3-
# /*
4-
# *
5-
# * -
6-
# * * #%L
7-
# * * **********************************************************************
8-
# * * ORGANIZATION : Pi4J
9-
# * * PROJECT : Pi4J :: EXTENSION
10-
# * * FILENAME : runAppPropertySet.sh
11-
# * *
12-
# * * This file is part of the Pi4J project. More information about
13-
# * * this project can be found here: https://pi4j.com/
14-
# * * **********************************************************************
15-
# * * %%
16-
# * * Copyright (C) 2012 - 2021 Pi4J
17-
# * * %%
18-
# * * Licensed under the Apache License, Version 2.0 (the "License");
19-
# * * you may not use this file except in compliance with the License.
20-
# * * You may obtain a copy of the License at
21-
# * *
22-
# * * http://www.apache.org/licenses/LICENSE-2.0
23-
# * *
24-
# * * Unless required by applicable law or agreed to in writing, software
25-
# * * distributed under the License is distributed on an "AS IS" BASIS,
26-
# * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27-
# * * See the License for the specific language governing permissions and
28-
# * * limitations under the License.
29-
# * * #L%
30-
# *
31-
# *
32-
# */
4+
# * #%L
5+
# * Copyright (C) 2012 - 2025 Pi4J
6+
# * %%
7+
# *
8+
# * Licensed under the Apache License, Version 2.0 (the "License");
9+
# * you may not use this file except in compliance with the License.
10+
# * You may obtain a copy of the License at
11+
# *
12+
# * http://www.apache.org/licenses/LICENSE-2.0
13+
# *
14+
# * Unless required by applicable law or agreed to in writing, software
15+
# * distributed under the License is distributed on an "AS IS" BASIS,
16+
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# * See the License for the specific language governing permissions and
18+
# * limitations under the License.
19+
# *
20+
# *-
21+
# * #%L
22+
# * **********************************************************************
23+
# * ORGANIZATION : Pi4J
24+
# * PROJECT : Pi4J :: EXTENSION
25+
# * FILENAME : runAppPropertySet.sh
26+
# *
27+
# * This file is part of the Pi4J project. More information about
28+
# * this project can be found here: https://pi4j.com/
29+
# * **********************************************************************
30+
# * %%
3331
#
3432
#
3533

3634

37-
#!/usr/bin/env bash
38-
java --module-path . --module com.pi4j.devices/com.pi4j.devices.appConfig.SetProperties $@
35+
java -classpath ./*:../classes com.pi4j.devices.appConfig.SetProperties $@

0 commit comments

Comments
 (0)