记事本+js的时代已经过去,一个让人感动的JavaScript的IDE—Aptana,Aptana是基于eclipse开发,功能很丰富,网上很多资料就不多说了。看效果:
记事本+js的时代已经过去,一个让人感动的JavaScript的IDE—Aptana,Aptana是基于eclipse开发,功能很丰富,网上很多资料就不多说了。看效果:

看到这个,你应该明白Aptana对于JS或者AJAX开发有多么的重要了。
我是以eclipse的插件形式来安装Aptana的,也可以直接下载Aptana Studio(以前叫Aptana IDE)
安装步骤就不多说了,很简单,我安装的是eclipse3.4.1,给大家一个汉化地址:
http://build.eclipse.org/technology/babel/test-updates/ganymede/ (以更新形式安装,安装是选择Simplified Chinese即可)
下面说下Aptana的破解,
首先完成这一步:Installing Aptana Studio as a Plugin for Eclipse
找到\eclipse\plugins\com.aptana.ide.core_1.2.1.020137.jar这个文件,因为版本号可能不同,只有找到com.aptana.ide.core_开头的就可以了,复制出来,解压出来
找到com\aptana\ide\core\licensing下的ClientKey.class,放在D盘,这个文件就是管理客户端KEY的字节码文件
去下载个jad工具,此工具可以将class的字节码发编译为java代码,网上可以找到此工具,下载后,放在D盘,即D:/jad.exe
然后开始-cmd,进入D盘,打命令:jad ClientKey.class
打完这两句后,将生产一个jad文件,保存为ClientKey.java,将里面的全部代码换成下面的代码:

Code
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: ClientKey.java
package com.aptana.ide.core.licensing;
import java.util.Calendar;
import java.util.TimeZone;
public final class ClientKey
{
public ClientKey(int type, String email, long expiration)
{
this.type = type;
this.email = email;
this.expiration = expiration;
}
public boolean isCloseToExpiring()
{
return false;
}
public boolean isValid()
{
return true;
}
public boolean isCloseToMatching()
{
return false;
}
public boolean isExpired()
{
return false;
}
public String getEmail()
{
return email;
}
public Calendar getExpiration()
{
Calendar expirationCal = Calendar.getInstance();
expirationCal.add(Calendar.YEAR, 50);
return expirationCal;
}
public boolean isTrial()
{
return false;
}
public boolean isPro()
{
return !isTrial();
}
public boolean shouldProPluginsRun()
{
if(isPro())
return true;
else
return !isExpired();
}
public static String trimEncryptedLicense(String encrypted)
{
String newEncrypted = encrypted;
newEncrypted = newEncrypted.trim();
newEncrypted = newEncrypted.replaceAll("--begin-aptana-license--", "");
newEncrypted = newEncrypted.replaceAll("--end-aptana-license--", "");
newEncrypted = newEncrypted.replaceAll("\\s+", "");
return newEncrypted;
}
public static final String BEGIN_LICENSE_MARKER = "--begin-aptana-license--";
public static final String END_LICENSE_MARKER = "--end-aptana-license--";
public static final int PRO = 0;
public static final int TRIAL = 1;
private static final TimeZone GMT = TimeZone.getTimeZone("GMT");
public static final String EMAILS_NON_MATCHING = "EMAILS_NON_MATCHING";
public static final ClientKey EMPTY_KEY = new ClientKey(0, "youemail@163.com", 0L);
private String email;
private long expiration;
private int type;
}
保存即可,然后“开始”-cmd,进入D盘,打命令:javac ClientKey.java
生成一个新的ClientKey.class,将它替换掉com.aptana.ide.core_1.2.1.020137.jar\com\aptana\ide\core\licensing下的ClientKey.class即可,然后将com.aptana.ide.core_1.2.1.020137.jar覆盖\eclipse\plugins\下的那个,这样就可以了。
看一下破解后的效果图:

到2058年.....应该够用了。
以上破解信息是从网上整理来的,做个记录。