HOWTO Build Everything
Requirements
- Ant version 1.7 or above (we're not kidding)
- Java 5
- Perl 5.8.4 or above
Step 1: Get the Source
We assume you're using Eclipse, if not you may be on your own figuring out a couple of these steps.
See
How to get the source
Step 2: Command line Compile
- cd to the /Build directory of your workspace using a command shell.
- give ANT the required memory using set ANT_OPTS=-XX:PermSize=128m -Xms256m -Xmx1g
- run ant dist to compile and distribute the server (or ant clean dist to clean and build).
- The server is built.
- run ant dbreset to create the ziptie database
Step 3: Eclipse Compile
It is not a case of Step 2
or Step 3, both steps are necessary as Step 2 entails some code-generation.
1 select all projects in your environment and "Refresh" them. This will synchronize the source tree with the file system, picking up generated files.
2 set the Target Platform:
Go to Window->Preferences->Plug-in Development->Target Platform and change the Location to point at workspace/TargetPlatform/eclipse
3 Go to Project->Clean and perform a full clean of all projects
If you're going to be doing any real development of ZipTie you should go to
this page next.