1. varialus
  2. dissonance

Commits

varialus  committed 5a93f7f Draft

First Successful Build!

  • Participants
  • Parent commits 612a581
  • Branches default

Comments (0)

Files changed (3)

File dissonance/InstallLog

View file
+Debian Squeeze Host with amd64, 4 GB RAM
+VirtualBox Guest with 1024 MB RAM, 64 GB Expanding Disk Image
+http://wiki.apache.org/harmony/DevConfiguration_Ubuntu8-04
+http://releases.ubuntu.com/8.04/
+http://releases.ubuntu.com/8.04/ubuntu-8.04.4-alternate-i386.iso
+http://releases.ubuntu.com/8.04/ubuntu-8.04.4-alternate-amd64.iso
+Install Guest Additions
+Restart VM
+Host/Guest Copy/Paste Addition Not Working
+sudo apt-get install subversion
+sudo apt-get install gcc
+sudo apt-get install g++
+sudo apt-get install make
+sudo apt-get install sun-java6-jdk
+sudo apt-get install ant
+sudo apt-get install ant-optional
+sudo apt-get install liblcms1-dev
+sudo apt-get install libpng12-dev
+sudo apt-get install libjpeg62-dev
+sudo apt-get install libx11-dev
+sudo apt-get install libxft-dev
+sudo apt-get install binutils-dev
+sudo apt-get install libxml2-dev
+sudo apt-get install libxtst-dev
+export ANT_OPTS='-Xms256m -Xmx512m'
+http://harmony.apache.org/quickhelp_contributors.html
+svn co http://svn.apache.org/repos/asf/harmony/enhanced/java/trunk
+cd trunk/
+ant -Dauto.fetch=true all
+http://sourceforge.net/projects/libpng/files/zlib/1.2.5/zlib-1.2.5.tar.gz/download
+sudo apt-get install nginx
+sudo /etc/init.d/nginx start
+http://localhost/
+sudo cp ../Desktop/zlib-1.2.5.tar.gz /var/www/nginx-default/
+grep -n -r -I --color "zlib.net" .
+python dissonance/fix_zlib.py
+Maybe saw an apache dependency error.
+ant clean
+ant -Dauto.fetch=true all
+ant -Dauto.fetch=true all -Dhy.javac.compiler=modern
+http://archive.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/
+http://archive.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/download.php?dropFile=ecj-3.6.1.jar
+sudo mkdir -p /var/www/nginx-default/eclipse/downloads/drops/R-3.6.1-201009090800
+sudo cp ~/Desktop/ecj-3.6.1.jar /var/www/nginx-default/eclipse/downloads/drops/R-3.6.1-201009090800/
+grep -n -r -I --color "download.eclipse.org" .
+python dissonance/fix_ecj.py
+ant -Dauto.fetch=true all -Dhy.javac.compiler=modern
+Build Successful on 8/24/2012 with Ubuntu 8.04 x86
+

File dissonance/fix_ecj.py

View file
+import fileinput, sys
+
+paths = ('./common_resources/make/depends.properties', './target/hdk/build/ant/depends.properties')
+find = 'eclipse.base=http://download.eclipse.org/'
+replace = 'eclipse.base=http://localhost/'
+
+for path in paths:
+    for line in fileinput.input(path, inplace=1):
+        sys.stdout.write(line.replace(find, replace))
+

File dissonance/fix_zlib.py

View file
+import fileinput, sys
+
+for line in fileinput.input('classlib/modules/archive/make/depends.properties', inplace=1):
+    sys.stdout.write(line.replace('zlib.url=http://zlib.net/', 'zlib.url=http://localhost/'))
+