Changes between Version 43 and Version 44 of Be a CIVL developer
- Timestamp:
- 02/02/17 05:33:49 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Be a CIVL developer
v43 v44 34 34 a. Do a clean build. Everything should compile. Generate the civl.jar by right-clicking (or ctrl-click on OS X) the build.xml file and Run As->Ant Build. 35 35 a. Somewhere on your system, create a plain text file containing exactly the following two lines: 36 {{{36 {{{ 37 37 #!/bin/sh 38 38 java -jar /Path/To/Your/workspace/CIVL/civl.jar $@ 39 }}} 40 where "/Path/To/Your/workspace"is replaced with the path to your Eclipse workspace directory. Name this file "civl", put it in your PATH, and make it executable (chmod ugo+x civl). Alternatively, you can define an alias in your .profile, .bash_profile, .bashrc, or equivalent:39 }}} 40 where {{{/Path/To/Your/workspace}}} is replaced with the path to your Eclipse workspace directory. Name this file "civl", put it in your PATH, and make it executable (chmod ugo+x civl). Alternatively, you can define an alias in your .profile, .bash_profile, .bashrc, or equivalent: 41 41 {{{ 42 42 alias civl='java -jar /Path/To/Your/workspace/CIVL/civl.jar' 43 43 }}} 44 44 a. From a terminal window, execute "civl config". This should find the theorem provers in your PATH and create a file .sarl in your home directory. 45 45 a. In Eclipse, navigate to "Run->Run Configurations... Create a new JUnit configuration. "Name it "CIVL Regression Tests". Select "Run all tests in the selected project..." and navigate to the folder "test/regress" in the CIVL project. The Test runner should be JUnit 4. Under the Arguments tab, type "-ea" (without the quotes) in the VM arguments area (to enable assertion checking). 46 46 47 47 == Using Subversion in command-line ==
