
Wednesday, February 29, 2012
Compiling the Apache Flex SDK with IntelliJ
very useful blog from quetwo , he even made a video for it, check it out

Tuesday, February 28, 2012
Eclipse slow responding while refreshing external folders
today, my Eclipse is very slow when refreshing external folder
i found this blog from Filip Galabov's Homepage.
might be useful, check here
i found this blog from Filip Galabov's Homepage.
might be useful, check here
Tuesday, February 14, 2012
Flash Builder 4.6 plugin install for Eclipse
see : http://kb2.adobe.com/cps/921/cpsid_92180.html
Flash Builder 4.6 supports installation as a plugin to an existing Eclipse instance. To do so:
Flash Builder 4.6 supports installation as a plugin to an existing Eclipse instance. To do so:
- Complete the installation process as described above.
- Navigate to the installed Flash Builder installation location and open the utilities folder.
- Run the executable Adobe Flash Builder 4.6 Plug-in Utility.exe.
- Select the language and click on OK.
- Select the Flash Builder installation location if prompted.
- Select the Eclipse folder into which you want Flash Builder 4.6 to be plugged into and click Next. (Note: Your copy of Eclipse must be version 3.6/3.6.1/3.6.2/3.7, 32-bit and must contain a folder named “dropins”)
- Review the pre-Installation summary and click on Install
- Following installation, it is recommended that you edit the eclipse.ini file for your Eclipse instance, so that it includes the following settings:
-vmargs -Xms256m -Xmx512m -XX:MaxPermSize=256m -XX:PermSize=64m
Thursday, February 9, 2012
Friday, January 6, 2012
java URLEncoder
import org.apache.commons.codec.EncoderException;
import org.apache.commons.codec.net.URLCodec;
public static String encodeURL(String url) {
try {
return new URLCodec().encode(url);
} catch (EncoderException e) {
return null;
}
}
or
String inputEnc= URLEncoder.encode(input,"UTF-8"); // jakarta-commons/commons-codec.jar
import org.apache.commons.codec.net.URLCodec;
public static String encodeURL(String url) {
try {
return new URLCodec().encode(url);
} catch (EncoderException e) {
return null;
}
}
or
String inputEnc= URLEncoder.encode(input,"UTF-8"); // jakarta-commons/commons-codec.jar
Wednesday, January 4, 2012
disable caching for Java servlet
// Set standard HTTP/1.1 no-cache headers.
response.setHeader("Cache-Control", "private, no-store, no-cache, must-revalidate");
// Set standard HTTP/1.0 no-cache header.
response.setHeader("Pragma", "no-cache");
Friday, December 30, 2011
Debug Flex RSL in Intellij Idea
make sure to set -static-rsls="true"
ref:
http://youtrack.jetbrains.net/issue/AS-220
ref:
http://youtrack.jetbrains.net/issue/AS-220
Subscribe to:
Posts (Atom)