RepositoryExport - Trench-Wars/twcore GitHub Wiki

How to get a copy of source code from the Subversion repository

(TODO)

Note: After exporting your project from the subversion repository with Eclipse make sure you set your project settings to java version 5 compability:

  1. Right-click the TWCore project in the Java view
  2. Select Properties
  3. Click on Java Compiler in the tree left
  4. Enable Enable project specific settings
  5. Select 5.0'' as ''Compiler compliance level'' and make sure ''Use default compliance settings is enabled.
  6. Click yes if Eclipse asks you to rebuild the project.

If you still get errors about for example missing class java.lang.Enum, make sure you have the correct JRE set:

  1. Right-click the TWCore project in the Java view
  2. Select Properties
  3. Click on Java Build Path in the tree left
  4. Click on the tab Libraries'' and select the ''JRE System Library.
  5. Click on the button Edit... on the right
  6. Choose a JRE. Usually the Workspace default JRE works as long as it is 1.5.0 or higher.
  7. Close the window by clicking Finish
  8. Click OK