Changes between Version 39 and Version 40 of Be a CIVL developer


Ignore:
Timestamp:
02/02/17 05:06:22 (9 years ago)
Author:
ziqing
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Be a CIVL developer

    v39 v40  
    3131a. Check out the trunk, and create the project using the New Java Project Wizard as usual, naming it "CIVL". The .project, .classpath, and other Eclipse meta-data are already in the SVN archive, saving you a bunch of work.
    3232a. If default_build.properties matches the configuration of your system, then you can skip this step. Otherwise, you may need to create a file build.properties in the directory containing build.xml. Copy and paste the content from any file under properties, edit each entry with the path configured in your system. The newly created file build.properties will automatically be used by ant to to build the .jar file.
     33a. Navigate to Preferences -> Java -> Build Path -> ClassPath Variables, and then select New to create a classpath variable VSL, and specify its value to be /opt/vsl.
     34a. 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.
     35a. Somewhere on your system, create a plain text file containing exactly the following two lines:
     36{{{
     37#!/bin/sh
     38java -jar /Path/To/Your/workspace/CIVL/civl.jar $@
     39}}}
     40where "/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{{{
     42alias civl='java -jar /Path/To/Your/workspace/CIVL/civl.jar'
     43}}}
     44
     45
    3346
    3447== Using Subversion in command-line ==