Wednesday, November 28, 2007

Ubuntu for developers

Other my posts:
Maven for Eclipse
Tomcat for Eclipse
Subversive for Eclipse

Install JDK

howto jdk on ubuntu wiki
sudo aptitude install sun-java5-jdk
update-alternatives --config java


In your home directory within .profile file add lines with changes according your path:
export JAVA_HOME=/home/alexey/java/jdk1.5
export PATH=$JAVA_HOME/bin:$PATH

SmartSVN
Download page
Screenshots
Direct link 3.0.4 !
License for 1 month
how-to-installsetup-smartsvn-in-ubuntu

Picture1: info
Picture2: working
Picture3: add ignore
(Project -> Settings ...)
Note: window resizing on compiz bug


Eclipse
Web Tools Platform All-In-One Package:
Download page(ver. R-2.0-200706260303)
Download direct link(ver. R-2.0-200706260303) !

Picture1: starting
Picture2: info
Picture3: working

Configure Eclipse it at "Window" -> "Preferences..."

Setting formatter:
Java -> Code Style -> Formatter
Choose: "Edit..." or "Import..." or "Export..."
Example: "Import..." this file

Setting templates:
Java -> Editor -> Templates
Choose: "New..." or "Import..." or "Export..."
e.g.0: "Import..." this file
e.g.1: "Edit..." for sysout: "System.out.println(">>> ${user}: ${enclosing_type}.${enclosing_method} ${word_selection} = " + ${word_selection});${cursor}"
e.g.2: "Edit..." for systrace: System.out.println(">>> ${user}: ${enclosing_type}.${enclosing_method}()");

If Content assist doesnt work by "Ctrl"+"Space", so some application intercepts it. Check for in in SCIM. Right button on and choose "SCIM setup". Edit there hotkeys or keyboard for remove necessary for eclipse hotkeys.

Mark occurrences:
Java -> Editor ->
Mark Occurrences
Check the "
Mark occurrences of the selected element in the current file".


P.S.: If you are developer of eXo Platform then look at screenshot of my working directory (java dir within home on ubuntu)

Wednesday, November 14, 2007

WSRP ABC rhymes

WSRP ABC rhymes

A - is for AxisFilter and for AdminClient ( ... and for me - Alexey)
B - is for BlockingInteractionResponse
C - is for Consumer
D - is for DestroyPortlets
E - is for Event and for Extension
F - is for Fault :(
G - is for GetMarkup and for GetResource
H - is for HandleEvents
I - is for InteractionParams and for ImportPortlets
J - is for JSR286ContainerProxyImpl and for JAXBEventTransformer
K - is for ... [1]
L - is for Lifetime
M - is for Modes and for MarkupContext
N - is for NavigationalContext
O - is for Online and for OperationFailedFault
P - is for Producer and for PortletContext
Q - is for ... [2]
R - is for RegistrationOperationsInterface and for RegistrationContext
S - is for ServiceDescriptionInterface and for SessionContext
T - is for TransientStateManager and for Templates (... and for Tiger as written on my sheet)
U - is for Utils and for UpdateResponse
V - is for ... [3]
W - is for WSRPConsumerPlugin, WSRPStarter and WSRPService
X - is for ... [4]
Y - is for ...
Z - is for ... ( is for Zavizionov)


[1]
No source begins with that letter.
There are only sources containing the letter inside: PortletDescription.getKeywords() and PortletKey
[2]
No source begins with that letter.
The class QName used every where inside wsrp (javax.xml.namespace.QName)
[3]
No source begins with that letter.
ResourceValue
[4]
No source begins with that letter.
eXoPlatform =)

Wednesday, November 7, 2007

Wallpaper

Настало время поменять хорошую, но уже надоевшую обоину на рабочем столе.
"Please don’t hurt the web"

Начал осторожно[1] гуглить со словами "wallpaper 1680 1050"
Наткнулся на неплохой сайт с обоинами http://interfacelift.com/wallpaper/

Закачал несколько обоин, из них выбрал самую понравившуюся и поставил на рабочий стол.
Вот выложил принтскрин в моих фотках или прямой линк на картинку


Вот и всё :)
Пишите комменты, постараюсь ответить.

[1] осторожно - это под влиянием полученного утром письма с темой "Выгуглен". Далее, текст письма:
----------------------------------------------------------------------------
http://www.jetstyle.ru/scroogled/
Замечательная [анти]утопия, имеющая все шансы стать реальным будущим...
И сразу после, еще не утратив послевкусия от прочитанного,
"немедленно, доктор, вот эту штучку" (с) пр. Преображенский
http://www.inosmi.ru/stories/07/04/27/3511/236555.html
----------------------------------------------------------------------------