[Building Sakai] Etudes-melete 2.7.2 tool not compatible with Sakai 2.7.0 ?
Robert Long
relong at svsu.edu
Wed Aug 4 10:09:02 PDT 2010
Correction:
The format of the first 2 dependencies should be:
<dependency>
<groupId>org.sakaiproject.jsf</groupId>
<artifactId>jsf-tool</artifactId>
<version>${sakai.version}</version>
</dependency>
<dependency>
<groupId>org.sakaiproject.jsf</groupId>
<artifactId>jsf-app</artifactId>
<version>${sakai.version}</version>
</dependency>
Sorry about that! Copy and paste error...
--Bob
----
Robert E. Long, MA
Saginaw Valley State University
Open Source Programmer / Analyst
Math / Education Technology Instructor
M.A. Instructional Technology
O: 989.964.2245
On 8/4/10 1:02 PM, "Robert Long" <relong at svsu.edu> wrote:
> Chout,
>
> You need to change the dependencies slightly for JSF.
>
> Change the following dependencies in the Melete pom.xml files:
>
> <dependency>
> <groupId>org.sakaiproject</groupId>
> <artifactId>sakai-jsf-tool</artifactId>
> <version>${sakai.version}</version>
> </dependency>
> <dependency>
> <groupId>org.sakaiproject</groupId>
> <artifactId>sakai-jsf-app</artifactId>
> <version>${sakai.version}</version>
> </dependency>
> <dependency>
> <groupId>org.sakaiproject</groupId>
> <artifactId>sakai-depend-jsf-widgets-sun</artifactId>
> <version>${sakai.version}</version>
> <type>pom</type>
> <exclusions>
> <exclusion>
> <groupId>org.apache.myfaces.tomahawk</groupId>
> <artifactId>tomahawk</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
>
> To this format:
>
> <dependency>
> <groupId>org.sakaiproject</groupId>
> <artifactId>sakai-jsf-tool</artifactId>
> <version>${sakai.version}</version>
> </dependency>
> <dependency>
> <groupId>org.sakaiproject</groupId>
> <artifactId>sakai-jsf-app</artifactId>
> <version>${sakai.version}</version>
> </dependency>
> <dependency>
> <groupId>org.sakaiproject.jsf</groupId>
> <artifactId>jsf-widgets-sun-depend</artifactId>
> <version>${sakai.version}</version>
> <type>pom</type>
> <exclusions>
> <exclusion>
> <groupId>org.apache.myfaces.tomahawk</groupId>
> <artifactId>tomahawk</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
>
> This should get it to build properly.
>
> You may also have to change other contrib tools that use JSF too...
>
> --Bob
>
> ----
> Robert E. Long, MA
> Saginaw Valley State University
> Open Source Programmer / Analyst
> Math / Education Technology Instructor
> M.A. Instructional Technology
> O: 989.964.2245
>
>
>
>
> On 8/4/10 12:53 PM, "Mallika M Thoppay" <mallika at etudes.org> wrote:
>
>> Chuot,
>>
>> Melete needs to build correctly under Sakai2.7, you cannot copy the old
>> war file over. Try clearing the maven repository and building
>> Melete2.7.2, send us a screenshot of the errors you get.
>>
>> Thanks,
>> Mallika
>>
>> chuot con wrote:
>>> Hi Mallika,
>>>
>>> This is my problem:
>>> Before I had the Sakai 2.6.0, tomcat 5.5.28 and Etudes-melete
>>> 2.7.2. They worked together very good.
>>>
>>> After that, I have decided to upgrade to the Sakai 2.7.0. I used
>>> a fresh tomcat (5.5.28) and I have deployed the Sakai 2.7.0 successfully.
>>>
>>> Next step, I downloaded Etudes-melete 2.7.2 and deployed this
>>> tool. Before I deployed Melete, I had changed the version of Sakai in
>>> the folder: melete/pom.xml to 2.7.0 instead 2.6.1. However, the
>>> process of Melete building was unsucessful. It required some library
>>> liked sakai-jsf-...-2.7.0.jar.
>>>
>>> I don't know how to fix this problem and I can not correct all pom.xml
>>> files.
>>>
>>> So, I copied the package etudes-melete-tool.war in the folder Sakai
>>> 2.6.0 to Sakai 2.7.0.
>>>
>>> That why I have received those errors.
>>>
>>> Please help me to check this problem.
>>>
>>> Thank you so much.
>>>
>>> Thinh.
>>>
>>>
>>> --- On *Wed, 8/4/10, Mallika M Thoppay /<mallika at etudes.org>/* wrote:
>>>
>>>
>>> From: Mallika M Thoppay <mallika at etudes.org>
>>> Subject: Re: [Building Sakai] Etudes-melete 2.7.2 tool not
>>> compatible with Sakai 2.7.0 ?
>>> To: "chuot con" <chuot_con1999 at yahoo.com>
>>> Cc: sakai-dev at collab.sakaiproject.org
>>> Date: Wednesday, August 4, 2010, 12:34 PM
>>>
>>> Hi Chuot,
>>>
>>> Melete2.7.2 has not been tested with Sakai2.7, however it appears
>>> that you have a different problem. Were you upgrading from an
>>> older Melete version? Upon compiling and deploying Melete, please
>>> ensure that corresponding war files have been created and deployed
>>> under Tomcat.
>>>
>>> Delete the tomcat_home/work/Catalina/localhost/etudes-melete-tool
>>> folder prior to restarting.
>>>
>>> Let us know how it proceeds and we can help you.
>>>
>>> Thanks,
>>> Mallika
>>>
>>> chuot con wrote:
>>>> Hi everybody,
>>>>
>>>> I received some errors when I used Etudes-melete 2.7.2 tool.
>>> These errors were:
>>>> org.sakaiproject.portal.api.PortalHandlerException:
>>> org.sakaiproject.tool.api.ToolException: Unable to compile class
>>> for JSP
>>>> at
>>>
>>>
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPo>>>
r
>>> tal.java:768)
>>>> caused by: org.sakaiproject.tool.api.ToolException: Unable to
>>> compile class for JSP
>>>> at
>>>
>>>
org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCh>>>
a
>>> ronPortal.java:1216)
>>>> caused by: org.apache.jasper.JasperException: Unable to compile
>>> class for JSP
>>>> at
>>>
>>>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3>>>
0
>>> 2)
>>>> caused by: java.io.FileNotFoundException:
>>>
>>>
/opt/bmpm/sakaitomcat/work/Catalina/localhost/etudes-melete-tool/org/apache/>>>
j
>>> sp/melete/main_jsp.java
>>> (No such file or
>>>> directory)
>>>> at java.io.FileOutputStream.open(Native Method)
>>>> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>>>> at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
>>>> at
>>> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:141)
>>>> ,etc.
>>>>
>>>> I read an installation instruction to deploy Melete 2.7.2 in
>>> Etudes site and it required Java 1.5
>>>>
>>>> Have the Melete 2.7.2 tool ever been compatible with Sakai 2.7.0 ?
>>>>
>>>> Please help me check this problem.
>>>>
>>>> Thanks for your helping.
>>>>
>>>> Thinh.
>>>>
>>>>
>>>>
>>>>
>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> sakai-dev mailing list
>>>> sakai-dev at collab.sakaiproject.org
>>> </mc/compose?to=sakai-dev at collab.sakaiproject.org>
>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>
>>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org
>>> </mc/compose?to=sakai-dev-unsubscribe at collab.sakaiproject.org>
>>> with a subject of "unsubscribe"
>>>
>>>
>>> -- Mallika M Thoppay
>>> Learning Systems Developer
>>> Etudes Inc
>>> http://etudes.org
>>>
>>>
>>
>
>
>
>
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
>
More information about the sakai-dev
mailing list