3 ms·
I was inspired by this to share the rebuild alias I've finally come up with: sf = tcstop && mvp stretch-base,stretch-app && tcs tcstop = ~/tomcat6/bin/ca
by samspot 14y ago
I was inspired by this to share the rebuild alias I've finally come up with:
sf = tcstop && mvp stretch-base,stretch-app && tcs
tcstop = ~/tomcat6/bin/catalina.sh stop
mvp = mvn package -projects
tcs = cl && tcstart && sti
cl = cleard; cleari; cleare; cleart
cleard = find /cygdrive/c/var/log/tomcat6/*.debug -exec truncate -s 0 {} \;
cleari = find /cygdrive/c/var/log/tomcat6/*.info -exec truncate -s 0 {} \;
cleare = find /cygdrive/c/var/log/tomcat6/*.err -exec truncate -s 0 {} \;
cleart = find /home/sthomas/tomcat6/logs/catalina.out -exec truncate -s 0 {} \;
tcstart = ~/tomcat6/bin/catalina.sh start
sti = tail -f /cygdrive/c/var/log/tomcat6/*.info ~/tomcat6/logs/catalina.out