ANTLR 3.2 is out

Thursday, September 24, 2009 Автор: Sergey Kabashnyuk 0 коммент.

New features

  • Added tree grammar filter=true mode. See Tree pattern matching
  • Added misc.FastQueue and TestFastQueue: A queue that can dequeue and get(i) in O(1) and grow arbitrarily large. A linked list is fast at dequeue but slow at get(i). An array is the reverse. This is O(1) for both operations.
  • Added tree.TreeIterator, a generator that walks a doubly-linked tree. The nodes must know what index they are. It's an Iterator but remove() is not supported. Returns navigation nodes always: UP, DOWN, EOF.
  • Added misc.LookaheadStream: A lookahead queue that knows how to mark/release locations in the buffer for backtracking purposes. I hope to use for both tree nodes and tokens. Just implement nextElement() to say how to get next node or token.

Release Notes

ANTLR Software Download

Ярлыки: ,

My workspace part 1

Wednesday, September 23, 2009 Автор: Sergey Kabashnyuk 0 коммент.
  1. Eclipse installation. Different Eclipse builds for different needs can be found  "Eclipse Downloads". I preferred Eclipse IDE for Java Developers or Eclipse IDE for Java EE Developers. More about difference you can found.  
  2. Unpack you archive
    tar -zxvf eclipse-jee-galileo-linux-gtk.tar.gz
  3. Installation of subversion client for eclipse.  Start Eclipse. Go to the menu Help ->Install new software -> Add ..  Add update site http://download.eclipse.org/technology/subversive/0.7/update-site/. Install Subversive SVN Team Provider.
  4.  After Eclipse restart go the menu Window -> Preferences -> Team -> SVN When you first use the menu, you will be prompted to install connectors. Check SVN Kit 1.2.3.
  5. Now you are ready to use Subversive plugin. Checkout some versioned project. For example http://anonsvn.jboss.org/repos/exo-jcr/
  6. With help maven-eclipse-plugin create eclipse project.
  7. Import new project to eclipse workspace. File->Import->Existing Projects into Workspace.
  8. Set class path variables. Go to the Window -> Preferences -> Java -> Build Path ->  Class path variables. Add new variable M2_REPO  with the value of the path to your maven repository

Links :

  1. How to setup Eclipse debug for eXo JCR core (maven project)

TODO for part 2

  1. Java installation on Ubuntu
  2. Maven installation
Ярлыки: , , , , , ,

Air tickets search system

Monday, September 21, 2009 Автор: Sergey Kabashnyuk 0 коммент.
Ярлыки: ,

Unpack tar.gz

Tuesday, September 8, 2009 Автор: Sergey Kabashnyuk 0 коммент.

To unpack the archive in the form *. tar.gz use the command:

tar xvfz *. tar.gz
Used in the command keys

  • x - allows you to retrieve files from the archive.
  • v - concludes tar detail. This means that the screen will be displayed all found in the archive files. If this option is omitted, the output of the processing will be limited.
  • f - is a mandatory option. Without it, tar tries to use tape instead of the archive file.
  • z - lets you handle archive, compressed gzip (with extension. gz). If you omit this option, tar will report an error. Conversely, this option should not be used for uncompressed files.
Ярлыки:

Opera 10 update on Ubuntu

Tuesday, September 1, 2009 Автор: Sergey Kabashnyuk 0 коммент.
  1. Add source
    deb http://deb.opera.com/opera/ etch non-free
  2. Add key
    wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
  3. (If you get "The following packages cannot be authenticated" warnings, you'll also need this:)
    sudo apt-get install debian-archive-keyring

More links:

OperaBrowser ubuntu wiki

Opera official site

Ярлыки: , , ,