r4 - 14 Nov 2007 - 14:41:32 - RyanKruseYou are here: TWiki >  Developer Web  >  HowtoBuildServer > HowtoBuildEverything

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

  1. cd to the /Build directory of your workspace using a command shell.
  2. give ANT the required memory using set ANT_OPTS=-XX:PermSize=128m -Xms256m -Xmx1g
  3. run ant dist to compile and distribute the server (or ant clean dist to clean and build).
  4. The server is built.
  5. 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
target_platform.png

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.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback