Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Update plugin-master source
      2. Go to /plugins-master/portlets/my-subscriptions-portlet
      3. Open command terminal and execute "ant all"

      Fail to compile and the console threw the following error:

      Microsoft Windows [版本 6.1.7601]
      版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
      
      D:\plugins\master\portlets\my-subscriptions-portlet>
      D:\plugins\master\portlets\my-subscriptions-portlet>ant all
      Buildfile: D:\plugins\master\portlets\my-subscriptions-portlet\build.xml
      
      all:
      
      clean:
         [delete] Deleting directory D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\classes
         [delete] Deleting: D:\plugins\master\dist\my-subscriptions-portlet-7.0.0.1.war
      
      deploy:
          [mkdir] Created dir: D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\classes
           [copy] Copying 2 files to D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\lib
           [copy] Copying 1 file to D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\tld
           [copy] Copying 5 files to D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\lib
           [copy] Copying 46 files to D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\classes
           [copy] Copied 7 empty directories to 5 empty directories under D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\classes
          [javac] Compiling 2 source files to D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\classes
          [javac] D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\src\com\liferay\mysubscriptions\portlet\MySubscriptionsPortlet.java:18: 错误: 找不到符号
          [javac] import com.liferay.portal.kernel.security.auth.PrincipalException;
          [javac]                                               ^
          [javac]   符号:   类 PrincipalException
          [javac]   位置: 程序包 com.liferay.portal.kernel.security.auth
          [javac] D:\plugins\master\portlets\my-subscriptions-portlet\docroot\WEB-INF\src\com\liferay\mysubscriptions\portlet\MySubscriptionsPortlet.java:58: 错误: 找不到符号
          [javac]                             throw new PrincipalException();
          [javac]                                       ^
          [javac]   符号:   类 PrincipalException
          [javac]   位置: 类 MySubscriptionsPortlet
          [javac] 2 个错误
      
      BUILD FAILED
      D:\plugins\master\build-common-plugin.xml:422: The following error occurred while executing this line:
      D:\plugins\master\build-common.xml:3406: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      D:\plugins\master\build-common.xml:1468: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      D:\plugins\master\build-common.xml:3049: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      D:\plugins\master\build-common.xml:677: The following error occurred while executing this line:
      D:\plugins\master\build-common.xml:1112: The following error occurred while executing this line:
      D:\plugins\master\build-common.xml:985: Compile failed; see the compiler error output for details.
      
      Total time: 6 seconds
      
      D:\plugins\master\portlets\my-subscriptions-portlet>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                felix.zhang Felix Zhang
                Reporter:
                felix.zhang Felix Zhang
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 41 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 Beta 6