Changes between Version 57 and Version 58 of Be a CIVL developer


Ignore:
Timestamp:
02/24/23 09:56:57 (3 years ago)
Author:
Alex Wilton
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Be a CIVL developer

    v57 v58  
    54541. You probably will want to change the package presentation to the hierarchical view since it makes navigating the code much easier. Click the three vertical dots at the top right of the Package Explorer window (where your projects are) and then press "Package Presentation > Hierarchical". \\\\
    55551. Open up the file `dev.civl.com/build_default.properties`. If the value of `root.parent` does not match the absolute path to the containing folder of the VSL dependencies folder, `vsl-X.XX`, that you downloaded earlier then perform the following nested instructions:
    56   a. Close `build_default.properties` and then make a copy of it (still in `dev.civl.com`) called `build.properties`. Do not delete `build_default.properties` since this is tracked by SVN.
    57   a. Open up `build.properties` and replace the value of `root.parent` with the absolute path to the containing folder of `vsl-X.XX`. If you are on Windows, you must replace backslashes `\` with forward slashes `/`. For example, if you are on Windows and your path to `vsl-X.XX` looks like `C:\Program Files\vsl-X.XX`, then the value of `root.parent` will be `C:/Program Files`.
    58   a. Save and close the file. \\\\
     56  1. Close `build_default.properties` and then make a copy of it (still in `dev.civl.com`) called `build.properties`. Do not delete `build_default.properties` since this is tracked by SVN.
     57  1. Open up `build.properties` and replace the value of `root.parent` with the absolute path to the containing folder of `vsl-X.XX`. If you are on Windows, you must replace backslashes `\` with forward slashes `/`. For example, if you are on Windows and your path to `vsl-X.XX` looks like `C:\Program Files\vsl-X.XX`, then the value of `root.parent` will be `C:/Program Files`.
     58  1. Save and close the file. \\\\
    59591. Next we will point Eclipse to where the dependencies for CIVL are.
    60   a. Open up the Eclipse Preferences and then navigate to "Java > Build Path > Classpath Variables".
    61   a. Press "New...". A new popup window will appear.
    62   a. Enter `VSL` for the "Name:" field and then for the "Path:" field, enter the path to `vsl-X.XX`.
    63   a. Press "Ok". Then press "Apply and Close". Eclipse will ask you if you want to do a full rebuild. Press "Yes". \\\\
     60  1. Open up the Eclipse Preferences and then navigate to "Java > Build Path > Classpath Variables".
     61  1. Press "New...". A new popup window will appear.
     62  1. Enter `VSL` for the "Name:" field and then for the "Path:" field, enter the path to `vsl-X.XX`.
     63  1. Press "Ok". Then press "Apply and Close". Eclipse will ask you if you want to do a full rebuild. Press "Yes". \\\\
    64641. Now we will run our ant scripts to perform our one-time task of running ANTLR.
    65   a. Right-click on `dev.civl.abc/build.xml`. Press "Run As > 1 Ant Build". After about 20 seconds, the console should have displayed BUILD SUCCESSFUL.
    66   a. Right-click on `dev.civl.abc` and press "Refresh".
    67   a. Perform the previous two steps for the project `dev.civl.mc`.
     65  1. Right-click on `dev.civl.abc/build.xml`. Press "Run As > 1 Ant Build". After about 20 seconds, the console should have displayed BUILD SUCCESSFUL.
     66  1. Right-click on `dev.civl.abc` and press "Refresh".
     67  1. Perform the previous two steps for the project `dev.civl.mc`.
    6868
    6969== Running CIVL ==