Archive
[How to] Make Subversion ignore files and folders
To ignore for eample a folder “bin”: $ svn propset svn:ignore bin . To ignore for multiple a file and/or folder to ignore: Create a text file, for example File : ignore.txt obj bin $ svn propset svn:ignore -F ignore.txt . can also edit ignore list $ svn propedit svn:ignore .
SVN Tagging.
Tagging을 하기 위해선 release 된 버젼이 있어야한다.
릴리즈된 버젼은 당연히 버젼명에서 “SNAPSHOT” 딱지를 뗀 상태를 이야기한다.
$ svn ci $ ls tags trunk $ svn cp /trunk/ tags/PROJECT-NAME_VERSION
1. Release 버젼을 commit한다.
2. Release 버젼을 tags 폴더 밑으로 “svn cp”한다.
3. 이후 trunk의 버전에 “SNAPSHOT”를 추가하여 (버전)업하면된다.
(예: 1.0-alpha-1 => 1.0-alpha-2-SNAPSHOT)
4. 필요에 따라 tags 폴더의 “svn up”를 수행한다.
java.lang.InstantiationError
public class InstantiationError
extends IncompatibleClassChangeError
Thrown when an application tries to use the Java new construct to instantiate an abstract class or an interface.
Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.
Since: JDK1.0
See Also: Serialized Form
Two NetBeans Keyboard Shortcuts That Will Change Your Life (Forever)
ctrl + ;
ctrl + shift + ;
That’s all.
Detail – Two NetBeans Keyboard Shortcuts That Will Change Your Life (Forever)
try also “shift + enter”.
Double integration between Chrome and Delicious
Right click on the address bar and select edit search engines. Click on add to create a new engine and add the following values, obviously replacing USERNAME with your Delicious username.
- Name: Delicious
- Keyword: dl
- Url: http://delicious.com/search?p=%s&chk=&fr=del_icio_us&lc=1&atags=&rtags=&context=userposts|USERNAME|
Click on ok and you’re done!
http://blog.andreaolivato.net/open-source/double-integration-between-chrome-and-delicious.html
TestNG – Test Class Life cycle
TestNG를 사용하면 테스트 메소드 외의 것들을 지정할 수 있다; @Configuration어노테이션을 사용하여 클래스 안에 설정 메소드라고 하는 특정 메소드를 지정할 수 있다. 다음은 네 가지 유형의 설정 메소드들이다:
beforeTestClass메소드 : 테스트 메소드가 실행되기 전, 클래스가 인스턴스로 된 후에 실행된다.afterTestClass메소드 : 클래스의 모든 테스트 메소드가 실행된 후 이 메소드가 실행된다.beforeTestMethod메소드 : 클래스의 모든 테스트 메소드가 실행되기 전에 이 메소드가 실행된다.afterTestMethod메소드 : 클래스의 모든 테스트 메소드들이 실행된 후 이 메소드가 실행된다.
그림 2는 테스트 클래스의 수명주기 이다.

발취 : http://www.ibm.com/developerworks/kr/library/j-testng/
Make it work and then make it fast.
RTSP URI scheme for DVB services in a MPEG-2 TS delivered over IP sessions controlled by RTSP
A.2
RTSP URI scheme for DVB services in a MPEG-2TS delivered over IP sessions controlled by RTSP
The RTSP URI as defined in RFC2326 [12] is extended in order to reference specific components (e.g. services,program events) in a MPEG-2 transport stream delivered over IP and controlled by RTSP [12].
The URI scheme is defined as follows:rtsp_URL = ( "rtsp:" | "rtspu:" ) "//" host [ ":" port ] [ abs_path ] host = <A legal Internet host domain name of IP address (in dotted decimal form), as defined by Section 2.1
Protocol suite: TCP/IP. Protocol type: Application layer protocol. Port: 554 (TCP, UDP). URI: rtsp: SNMP MIBs: Working groups: mmusic, Multiparty Multimedia Session Control. Links:
http://www.networksorcery.com/enp/protocol/rtsp.htm
Get DvbLocator(DVB Locator) from XletContext(Xlet context)
ServiceContext sc = ServiceContextFactory.getInstance().getServiceContext(xletcontext);
Service current=sc.getService();
System.out.println("Service: "+ current.toString());
DvbLocator locator = (DvbLocator) sc.getService().getLocator();