This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# COMPASS WATCH | |
desc "Watches and compiles sass to tomcat" | |
task :watch do | |
puts Paint["Watching sass", :cyan] | |
puts "Watching: " + SRC_SCSS | |
puts "Compile to: " + TOMCAT_SKIN + SCSS_CSS | |
puts "output-style: " + SCSS_OUTPUT | |
Dir.chdir(COMPASS) do | |
system "compass watch --sass-dir #{SRC_SCSS} --css-dir #{TOMCAT_SKIN} --output-style #{SCSS_OUTPUT}" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'paint' | |
namespace :sass do | |
desc "Compile sass." | |
task :compile do | |
options = { | |
:style => :expanded, | |
:cache => false, | |
:syntax => :scss, | |
:load_paths => ['.','./scss'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Watches tomcat logs" | |
task :logs do | |
log = "#{TOMCAT}/logs/catalina.out" | |
system("touch #{log}") unless File.exists?(log) | |
system "tail -f #{TOMCAT}/logs/catalina.out" | |
end | |
desc "Starts tomcat" | |
task :start do | |
system "./#{TOMCAT}/bin/startup.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Redeploy Sakai" | |
task :build => [:clean_tomcat, :mvn_install] | |
task :clean_tomcat do | |
system "rm -rf #{TOMCAT}/webapps/*" | |
sleep 1 | |
end | |
task :mvn_install do | |
Dir.chdir(SAKAI) do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skin = "#{SAKAI}/reference/library/src/webapp/skin/#{SKIN}" | |
TOMCAT = "apache-tomcat-5.5.20" | |
SAKAI = "sakai-2.7.1" | |
SKIN = "wake-forest" | |
namespace :open do | |
desc "Open skin in Textmate" | |
task :skin do | |
system "mate #{skin}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svn import https://svn.unicon.net/svn/proservices/proservices/customers/byu/uportal/tags/uPortal-4.0.1/uportal-war/src/main/webapp/media/skins/universality/byu uportal_root/uportal-war/src/main/webapp/media/skins/universality/byu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mobile.custom.css.file=css/default-mobile-custom.css | |
standard.custom.css.file=css/cas.css | |
theme.include.top=default/ui/includes/top.jsp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nov 18, 2011 10:32:57 AM org.apache.catalina.core.AprLifecycleListener init | |
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Users/Jacob/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java | |
Nov 18, 2011 10:32:57 AM org.apache.coyote.http11.Http11Protocol init | |
INFO: Initializing Coyote HTTP/1.1 on http-8080 | |
Nov 18, 2011 10:32:57 AM org.apache.catalina.startup.Catalina load | |
INFO: Initialization processed in 460 ms | |
Nov 18, 2011 10:32:57 AM org.apache.catalina.core.StandardService start | |
INFO: Starting service Catalina | |
Nov 18, 2011 10:32:57 AM org.apache.catalina.core.StandardEngine start | |
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nov 17, 2011 4:43:35 PM org.apache.catalina.core.AprLifecycleListener init | |
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Users/Jacob/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java | |
Nov 17, 2011 4:43:36 PM org.apache.coyote.http11.Http11Protocol init | |
INFO: Initializing Coyote HTTP/1.1 on http-8080 | |
Nov 17, 2011 4:43:36 PM org.apache.catalina.startup.Catalina load | |
INFO: Initialization processed in 460 ms | |
Nov 17, 2011 4:43:36 PM org.apache.catalina.core.StandardService start | |
INFO: Starting service Catalina | |
Nov 17, 2011 4:43:36 PM org.apache.catalina.core.StandardEngine start | |
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def chapters | |
Array.new(@items | |
.select { |i| i.identifier =~ %r{^/chapters/} } | |
).sort_by { |i| i.identifier } | |
end |