Created
September 6, 2011 22:32
-
-
Save peteroyle/1199194 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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