드디어 sublime text 를 구매했다.

원래 계획은 sublime text 3 정식출시 하면 살까 했는데, 겸사겸사 해서 구매하게 되었다.

EditPlus 를 구매해서 쓰고 있다가, sublime 으로 전향해서 적응중이었다. 적응이 어느정도 끝나서 구매하기로 했다.

개인 70불, 싸다면 싸고 비싸다면 비싼편. (개인 라이선스라 맥/윈도우/리눅스 에서 써도 추가 비용이 들지 않는다)


막판에 phpStorm 으로 할까 고민을 했지만, 똑 적응기간이 필요해서 그냥 sublime 으로 하기로 했다.

phpStorm 은 나중에 테스트.


결제하기로 들어가니, paypal 로 넘어간다.

paypal 에서 직접 신용카드로도 가능한가 보네.(paypal credit? 으로만 되는 줄 알았음)


암튼 결제하고 나니, 라이선스키가 나온다.

Sublime Text 3 열어서 help 에 license 입력하면 끝.



반응형

WRITTEN BY
1day1
하루하루 즐거운일 하나씩, 행복한일 하나씩 만들어 가요.

,

윈도우 - 타이타늄 스튜디오 설치

윈도우8.1 을 사용하고 있다.

타이타늄 사이트에서 다운받아서 설치한다.

http://www.appcelerator.com/

기존 계정으로 로그인하면, 맥/윈도우/리눅스 등 다양한 OS 설치파일을 다운받을 수 있다.

윈도우에서는 별다른 어려움이 없다.


설치후에 실행하면 추가 패키지들을 업데이트 할 것이다. 시간이 꽤 걸린다.


안드로이드 SDK 도 설치한다.(이것도 오래걸린다)

충분한 시간이 필요하니 미리미리 다운받아서 설치해두는 것이 좋을 듯 하다.

요즘 많이 쓰는 4.3 과 4.4.2 SDK 를 설치하는 것이 좋을 듯 하다.




반응형

WRITTEN BY
1day1
하루하루 즐거운일 하나씩, 행복한일 하나씩 만들어 가요.

,

btrfs 를 사용중이다.

df -i 를 해보면 inode 값이 0 이다.

원래 그런 것인가?


관련자료를 찾아본다.

http://www.nrtm.org/index.php/2012/03/13/the-joys-of-btrfs-and-opensuse-or-no-space-left-on-device/comment-page-1/

http://ubuntuforums.org/showthread.php?t=2039786


btrfs 에 대해 찾아보기로 한다.

http://ko.wikipedia.org/wiki/Btrfs

이글을 보면

동적 아이노드 할당

이라는게 있다. 아이노드 값이 정해져 있지 않다는 것인가? 그럼 0 값이 정상?

http://mirr.tistory.com/633

위 글에도 언급되어 있다.

좀더 테스트를 해봐야 겠지만, 문제가 되는 것은 아닌 듯 하다.



반응형

WRITTEN BY
1day1
하루하루 즐거운일 하나씩, 행복한일 하나씩 만들어 가요.

,

우분투에서 세팅하려고 보니 다음과 같은 에러와 함께. 중지된다.

java crashed with SIGABRT

The crashed program seems to use third-party or local libraries:

{your_path}/Titanium_Studio/configuration/org.eclipse.osgi/bundles/294/1/.cp/libswt-atk-gtk-4335.so
{your_path}/Titanium_Studio/configuration/org.eclipse.osgi/bundles/83/1/.cp/os/linux/x86_64/libjnotify.so
{your_path}/Titanium_Studio/configuration/org.eclipse.osgi/bundles/294/1/.cp/libswt-cairo-gtk-4335.so
{your_path}/Titanium_Studio/configuration/org.eclipse.osgi/bundles/178/1/.cp/os/linux/x86_64/libunixfile_1_0_0.so
{your_path}/Titanium_Studio/configuration/org.eclipse.osgi/bundles/294/1/.cp/libswt-gtk-4335.so
{your_path}/Titanium_Studio/configuration/org.eclipse.osgi/bundles/294/1/.cp/libswt-webkit-gtk-4335.so
{your_path}/Titanium_Studio/configuration/org.eclipse.osgi/bundles/294/1/.cp/libswt-pi-gtk-4335.so
{your_path}/Titanium_Studio/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140116-2212/eclipse_1508.so

It is highly recommended to check if the problem persists without those first.

