Re: Error when deploying intranet templates from the cvs

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi,

You can also get nightly snapshot from all branches here:
http://cvspub.jahia.org/nightly/

Cheers,

Philippe

At 30.08.2005 11:58, you wrote:


>The CVS head of the templates is related to the 
>CVS head of Jahia, which is version 4.5 in 
>development. You cannot use the CVS head 
>templates with version 4.1 as they are not API compatible.
>
>In order to retrieve the templates for version 
>4.1, you must use the branch JAHIA-4-1-BRANCH.
>
>Regards,
>  Serge Huber.
>
>Aage Nielsen wrote:
>
>>
>>The binary Jahia 4.1.0_01 from your site - Windows XP - JDK 1.4.09 -
>>
>>
>>Error compiling file: 
>>C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\/home_jsp.java 
>>[javac] Compiling 1 source file
>>     [javac] 
>> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
>> package org.jahia.data.beans.portlets does not exist
>>     [javac] import org.jahia.data.beans.portlets.*;
>>     [javac] ^
>>     [javac] 
>> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
>> cannot resolve symbol
>>     [javac] symbol  : method isAvailable ()
>>     [javac] location: class org.jahia.services.pages.ContentPage
>>     [javac]                 if 
>> (cp.isAvailable() && 
>> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>>     [javac]                       ^
>>     [javac] 
>> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
>> cannot resolve symbol
>>     [javac] symbol  : method isAvailable ()
>>     [javac] location: class org.jahia.services.pages.ContentPage
>>     [javac]                 if 
>> (cp.isAvailable() && ( (displayPreview || 
>> isSharedInStaging || jData.gui().isCompareMode()) &&
>>     [javac]                       ^
>>     [javac] 
>> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
>> cannot resolve symbol
>>     [javac] symbol  : variable PageSearchResultBuilderImpl
>>     [javac] location: class org.apache.jsp.home_jsp
>>     [javac]
>>out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>>     [javac]                 ^
>>     [javac] 
>> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
>> cannot resolve symbol
>>     [javac] symbol  : method getPageType ()
>>     [javac] location: class org.jahia.data.beans.PageBean
>>     [javac] 
>> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>>     [javac]                                     ^
>>     [javac] 
>> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
>> cannot resolve symbol
>>     [javac] symbol  : method getPageType ()
>>     [javac] location: class org.jahia.data.beans.PageBean
>>     [javac] 
>> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>>     [javac]                                     ^
>>     [javac] 
>> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
>> cannot resolve symbol
>>     [javac] symbol  : method getPageType ()
>>     [javac] location: class org.jahia.data.beans.PageBean
>>     [javac] 
>> out.print(topLinkBean.getPageType() == 
>> PageInfoInterface.TYPE_URL ? "remote" : "local");
>>     [javac]                                            ^
>>     [javac] Note: 
>> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
>> uses or overrides a deprecated API.
>>     [javac] Note: Recompile with -deprecation for details.
>>     [javac] 7 errors
>>
>>Med venlig hilsen
>>Aage Nielsen
>>------------------------------------
>>Vesterbrogade 8
>>DK-8800 Viborg
>>Denmark
>>
>>Phone +45 87 25 50 83
>>Mobile +45 25 28 69 83
>>e-mail: [email protected]
>>
>>
>>*Stéphane Croisier <[email protected]>*
>>
>>30-08-2005 09:53
>>Please respond to
>><[email protected]>
>>
>>
>>
>>To
>>         <[email protected]>
>>cc
>>
>>Subject
>>         Re: Error when deploying intranet templates from the cvs
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>Which version of Jahia? Which environment? 
>>Which templates? and which exception in the console?
>>
>>Stéphane
>>
>>At 09:51 30/08/2005, you wrote:
>>
>>I keep getting jsp compilation errors when 
>>deploying/using the intranet template versions
>>
>>package org.jahia.data.beans.portlets does not exist
>>
>>any ideas ?
>>
>>Regards
>>Aage Nielsen
>>------------------------------------
>>Vesterbrogade 8
>>DK-8800 Viborg
>>Denmark
>>
>>Phone +45 87 25 50 83
>>Mobile +45 25 28 69 83
>>e-mail: [email protected]
>
>

-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.