This file has been truncated, but you can view the full file.
This file contains 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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building scala-ldap 2.6.0-scala_2.10-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ scala-ldap --- | |
[INFO] Deleting /home/fanf/java/workspaces/rudder-project/scala-ldap/target | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ scala-ldap --- |
This file contains 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
#!/bin/zsh | |
# | |
# Save that file on the directory that contains all you Rudder projects. | |
# The script fetch all project's origin, checkout master and pull origin/master. | |
# Before using it, be sure to have commited all you modifications ! | |
# | |
#change base to the path to the | |
BASE="/path/to/the/root/rudder-project" |
This file contains 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
#!/bin/zsh | |
BASE="/path/to/rudder-project/root" | |
REPOS="rudder-parent-pom rudder-commons scala-ldap ldap-inventory cf-clerk rudder rudder-policy-templates" | |
for i in $(echo ${REPOS}) | |
do | |
P=${BASE}/${i} | |
echo "\e[0;32mUpdating ${P}\e[0m" | |
cd ${P} |
This file contains 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
import scala.xml._ | |
import net.liftweb.http.js._ | |
import JsCmds._ | |
import JE._ | |
import net.liftweb.util.Helpers._ | |
/** | |
* Extract JS from a NodeSeq | |
* Useful when using Lift SetHtml/Replace and it doesn't run the embedeed JS | |
* |
This file contains 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
package net.liftweb.http | |
import net.liftweb.common._ | |
/** | |
* That class allow to load and register a snippet for the context of | |
* a Lift request. | |
* | |
* | |
* Such snippet should not be reachable directly from the application, |
This file contains 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
/** | |
* Description of Unix file permissions DSL | |
* Only user", "group" and "other" (whitout setuid, | |
* setgid and sticky bit) permission are managed. | |
* | |
* The goal of these classes is to make their | |
* use as near as possible as Unix chmod, but in | |
* Scala. | |
* | |
* ## First, Perm objects: simple |
NewerOlder