Flex Builder 3的破解

最近想学flex,用的是eclipse的插件Flex Builder 3.0 plugin,因收费,所以从网上找了破解方法,整理下。

  1. package  com.adobe.flexbuilder.project.asn.flexbuilder3;
  2. import  com.adobe.asneu.a;
  3. import  com.adobe.flexbuilder.project.asn.d;
  4. import  java.util.Calendar;
  5. import  java.util.Date;
  6. public   final   class  FlexBuilder3License  implements  d {
  7.      public   static   final   boolean  fIsBeta  =   false ;
  8.      public   static   final   int  defaultTrialDays  =   61 ;
  9.      public   static   final   int  sixtyDayTrialExtension  =   61 ;
  10.      public   static   final   int  ninetyDayTrialExtension  =   91 ;
  11.      public   static   final  FlexBuilder3License BAD_LICENSE  =   new  FlexBuilder3License();
  12.      public   static   final  FlexBuilder3License TRIAL_LICENSE  =   new  FlexBuilder3License(
  13.              false );
  14.      public   static   final  FlexBuilder3License BETA_LICENSE  =   new  FlexBuilder3License(
  15.              false );
  16.      private   boolean  fValid;
  17.      private  Date fExpireDate;
  18.      private   boolean  fIsEdu;
  19.      private   boolean  fIsPro;
  20.      private   boolean  fIsNFR;
  21.      private   int  fIsTryout;
  22.      private  FlexBuilder3License() {
  23.         fValid  =   false ;
  24.         fExpireDate  =   new  Date();
  25.         fIsEdu  =   false ;
  26.         fIsPro  =   false ;
  27.         fIsNFR  =   false ;
  28.         fIsTryout  =   0 ;
  29.     }
  30.      private  FlexBuilder3License( boolean  flag) {
  31.         fValid  =   false ;
  32.         fExpireDate  =   new  Date();
  33.         fIsEdu  =   false ;
  34.         fIsPro  =   false ;
  35.         fIsNFR  =   false ;
  36.         fIsTryout  =   0 ;
  37.         fValid  =   true ;
  38.     }
  39.      public  FlexBuilder3License(a a1) {
  40.         fValid  =   false ;
  41.         fExpireDate  =   new  Date();
  42.         fIsEdu  =   false ;
  43.         fIsPro  =   false ;
  44.         fIsNFR  =   false ;
  45.         fIsTryout  =   0 ;
  46.         fIsPro  =   true ;
  47.     }
  48.      public   boolean  isValid() {
  49.          return  fValid;
  50.     }
  51.      public   int  getMajorVersion() {
  52.          return   2 ;
  53.     }
  54.      public  Date getExpirationDate() {
  55.         Calendar calendar  =  Calendar.getInstance();
  56.         calendar.set( 2 ,  2 );
  57.         calendar.set( 5 ,  15 );
  58.         calendar.set( 1 ,  2888 );
  59.         fExpireDate  =  calendar.getTime();
  60.          return  fExpireDate;
  61.     }
  62.      public   int  getEvalDays() {
  63.          return   9999 ;
  64.     }
  65.      public   long  getEvalDaysLeft() {
  66.          return   9999 ;
  67.     }
  68.      public   boolean  isExpired() {
  69.          return   false ;
  70.     }
  71.      public  String getEdition() {
  72.          return  Messages3.getString( " FlexBuilderLicense.Pro " );
  73.     }
  74.      public   boolean  isTrial() {
  75.          return   false ;
  76.     }
  77.      public  String getLastWarningMessage() {
  78.          return   null ;
  79.     }
  80.      public   boolean  isDateBased() {
  81.          return   false ;
  82.     }
  83.      public  String toString() {
  84.          return  Messages3.getString( " FlexBuilderLicense.ProductName " );
  85.     }
  86.      public   boolean  isMxmlCompileEnabled() {
  87.          return   false ;
  88.     }
  89.      public   boolean  isIPRestricted() {
  90.          return   false ;
  91.     }
  92.      public   boolean  isTimeoutRestricted() {
  93.          return   false ;
  94.     }
  95.      public   boolean  isEducationalVersion() {
  96.          return   false ;
  97.     }
  98.      public   boolean  isPro() {
  99.          return   true ;
  100.     }
  101.      public   boolean  isUpgrade() {
  102.          return   false ;
  103.     }
  104.      public   boolean  isUpsell() {
  105.          return   false ;
  106.     }
  107.      public   boolean  isNFR() {
  108.          return   false ;
  109.     }
  110.      public   boolean  isUpgradeable() {
  111.          return   ! fIsEdu  &&   ! fIsNFR  &&   ! fIsPro;
  112.     }
  113.      public   int  isTryout() {
  114.          return  fIsTryout;
  115.     }
  116.      public   int  extendTrial() {
  117.          return   1 ;
  118.     }
  119. }

把上面的类从新编译一下,替换C:/Program Files/Adobe/Flex Builder 3 Plug-in/eclipse/plugins/com.adobe.flexbuilder.project_3.0.194161下zornproject.jar这个jar文件的里的与这个类的同名文件。(我得FlexBuidler安装在c盘)我用的是eclipse插件版的,那个安装版的没试过。

 

我已把zornproject.jar 这个jar文件 从新编译打的包,直接替换这个jar文件即可。

下载地址:http://download.csdn.net/source/722751

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值