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
; nREPL 0.1.7 | |
user> (use 'classlojure-test.core :reload) | |
nil | |
user> (with-classloader vmfest-xpcom (require 'vmfest.virtualbox.version) (vmfest.virtualbox.version/vbox-binding) ) | |
CompilerException java.lang.ClassNotFoundException: vmfest.virtualbox.version, compiling:(NO_SOURCE_PATH:1) | |
user> (with-classloader vmfest-xpcom (require 'vmfest.virtualbox.version) (vmfest.virtualbox.version/vbox-binding) ) | |
CompilerException java.lang.ClassNotFoundException: vmfest.virtualbox.version, compiling:(NO_SOURCE_PATH:1) | |
user> (with-classloader vmfest-xpcom (require 'vmfest.virtualbox.version)) | |
nil | |
user> (with-classloader vmfest-xpcom (require 'vmfest.virtualbox.version) (vmfest.virtualbox.version/vbox-binding) ) |
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
(ns classlojure-test.core | |
(:use [clojure.java.io :only [as-url]] | |
[ clojure.pprint :only [pprint]] | |
[dynapath.util :only [all-classpath-urls classpath-urls]]) | |
(:import [java.net URL URLClassLoader])) | |
(def base-classloader | |
(or (.getClassLoader clojure.lang.RT) | |
(.getContextClassLoader (Thread/currentThread)))) |
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
(ns classlojure-test.core | |
(:use [classlojure.core])) | |
(def url-classloader #'classlojure.core/url-classloader) | |
(def vmfest-jar "file:lib/vboxjws-4.2.6.jar") | |
(def vmfest-cl (url-classloader [vmfest-jar] base-classloader)) | |
(get-classpath vmfest-cl) | |
;; ("/Users/tbatchelli/dev/pallet/classlojure-test/lib/vboxjws-4.2.6.jar") |
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
{:ubuntu-12.04 {:os-type-id "Ubuntu_64", :sudo-password "vmfest", :no-sudo false, :packager :apt, :username "vmfest", :os-family :ubuntu, :os-version "12.04", :uuid "/Users/tbatchelli/.vmfest/models/vmfest-ubuntu-12.04.vdi", :os-64-bit true, :password "vmfest", :description "Ubuntu 12.04 (64bit)"}} |
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
(ns proto.jenkins | |
(:use [pallet.phase :only (phase-fn)] | |
[pallet.action.package :only (package)] | |
[pallet.crate.automated-admin-user :only (automated-admin-user)] | |
[pallet.action.exec-script :only (exec-checked-script)] | |
[proto.common :only (user)] ) | |
(:require [pallet.core :as pc] | |
[pallet.crate.tomcat :as tomcat] | |
[pallet.crate.git :as git] | |
[pallet.crate.hudson :as hudson] |
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
(defproject pallet-hadoop-example "0.0.3-beta.6-SNAPSHOT" | |
:description "Example project for running Hadoop on Pallet." | |
:repositories {"sonatype" | |
"http://oss.sonatype.org/content/repositories/releases/"} | |
:dependencies [[org.clojure/clojure "1.4.0"] | |
[org.cloudhoist/pallet-hadoop "0.3.3"] | |
[org.cloudhoist/pallet "0.7.3"] | |
;[org.jclouds/jclouds-all "1.4.2"] | |
;[org.jclouds.driver/jclouds-jsch "1.4.2"] | |
;[org.jclouds.driver/jclouds-slf4j "1.4.2"] |
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
<configuration scan="true" scanPeriod="1 seconds" debug="false"> | |
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | |
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | |
<level>ERROR</level> | |
</filter> | |
<encoder> | |
<pattern>%d{HH:mm:ss.SSS} %-5level - %msg%n</pattern> | |
</encoder> | |
</appender> |
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
[~] ➔ ls /Applications/VirtualBox.app/Contents/MacOS | |
UserManual.pdf VBoxGuestAdditions.iso VBoxVMM.dylib | |
VBoxAuth.dylib VBoxGuestControlSvc.dylib VBoxXPCOM.dylib | |
VBoxAuthSimple.dylib VBoxGuestPropSvc.dylib VBoxXPCOMC.dylib | |
VBoxAutostart VBoxHeadless VBoxXPCOMIPCD | |
VBoxAutostart-amd64 VBoxHeadless-amd64 VBoxXPCOMIPCD-amd64 | |
VBoxAutostart-x86 VBoxHeadless-x86 VBoxXPCOMIPCD-x86 | |
VBoxAutostartDarwin.sh VBoxHeadless.dylib VMMGC.gc | |
VBoxBalloonCtrl VBoxHostChannel.dylib VMMGC.gc-amd64 | |
VBoxBalloonCtrl-amd64 VBoxManage VMMGC.gc-amd64.codesign |
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
(tomcat/server | |
:port "8005" | |
:shutdown "SHUTDOWN" | |
(tomcat/engine "Catalina" "localhost") | |
(tomcat/service | |
(tomcat/global-resources) | |
(tomcat/connector | |
:scheme "http" :port "80" | |
:protocol "HTTP/1.1" | |
:connectionTimeout "20000" |
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
(defpallet | |
:services | |
{:aws {:provider "aws-ec2" | |
:identity "aws-identity" | |
:credential "aws-credential"} | |
:vmfest {:provider "vmfest"}}) |