[Building Sakai] mvn build hangs with Rhino classes (js.jar) not found
Richwine, Brian L
brichwin at indiana.edu
Tue Feb 23 11:40:50 PST 2010
Hi,
My mac was reporting Maven version 2.2.x, but since the Development Environment Setup Walkthrough referred to Maven 2.0.6+, I installed Maven 2.0.10 in a folder in my home directory and set up the environment variables and path to point to it.
$ which mvn
/Users/brian/sakai27/apache-maven-2.0.10/bin/mvn
Maven Reports:
sakai-2.7.0-b03 brian$ mvn -version
Maven version: 2.0.10
Java version: 1.6.0_17
OS name: "mac os x" version: "10.6.2" arch: "i386" Family: "mac"
Tomcat is:
apache-tomcat-5.5.28
Seemingly pertinent Env's:
CATALINA_HOME=/Users/brian/sakai27/apache-tomcat-5.5.28
JAVA_OPTS='-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false'
MAVEN2_HOME=/Users/brian/sakai27/apache-maven-2.0.10
MAVEN_OPTS='-Xms256m -Xmx645m -XX:PermSize=64m -XX:MaxPermSize=136m'
PATH=/Users/brian/sakai27/apache-tomcat-5.5.28/bin:/Users/brian/sakai27/apache-maven-2.0.10/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Contents of ~/.m2/settings.xml
<settings xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>tomcat5x</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<appserver.id>tomcat5x</appserver.id>
<appserver.home>/Users/brian/sakai27/apache-tomcat-5.5.28</appserver.home>
<maven.tomcat.home>/Users/brian/sakai27/apache-tomcat-5.5.28</maven.tomcat.home>
<sakai.appserver.home>/Users/brian/sakai27/apache-tomcat-5.5.28</sakai.appserver.home>
<surefire.reportFormat>plain</surefire.reportFormat>
<surefire.useFile>false</surefire.useFile>
</properties>
</profile>
</profiles>
</settings>
brian-richwines-computer:sakai27 brian$
Thanks!
-Brian
________________________________________
From: Anthony Whyte [arwhyte at umich.edu]
Sent: Tuesday, February 23, 2010 1:59 PM
To: Richwine, Brian L
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] mvn build hangs with Rhino classes (js.jar) not found
What version of Maven are you using?
Cheers,
Anth
On Feb 23, 2010, at 1:11 PM, Richwine, Brian L wrote:
> Hi,
>
> I am attempting to build the third 2.7.0 beta tag following the
> Development Environment Setup Walkthrough on OS X 10.6.2, and when
> running maven it hangs after the following message:
> ------------------------
> TESTS
> ------------------------
> Running org.sakaiproject.portal.charon.test.http.AnonPortalTest
> Rhino classes (js.jar) not found - Javascript disabled
>
> I'm a newbie, and had initially had success with compiling 2.6 on
> Ubuntu, and just set up this mac.
>
> Thanks for any suggestions,
> Brian
> _______________________________________________
> 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