Do you want to continue the report process anyway?

...

UnreportableReason: 이 패키지를 올바르게 설치하지 않았습니다.

뭔가 빠진 패키지가 있는 것일까?


콘솔에서 실행시켜 보면...

$ ./TitaniumStudio.sh 

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
inotify_add_watch: 장치에 남은 공간이 없음
(Build 3.2.3.201404181442) [ERROR]  An error occurred while registering a file watcher
net.contentobjects.jnotify.linux.JNotifyException_linux: Error watching /home/user/Documents/Aptana Rubles : No space left on device
    at net.contentobjects.jnotify.linux.JNotify_linux.addWatch(JNotify_linux.java:109)
    at net.contentobjects.jnotify.linux.JNotifyAdapterLinux.createWatch(JNotifyAdapterLinux.java:137)
    at net.contentobjects.jnotify.linux.JNotifyAdapterLinux.addWatch(JNotifyAdapterLinux.java:114)
    at com.aptana.filewatcher.FileWatcher.addWatch(FileWatcher.java:65)
    at com.aptana.scripting.internal.model.BundleMonitor.beginMonitoring(BundleMonitor.java:123)
    at com.aptana.scripting.ScriptingActivator$1.run(ScriptingActivator.java:114)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb93a55e159, pid=29544, tid=140436528912128
#
# JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libwebkitgtk-1.0.so.0+0x462159]  webkit_web_view_get_type+0x2489
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# {your_home}/Titanium_Studio/hs_err_pid29544.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

웹킷 관련 에러인듯 하다.

주요한 부분은

try "ulimit -c unlimited" before starting Java again

이 부분이다.

위와 같은 에러가 발생한다면, ulimit -c 를 해보면 값이 0 일 것이다.


ulimit 설정을 다음과 같이 입력해준다.

$ vi /etc/security/limits.conf

*               soft    nofile          20480
*               hard    nofile          20480
*               soft    core          10240

재부팅 해보면 해당 지정한 값으로 기본 세팅되어 있을 것이다. (ulimit 에 관한 사항은 별도 검색해보시길 바랍니다.)


이제 다시 Titanium Studio 를 실행해본다.

로그인 정보를 입력한다.


정상적으로 뜬 화면이다.


추가 패키지들을 업데이트를 해야 하나보다.

NodeJS 도 보이고, 그 밑으로 Alloy 프레임워크도 보인다.(nodejs 는 alloy 에서 사용한다고 본것 같다)


# 우분투에서는 nodejs 를 별도로 설치해줘야 하나보다.

위 화면에서 Next 로 진행이 안된다.

https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager

일단

apt-get install nodejs npm

으로 설치후 다시 시도해본다.


윈도우에서는 그냥 Next 로 진행하면 알아서 깔리는데, 우분투에서는 뭔가 문제가 있는지 수동으로 해줘야 한다.

npm install titanium -g

npm install alloy -g

npm install acs -g


android SDK 도 직접 설치해주는 것이 좋다.

http://developer.android.com/sdk/index.html

에서  ADT bundle 아래 SDK Tools Only 를 받아서 적당한 위치에 복사한다.

그 링크를 Titanium Studio 를 열어서  Windows > Preferences 에서  Studio > Platforms > Android 항목에 넣는다.

정확한 위치를 넣어야 한다. 잘못된 위치는 빨간색 경고텍스트가 나온다.





반응형

WRITTEN BY
1day1
하루하루 즐거운일 하나씩, 행복한일 하나씩 만들어 가요.

,

모바일앱을 타이타늄으로 제작해보려한다.
폰갭도 고려대상이었는데, 초보자 입장에서 딱히 고를만한 여유는 없다.

http://www.appcelerator.com/


초보자라 시행착오가 많을 듯 싶다.

검색해보면 자료들이 예전것들이 많아서, 새로 업데이트 된 내용들을 정리하고자 한다.
구체적인 학습계획을 세워보고 진행해야 겠다.

앱에 대한 구상도 미리 해보고.


기대되면서 걱정도 된다.


가입/로그인 하고, 이제 개발환경을 세팅해야 겠다.

우분투(Linux 64) 와 윈도우8.1 환경에서 개발을 진행하게 될 듯 하다.
아이폰(맥) 앱은 아마도 나중에.



반응형

WRITTEN BY
1day1
하루하루 즐거운일 하나씩, 행복한일 하나씩 만들어 가요.

,