本文转自:http://www.blogjava.net/vip01/archive/2008/09/08/227738.html
下载地址 http://update.aptana.com/update/studio/3.2/aptana_update_015414.zip
1 package com.aptana.ide.core.licensing; 2 3 import java.util.Calendar; 4 5 public final class ClientKey { 6 7 public static final String BEGIN_LICENSE_MARKER = " --begin-aptana-license-- " ; 8 9 public static final String END_LICENSE_MARKER = " --end-aptana-license-- " ; 10 11 private ClientKey( int type, String email, long expiration) { 12 } 13 14 public static ClientKey decrypt(String encrypted, String email) { 15 return new ClientKey( 1 , " z " , 1l ); 16 } 17 18 public boolean isCloseToExpiring() { 19 return false ; 20 } 21 22 public boolean isValid() { 23 return true ; 24 } 25 26 public boolean isCloseToMatching() { 27 return false ; 28 } 29 30 public boolean isExpired() { 31 return false ; 32 } 33 34 public String getEmail() { 35 return " z@z.com " ; 36 } 37 38 public Calendar getExpiration() { 39 Calendar expirationCal = Calendar.getInstance(); 40 expirationCal.set( 2088 , 7 , 8 ); 41 return expirationCal; 42 } 43 44 public boolean isTrial() { 45 return false ; 46 } 47 48 public boolean isPro() { 49 return true ; 50 } 51 52 public boolean shouldProPluginsRun() { 53 return true ; 54 } 55 56 public static String trimEncryptedLicense(String encrypted) { 57 String newEncrypted = encrypted; 58 newEncrypted = newEncrypted.trim(); 59 newEncrypted = newEncrypted.replaceAll( " --begin-aptana-license-- " , "" ); 60 newEncrypted = newEncrypted.replaceAll( " --end-aptana-license-- " , "" ); 61 newEncrypted = newEncrypted.replaceAll( " \\s+ " , "" ); 62 return newEncrypted; 63 } 64 65 } 66把邮箱部分改成你要的 编译 替换 username 你填的邮箱 key随便 然后就可以通过验证,并下载pro插件了 这次貌似下载以后的pro插件不要再修改什么了 json插件一切正常
转载于:https://www.cnblogs.com/feima-lxl/archive/2008/10/02/1303040.html
相关资源:Aptana_Studio_3_Setup_3.6.1.part1.rar