Skip to content

Instantly share code, notes, and snippets.

@aschain
aschain / pomBuildAddition.xml
Created October 27, 2020 02:14
pom addition for copyToFiji.sh
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>first-execution</id>
<phase>install</phase>
<goals>
@aschain
aschain / copyToFiji.sh
Last active October 27, 2020 02:12
maven exec file copying helper
#!/bin/bash
#Replace USERNAME1 etc with your user names on all computers
#in order to find the Fiji.app (or replace with Fiji app locations)
usernames= ( USERNAME1 USERNAME2 )
FIJIPATH=/Applications/Fiji.app
for i in ${usernames[@]}
do