Changes between Version 43 and Version 44 of Be a CIVL developer


Ignore:
Timestamp:
02/02/17 05:33:49 (9 years ago)
Author:
ziqing
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Be a CIVL developer

    v43 v44  
    3434a. 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.
    3535a. Somewhere on your system, create a plain text file containing exactly the following two lines:
    36 {{{
     36  {{{
    3737#!/bin/sh
    3838java -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:
    4141{{{
    4242alias civl='java -jar /Path/To/Your/workspace/CIVL/civl.jar'
    4343}}}
    4444a. 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 
     45a. 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).
    4646
    4747== Using Subversion in command-line ==