Friday, 2 April 2010

Git Tool

http://msysgit.googlecode.com/files/Git-1.7.0.2-preview20100309.exe

this is for window.

when it asks for something like "how would you like to run git, say "use git bash"

export http_proxy=http://username assword@proxy_address roxy_port

Wednesday, 31 March 2010

[Flex] -Swiz framework [Inject] method

How using the [Inject] Method

There are Two fies - AppDeviceGAL.as , DeviceGAL.mxml

try to move the parameter value from AppDeviceGAL to DeviceGAL (AppDeviceGAL -> DeviceGAL)

---- AppDeviceGAL.as ----
public var aaa:AAAMethod;
.....
aaa.param1= 0;
....

----- AAAMethod ----
[Outject(name="param1")]
[Bindable]
public function set param1(value:int):void
{
_param1 = value;
}
public function get param1():int
{
return _param1;
}

---- DeviceGAL ----
[Inject("aaa")]
public var bbb:AAAMethod;
.....
Alert.show(bbb.param1);

Thursday, 4 March 2010

[Error] Address already in use: JVM_Bind

- Error message

java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)

- Solution
1. open command
2. c:\>netstat -a -n -o
3. check 8080 PID
4. kill the process

Wednesday, 24 February 2010

[Eclipse] -Heap Size and garbage collection (GC)

Window > Preferences > General > check "Show heap status"

You can see current heap size and memory usage

"click bin icon for garbage collection"

Thursday, 11 February 2010

[Flex] RSL - Error

==== Error Message after change to RSL Way ===
VerifyError: Error #1014: Class mx.effects::TweenEffect could not be found.

- Reason
framework.swc or some flex library does not load

- Solution : Change the loading library

- How
Click right button from project > Properties

> Flex Build Path > Library path > extend Flex 3.4
>Move up "framework.swc and datavisulaization.swc"

Wednesday, 10 February 2010

[Flex] BlazDs

1. Create Flex project
2. select option J2EE
3. Finsh Create Flex project
4. Click properties from project
5. Change URL and Context root form "Flex Server"
Root URL : http://localhost:8080/BlazeDS
Context root : BlazeDS
6. "Flex Compiler" -services "C://Unithru/Flex/BlazeDs/WebContent/WEB-INF/flex/services-config.xml" -locale en_US

http://mcchae.egloos.com/5202864 - step 1
http://mcchae.egloos.com/5202859 - setp 2

Tuesday, 9 February 2010

[Error] Tomcat start Error with Eclipse

=== Error message =====

Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.

=== Solution =====

Double click from "servers" console in eclipse
and change start time from "Timeouts"