#!/bin/bash file=".syntastic_javac_config" rm $file echo -n "let g:syntastic_java_javac_classpath = '" >> $file ant -q path | grep echo | cut -f2- -d] | tr -d '\n' | tr -d ' ' >> $file echo "'" >> $file