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:
- Right-click the TWCore project in the Java view
- Select Properties
- Click on Java Compiler in the tree left
- Enable Enable project specific settings
- Select 5.0'' as ''Compiler compliance level'' and make sure ''Use default compliance settings is enabled.
- 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:
- Right-click the TWCore project in the Java view
- Select Properties
- Click on Java Build Path in the tree left
- Click on the tab Libraries'' and select the ''JRE System Library.
- Click on the button Edit... on the right
- Choose a JRE. Usually the Workspace default JRE works as long as it is 1.5.0 or higher.
- Close the window by clicking Finish
- Click OK