Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
name: dev_java
summary: Tools for developing Java apps
appliances:
- dev_common
- java_common
files:
"/opt":
- "http://apache.mirror.aussiehq.net.au//maven/binaries/apache-maven-3.0.3-bin.tar.gz"
- "http://bit.ly/pYsNJV"
packages:
- ant
post:
base:
- "echo 'wget http://apache.mirror.aussiehq.net.au//maven/binaries/apache-maven-3.0.3-bin.tar.gz' >> /etc/rc.firstboot"
- "echo 'tar -C /opt/ -zxf apache-maven-3.*' >> /etc/rc.firstboot"
- "echo 'ln -s /opt/apache-maven-3.* /opt/maven-3' >> /etc/rc.firstboot"
- "echo 'export MAVEN_HOME=/opt/maven-3' >> /etc/profile"
- "echo 'export NETBEANS_HOME=$HOME/softwaredev/tools/ides/netbeans-7/' >> /etc/profile"
- "echo 'cd /opt && wget http://bit.ly/pYsNJV && unzip forge-distribution-1*.zip && rm -f forge-distribution-1*.zip' >> /etc/rc.firstboot"
- "echo 'ln -s forge-1.0.0-SNAPSHOT /opt/forge-1' >> /etc/rc.firstboot"
- "echo 'export FORGE_HOME=/opt/forge-1' >> /etc/profile"
- "echo 'export PATH=$PATH:$NETBEANS_HOME/bin:$FORGE_HOME/bin:$MAVEN_HOME/bin:$NETBEANS_HOME/bin' >> /etc/profile"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.