[Building Sakai] catalina.properties and -Dsakai.app.server=tomcat7

Steve Swinsburg steve.swinsburg at gmail.com
Sat Apr 27 14:56:10 PDT 2013


You could, but you don't actually need settings.xml, just specify the path to tomcat when you build. 

Cheers
S

Sent from my iPhone

On 28/04/2013, at 7:51, Mustansar Mehmood <mustansar at rice.edu> wrote:

>  Great!
>   
> I wonder if we could move this information to settings.xml. I am just trying to revisit this file 
> <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>
>           <!-- I doubt if this setting plays any role in sakai -->
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> <properties>
> <appserver.id>tomcat5x</appserver.id>
>         <!--
>           how is this related to <id>tomcat5x</id>
>           -->
> <appserver.home>/opt/tomcat</appserver.home>
> <maven.tomcat.home>/opt/tomcat</maven.tomcat.home>
> <sakai.appserver.home>/opt/tomcat</sakai.appserver.home>
> <surefire.reportFormat>plain</surefire.reportFormat>
> <surefire.useFile>false</surefire.useFile>
> </properties>
> </profile>
> </profiles>
> </settings>
> 
>  On 4/27/2013 1:50 PM, David Adams wrote:
>> Just figured this out a couple of weeks ago and wanted to let everyone know, in regards to deploying 2.9+ on Tomcat 7.
>> 
>> If you add "-Dsakai.app.server=tomcat7" to your maven command line, the sakai:deploy goal will put all your jar           files in the right place--namely tomcat/lib--and the catalina.properties hack is no longer required.
>> 
>> One caveat: you have to be using the sakai-2.9.x-all branch or equivalent, since the preconstructed assembly zip files deployed by the "normal" branch obviously won't respect this setting.
>> 
>> David Adams
>> Director, Systems Integration and Support
>> Virginia Tech Learning Technologies
>> 
>> 
>> _______________________________________________
>> 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"
> 
> _______________________________________________
> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130428/31176b40/attachment.html 


More information about the sakai-dev mailing list