Saturday, January 16, 2016
eclipse or Spring
** download: http://www.eclipse.org/downloads/
> extract
: $ tar zxvf ~/folder/eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz
: $ cd ~/
: >. move eclipse folder ; install to /opt/
: $ sudo mv ~/다운로드/eclipse /opt/
: $ sudo mv ~/eclipse /opt/
$ sudo apt-get install libsvn-java
: error message
: Failed to load JavaHL Library.
: These are the errors that were encountered:
: no libsvnjavahl-1 in java.library.path
: no svnjavahl-1 in java.library.path
: no svnjavahl in java.library.path
: java.library.path = /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
-> http://subclipse.tigris.org/wiki/JavaHL
** issue# JavaHL library
> search "JavaHL library"
$ apt-get install libsvn-java # Use sudo in Ubuntu
Next, find the path where the JavaHL library is installed, as you will need to
know this path for the following instructions:
$ find / -name libsvnjavahl-1.so # Use sudo in Ubuntu
..
-Djava.library.path=</path/to/library>
Example:
-Djava.library.path=/usr/lib/jni
CollabNet Subversion installs into /opt/CollabNet_Subversion. So if you are using that package, you need this:
-Djava.library.path=/opt/CollabNet_Subversion/lib
>> ex. eclipse.ini
..
-showsplash
org.eclipse.platform
-framework
plugins/org.eclipse.osgi_3.4.0.v20080605-1900.jar
-vmargs
-Djava.library.path=/opt/CollabNet_Subversion/lib
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
** spring shourt cut
mkdir /data/develop
mv sts-bundle /data/develop/
/data/develop/sts-bundle/
kys@gig:/data/develop/sts-bundle$ ls -1 /data/develop/sts-bundle/sts-3.7.2.RELEASE/
META-INF
STS <---------------- 실행파일
STS.ini
artifacts.xml
configuration
dropins
features
icon.xpm
license.txt
open_source_licenses.txt
p2
plugins
readme
kys@gig:/data/develop/sts-bundle$
$ # get STS
$ tar -zxvf sts*
$ sudo mv sts-bundle /opt
$ cd /opt/sts-bundle/sts-3.5.1.RELEASE
: $ sudo ln -s /opt/sts-bundle/sts-3.5.1.RELEASE/STS /usr/local/bin/sts
sudo ln -s /data/develop/sts-bundle/sts-3.7.2.RELEASE/STS /usr/local/bin/sts
$ sudo vi /usr/share/applications/sts.desktop
[Desktop Entry]
Name=STS
Exec=/usr/local/bin/sts
Terminal=false
StartupNotify=true
Icon=/data/develop/sts-bundle/icon.xpm
Type=Application
: $ # add extentions vrapper, color-theme, gradle support
: $ # set emacs key binding as default key
** ini
- STS.ini
#+TITLE: sts.ini
#+begin_src
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms1024m
-XX:MaxPermSize=512m
-Xverify:none
-Xmx1200m
#+end_src
** 메모리 사용 보기
Window > Preferences > General > [check] Show heap Status
** turn off spell check
eclipse performance ; spell check
spell check 해제 : Preferences → General → Editors → Text Editors → Spelling > 체크 해제.
** format
Java > Code Style > Formatter
[Tab policy] Spaces only , indent size: 2
[New Lines] Insert new line
-> [uncheck] in empty class body
-> [uncheck] in empty method body
** theme
- download Eclipse Color Theme
http://eclipsecolorthemes.org/
- line format
Market Place -> Search "Eclipse Color Theme"
install
> download theme apply
> Window > Preferences > General > Appearance > Color Theme
Sunburst
fronttenddev
> line wrapping ; max line width = 120
> [comments] [uncheck] /** and */ on separate lines
> Block comments settigns [uncheck] /* and */ on separate lines
> line width : 120
Web - Css Files - Editor > line width 72 --> 120
- HTML Files : line width 72 --> 120
- JSP Files >
- XML - XML FIles > Editor > line width : 72 --> 120
Subscribe to:
Post Comments (Atom)
Pranten
Pranten
-
* Cinnamon shortcut The Complete List Of Linux Mint 18 Keyboard Shortcuts For Cinnamon by Gary Newell Updated March 23, 2017 1. Toggle...
-
* postgres - pgmodelear ** new version > download: https://github.com/pgmodeler/pgmodeler sudo apt-get install qt-sdk sudo apt-get ins...
-
how to connect postgres in openoffice --> https://wiki.openoffice.org/wiki/Base/connectivity/PostgreSQL Base/connectivity/PostgreS...
No comments:
Post a Comment