2 Replies Latest reply on Jul 13, 2007 2:13 PM by Chris Laprun

    Not able to compile from the source portal 2.6

    Prassana Janarthanan Newbie

      Hello,

      My Env details
      ----------------
      JBoss Portal Version: 2.6
      Did you get Portal from CVS? or download it? : Downloaded it.
      JBoss AS Version: 4.0.5
      Database Vendor and Version : SQL 2005
      JDBC Connector and Version : jtds 1.2
      OS Platform: Unix Solaris x86.

      Error I get when I just do PORTAL_SRC/build/build.sh



      dependancies downladed
      .
      .
      .
      .


      [get-sleepycat] Getting: http://repository.jboss.com/licenses/sleepycat.txt
      [get-sleepycat] To: /u/janarthp/proj/jboss-portal-2.6-src/build/../thirdparty/licenses/sleepycat.txt
      [get-sleepycat] .
      [get-sleepycat] last modified = Mon Apr 09 21:51:59 IST 2007
      [get-license-info.xml] Getting: http://repository.jboss.com/licenses/license-info.xml
      [get-license-info.xml] To: /u/janarthp/proj/jboss-portal-2.6-src/build/../thirdparty/licenses/license-info.xml
      [get-license-info.xml] ..
      [get-license-info.xml] last modified = Mon Apr 09 21:51:59 IST 2007

      _buildmagic:init:
      Trying to override old definition of task property

      configure-project:
      [echo] groups: default
      [echo] modules: common,test,api,web,jems,server,security,identity,search,format,portlet,portlet-server,bridge,faces,portlet-federation,theme,workflow,cms,registration,core,wsrp,core-admin,core-cms,core-management,core-samples,widget

      _buildmagic:modules:most:

      ==============================================================
      ==
      == Executing 'most' in module 'common'...
      ==
      ==

      configure:
      Overriding previous definition of reference to apache.ant.classpath

      _default:compile-classes:
      [mkdir] Created dir: /u/janarthp/proj/jboss-portal-2.6-src/common/output/classes
      [mkdir] Created dir: /u/janarthp/proj/jboss-portal-2.6-src/common/output/gen/classes
      [javac] Compiling 192 source files to /u/janarthp/proj/jboss-portal-2.6-src/common/output/classes
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:34: package org.jboss.portal.common.test.driver.command does not exist
      [execmodules] import org.jboss.portal.common.test.driver.command.StartTestCommand;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:36: cannot find symbol
      [execmodules] symbol : class FailureResponse
      [execmodules] location: package org.jboss.portal.common.test.driver.response
      [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:31: cannot find symbol
      [execmodules] symbol : class ParameterNotBoundException
      [execmodules] location: package org.jboss.portal.common.test.driver
      [execmodules] import org.jboss.portal.common.test.driver.ParameterNotBoundException;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:34: package org.jboss.portal.common.test.driver.command does not exist
      [execmodules] import org.jboss.portal.common.test.driver.command.StartTestCommand;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:35: cannot find symbol
      [execmodules] symbol : class EndTestResponse
      [execmodules] location: package org.jboss.portal.common.test.driver.response
      [execmodules] import org.jboss.portal.common.test.driver.response.EndTestResponse;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:37: cannot find symbol
      [execmodules] symbol : class FailureResponse
      [execmodules] location: package org.jboss.portal.common.test.driver.response
      [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/ThrowableDecoder.java:28: cannot find symbol
      [execmodules] symbol : class FailureResponse
      [execmodules] location: package org.jboss.portal.common.test.driver.response
      [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:75: cannot find symbol
      [execmodules] symbol : class DefaultJavaLangObjectAdapted
      [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
      [execmodules] this(loader, adapteds, new DefaultJavaLangObjectAdapted());
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:106: cannot find symbol
      [execmodules] symbol : class JavaLangObjectMethodDispatcherFactory
      [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
      [execmodules] addAdapted(Object.class, new JavaLangObjectMethodDispatcherFactory(objectAdapted));
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:127: cannot find symbol
      [execmodules] symbol : class AdaptedMethodDispatcherFactory
      [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
      [execmodules] addAdapted(adapted.itf, new AdaptedMethodDispatcherFactory(adapted.object));
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/i18n/LocaleFormat.java:39: cannot find symbol
      [execmodules] symbol : class RFC3066LanguageTagLocaleFormat
      [execmodules] location: interface org.jboss.portal.common.i18n.LocaleFormat
      [execmodules] final LocaleFormat RFC3066_LANGUAGE_TAG = new RFC3066LanguageTagLocaleFormat();
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/i18n/LocaleFormat.java:45: cannot find symbol
      [execmodules] symbol : class RFC3066LanguageTagLocaleFormat
      [execmodules] location: interface org.jboss.portal.common.i18n.LocaleFormat
      [execmodules] final LocaleFormat RFC3066_LANGUAGE_TAG_NO_CACHE = new CachingLocaleFormat(new RFC3066LanguageTagLocaleFormat());
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/net/URLTools.java:112: warning: [deprecation] setConnectionTimeout(int) in org.apache.commons.httpclient.HttpClient has been deprecated
      [execmodules] client.setConnectionTimeout(connTimeoutMillis);
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/net/URLTools.java:116: warning: [deprecation] setTimeout(int) in org.apache.commons.httpclient.HttpClient has been deprecated
      [execmodules] client.setTimeout(soTimeoutMillis);
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
      [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
      [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
      [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:140: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public void setStatus(int arg0, String arg1)
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:42: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public class BufferingResponseWrapper extends HttpServletResponseWrapper
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:42: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public class BufferingResponseWrapper extends HttpServletResponseWrapper
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:119: cannot find symbol
      [execmodules] symbol: class StartTestCommand
      [execmodules] StartTestCommand st = new StartTestCommand(parametrization);
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:119: cannot find symbol
      [execmodules] symbol: class StartTestCommand
      [execmodules] StartTestCommand st = new StartTestCommand(parametrization);
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:121: cannot find symbol
      [execmodules] symbol: class FailureResponse
      [execmodules] if (resp instanceof FailureResponse)
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:123: cannot find symbol
      [execmodules] symbol: class FailureResponse
      [execmodules] FailureResponse fr = (FailureResponse)resp;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:123: cannot find symbol
      [execmodules] symbol: class FailureResponse
      [execmodules] FailureResponse fr = (FailureResponse)resp;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:112: cannot find symbol
      [execmodules] symbol : class StartTestCommand
      [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
      [execmodules] StartTestCommand start = (StartTestCommand)command;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:112: cannot find symbol
      [execmodules] symbol : class StartTestCommand
      [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
      [execmodules] StartTestCommand start = (StartTestCommand)command;
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:138: cannot find symbol
      [execmodules] symbol : class ParameterNotBoundException
      [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
      [execmodules] throw new ParameterNotBoundException(parameterName);
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:159: cannot find symbol
      [execmodules] symbol : class EndTestResponse
      [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
      [execmodules] return new EndTestResponse();
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:176: cannot find symbol
      [execmodules] symbol : class FailureResponse
      [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
      [execmodules] return new FailureResponse(cause);
      [execmodules] ^
      [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/ThrowableDecoder.java:55: cannot find symbol
      [execmodules] symbol : class FailureResponse
      [execmodules] location: class org.jboss.portal.common.test.junit.ThrowableDecoder
      [execmodules] return new FailureResponse(afe);
      [execmodules] ^
      [execmodules] 23 errors
      [execmodules] 8 warnings

      BUILD FAILED
      /u/janarthp/proj/jboss-portal-2.6-src/tools/etc/buildfragments/buildmagic.ent:273: The following error occurred while executing this line:
      /u/janarthp/proj/jboss-portal-2.6-src/tools/etc/buildfragments/buildmagic.ent:395: Compile failed; see the compiler error output for details.

      Total time: 16 minutes 8 seconds
      janarthp@desh0005:/u/janarthp/proj/jboss-portal-2.6-src/build>


      Could you please let me know what is I'm missing here.

        • 1. Re: Not able to compile from the source portal 2.6
          Prassana Janarthanan Newbie

          My previous append is not formatted correctly. here it is.

          ------
          Hello,

          My Env details
          ----------------
          JBoss Portal Version: 2.6
          Did you get Portal from CVS? or download it? : Downloaded it.
          JBoss AS Version: 4.0.5
          Database Vendor and Version : SQL 2005
          JDBC Connector and Version : jtds 1.2
          OS Platform: Unix Solaris x86.

          Error I get when I just do PORTAL_SRC/build/build.sh

          dependancies downladed
           .
           .
           .
           .
          
          
          [get-sleepycat] Getting: http://repository.jboss.com/licenses/sleepycat.txt
          [get-sleepycat] To: /u/janarthp/proj/jboss-portal-2.6-src/build/../thirdparty/licenses/sleepycat.txt
          [get-sleepycat] .
          [get-sleepycat] last modified = Mon Apr 09 21:51:59 IST 2007
          [get-license-info.xml] Getting: http://repository.jboss.com/licenses/license-info.xml
          [get-license-info.xml] To: /u/janarthp/proj/jboss-portal-2.6-src/build/../thirdparty/licenses/license-info.xml
          [get-license-info.xml] ..
          [get-license-info.xml] last modified = Mon Apr 09 21:51:59 IST 2007
          
          _buildmagic:init:
          Trying to override old definition of task property
          
          configure-project:
           [echo] groups: default
           [echo] modules: common,test,api,web,jems,server,security,identity,search,format,portlet,portlet-server,bridge,faces,portlet-federation,theme,workflow,cms,registration,core,wsrp,core-admin,core-cms,core-management,core-samples,widget
          
          _buildmagic:modules:most:
          
           ==============================================================
           ==
           == Executing 'most' in module 'common'...
           ==
           ==
          
          configure:
          Overriding previous definition of reference to apache.ant.classpath
          
          _default:compile-classes:
           [mkdir] Created dir: /u/janarthp/proj/jboss-portal-2.6-src/common/output/classes
           [mkdir] Created dir: /u/janarthp/proj/jboss-portal-2.6-src/common/output/gen/classes
           [javac] Compiling 192 source files to /u/janarthp/proj/jboss-portal-2.6-src/common/output/classes
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:34: package org.jboss.portal.common.test.driver.command does not exist
          [execmodules] import org.jboss.portal.common.test.driver.command.StartTestCommand;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:36: cannot find symbol
          [execmodules] symbol : class FailureResponse
          [execmodules] location: package org.jboss.portal.common.test.driver.response
          [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:31: cannot find symbol
          [execmodules] symbol : class ParameterNotBoundException
          [execmodules] location: package org.jboss.portal.common.test.driver
          [execmodules] import org.jboss.portal.common.test.driver.ParameterNotBoundException;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:34: package org.jboss.portal.common.test.driver.command does not exist
          [execmodules] import org.jboss.portal.common.test.driver.command.StartTestCommand;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:35: cannot find symbol
          [execmodules] symbol : class EndTestResponse
          [execmodules] location: package org.jboss.portal.common.test.driver.response
          [execmodules] import org.jboss.portal.common.test.driver.response.EndTestResponse;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:37: cannot find symbol
          [execmodules] symbol : class FailureResponse
          [execmodules] location: package org.jboss.portal.common.test.driver.response
          [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/ThrowableDecoder.java:28: cannot find symbol
          [execmodules] symbol : class FailureResponse
          [execmodules] location: package org.jboss.portal.common.test.driver.response
          [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:75: cannot find symbol
          [execmodules] symbol : class DefaultJavaLangObjectAdapted
          [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
          [execmodules] this(loader, adapteds, new DefaultJavaLangObjectAdapted());
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:106: cannot find symbol
          [execmodules] symbol : class JavaLangObjectMethodDispatcherFactory
          [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
          [execmodules] addAdapted(Object.class, new JavaLangObjectMethodDispatcherFactory(objectAdapted));
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:127: cannot find symbol
          [execmodules] symbol : class AdaptedMethodDispatcherFactory
          [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
          [execmodules] addAdapted(adapted.itf, new AdaptedMethodDispatcherFactory(adapted.object));
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/i18n/LocaleFormat.java:39: cannot find symbol
          [execmodules] symbol : class RFC3066LanguageTagLocaleFormat
          [execmodules] location: interface org.jboss.portal.common.i18n.LocaleFormat
          [execmodules] final LocaleFormat RFC3066_LANGUAGE_TAG = new RFC3066LanguageTagLocaleFormat();
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/i18n/LocaleFormat.java:45: cannot find symbol
          [execmodules] symbol : class RFC3066LanguageTagLocaleFormat
          [execmodules] location: interface org.jboss.portal.common.i18n.LocaleFormat
          [execmodules] final LocaleFormat RFC3066_LANGUAGE_TAG_NO_CACHE = new CachingLocaleFormat(new RFC3066LanguageTagLocaleFormat());
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/net/URLTools.java:112: warning: [deprecation] setConnectionTimeout(int) in org.apache.commons.httpclient.HttpClient has been deprecated
          [execmodules] client.setConnectionTimeout(connTimeoutMillis);
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/net/URLTools.java:116: warning: [deprecation] setTimeout(int) in org.apache.commons.httpclient.HttpClient has been deprecated
          [execmodules] client.setTimeout(soTimeoutMillis);
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
          [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
          [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
          [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:140: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
          [execmodules] public void setStatus(int arg0, String arg1)
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:42: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
          [execmodules] public class BufferingResponseWrapper extends HttpServletResponseWrapper
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:42: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
          [execmodules] public class BufferingResponseWrapper extends HttpServletResponseWrapper
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:119: cannot find symbol
          [execmodules] symbol: class StartTestCommand
          [execmodules] StartTestCommand st = new StartTestCommand(parametrization);
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:119: cannot find symbol
          [execmodules] symbol: class StartTestCommand
          [execmodules] StartTestCommand st = new StartTestCommand(parametrization);
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:121: cannot find symbol
          [execmodules] symbol: class FailureResponse
          [execmodules] if (resp instanceof FailureResponse)
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:123: cannot find symbol
          [execmodules] symbol: class FailureResponse
          [execmodules] FailureResponse fr = (FailureResponse)resp;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:123: cannot find symbol
          [execmodules] symbol: class FailureResponse
          [execmodules] FailureResponse fr = (FailureResponse)resp;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:112: cannot find symbol
          [execmodules] symbol : class StartTestCommand
          [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
          [execmodules] StartTestCommand start = (StartTestCommand)command;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:112: cannot find symbol
          [execmodules] symbol : class StartTestCommand
          [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
          [execmodules] StartTestCommand start = (StartTestCommand)command;
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:138: cannot find symbol
          [execmodules] symbol : class ParameterNotBoundException
          [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
          [execmodules] throw new ParameterNotBoundException(parameterName);
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:159: cannot find symbol
          [execmodules] symbol : class EndTestResponse
          [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
          [execmodules] return new EndTestResponse();
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:176: cannot find symbol
          [execmodules] symbol : class FailureResponse
          [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
          [execmodules] return new FailureResponse(cause);
          [execmodules] ^
          [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/ThrowableDecoder.java:55: cannot find symbol
          [execmodules] symbol : class FailureResponse
          [execmodules] location: class org.jboss.portal.common.test.junit.ThrowableDecoder
          [execmodules] return new FailureResponse(afe);
          [execmodules] ^
          [execmodules] 23 errors
          [execmodules] 8 warnings
          
          BUILD FAILED
          /u/janarthp/proj/jboss-portal-2.6-src/tools/etc/buildfragments/buildmagic.ent:273: The following error occurred while executing this line:
          /u/janarthp/proj/jboss-portal-2.6-src/tools/etc/buildfragments/buildmagic.ent:395: Compile failed; see the compiler error output for details.
          
          Total time: 16 minutes 8 seconds
          janarthp@desh0005:/u/janarthp/proj/jboss-portal-2.6-src/build>

          Could you please let me know what is I'm missing here.


          • 2. Re: Not able to compile from the source portal 2.6
            Chris Laprun Master

            Do you execute the build script from the build directory?