1、在http://update15.aptana.org/studio/26124/index.html
中下载最新的aptana最新的eclipse插件,并按照页面中的提示安装(eclipse中稍微不一样);
2、进入\eclipse\plugins下将com.aptana.ide.core_1.5.0.26112.jar(不同版本可能不一致,但都是com.aptana.ide.core_****.jar),复制到F盘下,解压,找到com\aptana\ide\core\licensing下的ClientKey.class和ILicenseKey.class复制到F盘下;
3、到http://download.csdn.net/detail/chssheng2007/2294307
下载jad,解压后放到F盘,“运行”-》“cmd”-》命令行,到F盘下,执行“jad ClientKey.class
”和“jad ILicenseKey.class
”命令,生成ClientKey.jad和
ILicenseKey.jad文件,扩展名改为.java,删除
ClientKey.class和
ILicenseKey.class两个文件;
4、修改ClientKey.java文件为:
// 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;
// Referenced classes of package com.aptana.ide.core.licensing:
// ILicenseKey
public final class ClientKey
implements ILicenseKey
{
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 true;
}
public boolean isExpired()
{
return false;
}
public String getEmail()
{
return email;
}
public Calendar getExpiration()
{
Calendar expirationCal = Calendar.getInstance(GMT);
expirationCal.add(Calendar.YEAR, 50);
return expirationCal;
}
public boolean isTrial()
{
return false;
}
public boolean isPro()
{
return true;
}
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--";
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, "lpluck08@163.com", 0L);
private String email;
private long expiration;
private int type;
}
5、在命令行中执行“javac *.java”,将ClientKey.java和
ILicenseKey.java编译出class文件,放到
com.aptana.ide.core_****.jar的com\aptana\ide\core\licensing目录下,覆盖到
\eclipse\plugins目录下。重启eclipse即可。
分享到:
相关推荐
在Eclipse安装Aptana插件,强力建议用link安装,自动下载安装会出现很多问题,而且浪费时间
资源名称:离线安装eclipse的aptana插件详细 中文WORD版内容简介:Aptana是一个非常强大,开源,Javascript-focused的AJAX开发IDE。 Aptana的特点包括: 1Javascript,HTML,CSS语言的Code Assist功能。 2...
Eclipse安装Aptana插件(js,html语法提示)2(有2部分)
Myeclipse和eclipse安装aptana 详细图解
myeclipse(eclipse)中apnata插件的安装,有时eclipse中的插件可能安装不上,我这里的aptana是个人使用aptana以来的经验,希望对大家有所帮助!
Eclipse aptana 插件离线安装包 aptana ide studio 2.0.5版本,可离线安装此插件,无需用官网的在线安装方式安装。 由于上传文件大小被限制,此包被拆分成4部分,请全部下载下来后一起解压。 (1)...
eclipse4.4 的 aptana 插件 安装 用于js jquery 联想功能 由于用的是最新的eclipse和 aptana ,自己找了好久才找到
eclipse里面安装aptana插件,jquery插件,并关联
Eclipse aptana 插件离线安装包 aptana ide studio 2.0.5版本,可离线安装此插件,无需用官网的在线安装方式安装。 由于上传文件大小被限制,此包被拆分成4部分,请全部下载下来后一起解压。 (1)...
eclipse插件aptana安装包part1
eclipse aptana 3.7插件
Eclipse安装Aptana插件(js,html语法提示)1(有2部分)
Eclipse下破解Aptana 1.2.7
eclipse插件aptana安装包part2
很好的调试JavaScript脚本工具,如果启动时提示JAVA版本过低(或者是稍后安装Aptana插件时直接报错),请检查你系统的JVM版本(进入cmd命令窗口,直接输入 java -version即可查看默认JVM版本)。如果的确是java版本问题...
eclipse aptana黑色 代码颜色主题 eclipse aptana dark theme code
Eclipse aptana 插件离线安装包 aptana ide studio 2.0.5版本,可离线安装此插件,无需用官网的在线安装方式安装。 由于上传文件大小被限制,此包被拆分成4部分,请全部下载下来后一起解压。 (1)...
aptana 这个是eclipse插件,需要选择对应Eclipse版本才可以安装(最新版本不行),具体内容及如何安装资源里面有介绍.如果是想安装win.exe版本的(非Eclipse)看我本人另一个上传资源.Aptana是一个非常强大,开源,...
Zend Studio for Eclipse - 6.0.1(相当Eclipse3.2)下使用通过. 可以对javascript进行断点调试.我认为是目前最好的工具了. 但调试需要firefox流览器.也可以在本站下载.安装. ---------------------------------------...
Zend Studio for Eclipse - 6.0.1(相当Eclipse3.2)下使用通过. 可以对javascript进行断点调试.我认为是目前最好的工具了. 但调试需要firefox流览器.也可以在本站下载.安装. ---------------------------------------...