This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Creating A Build
fdb edited this page Oct 27, 2010
·
3 revisions
If you're only interested in running NodeBox, precompiled binaries for Windows and Mac are available at http://github.com/nodebox/scenebuilder/downloads.
- Install Git. I use http://code.google.com/p/git-osx-installer/downloads/list?can=3 but you can use MacPorts or HomeBrew as well.
- Open Terminal (in Applications/Utilities) and type the following commands to clone and build the project:
git clone git://github.com/nodebox/scenebuilder.git
cd scenebuilder
ant dist-mac
- The resulting .dmg file is in dist/mac/SceneBuilder-[version].dmg
Note: The resulting application doesn’t run from the disk image! First copy it to the desktop.
(These instructions assume that the Windows NSI scripts are already integrated. They're not. Copy the example from NodeBox 2 (NSIS) and rework makeinstaller.nsi and makelauncher.nsi.)
- Install Msysgit from http://code.google.com/p/msysgit/downloads/list. During setup, indicate you want to use Unix-style line endings.
- Install Java JDK from http://java.sun.com/javase/downloads/index.jsp. We install the JDK under c:\java\jdk6 and the JRE under c:\java\jre6. Note the directory where you've installed the JRE.
- Install Unicode NSIS from http://www.scratchpaper.com/home/downloads. Note the directory where you've installed it (normally c:\Program Files\NSIS\Unicode).
- If you use the command line, download and install the latest Apache Ant from http://ant.apache.org/bindownload.cgi. Configure JDK_HOME and ANT_HOME under System Properties > Advanced > Environment Variables.
- If you use an IDE, configure it to use the build.xml file in the root.
- Configure the path to NSIS and the Java JRE in build.properties.
- Set the version number in version.properties.
- Run the dist-win Ant target. This will create an installer with the given version number under "dist".
The following commands will install the correct prerequisites and clone and run the project:
sudo apt-get install git-core openjdk-6-jdk ant
git clone git://github.com/nodebox/scenebuilder.git
cd scenebuilder
ant run