Usage

We will try to keep releasing our projects regurarly, so You can easly find all of them here.

However, if You are looking for a current (trunk) version of some project, just feel free to contact us for any kind of help. Remember that You can also try to manage all this stuff by yourself.

Below we hopefully try make it easier for You and we write some tips, how to do it. In this description we use following convention that the commands which are leaded by $ should be invoked with normal user permissions and the commands which are leaded by # should be invoked by super user (root).

Version control

We uses subversion and repository is here. If you are looking for more convenient way to see what we have made there You can use websvn by clicking here.

Shortly, to download project you have to:

on *unix systems

$ svn co http://apatrz.org/svn/path/to/funny/project

or:

$ svn co -N http://apatrz.org/svn apatrz-svn
$ cd apatrz-svn
$ svn up path/to/more/funnier/project

on windows

  • download a turtle
  • click, click, checkout, click… and done

java

Most of our project uses maven as project managment tool. We have our maven repository here. Our projects inherit settings from one common parent. So the first thing which you should do is downloading and installing it.

$ svn co http://apatrz.org/svn/repo/apatrz/repsio
$ cd repsio
$ mvn install

In most cases we try to keep following convenction:

$ mvn - will compile
$ mvn package - will create a jar which you can execute by typing: java -jar file.jar
$ mvn -Pexec - will execute, without any coping of libraries to the target etc.
$ mvn -Prelease - will create pack which you can easy run
$ mvn clean - will clean

Note that some projects cannot be executed as a normal application (you know that in our world except simple applications also simultaneously can exists libraries, web applications and even more complicated creatures which scares me all the time).

c++

Depending on the level of complication in project we use just GNU Make or autotools

In both cases:

$ make - will compile
# make install - will install it in Yor system
$ make check - will test project
$ make dist - will create distribution
$ make clean - I forgot what it does…

In the case of using autotools necessary is having it properly installed in system. If You are using operating system similar to GNU Debian (Ubuntu) just type:

# apt-get install automake

, and before make remember about:

$ ./bootstrap
$ ./configure

Information about library dependencies should be placed in INSTALL file somewhere in project directory.

Good luck and have fun…

usage.txt · Last modified: 2010/07/25 18:16 (external edit)
Recent changes RSS feed Creative Commons License Donate Driven by DokuWiki