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 sbt._ | |
class MyProject(info: ProjectInfo) extends DefaultProject(info) | |
//with de.element34.sbteclipsify.Eclipsify | |
//with IdeaProject | |
{ | |
lazy val hi = task { println("hi Task"); None } | |
} |
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 sbt._ | |
class MyPlugins(info: ProjectInfo) extends PluginDefinition(info) | |
{ | |
val a = "org.markdownj" % "markdownj" % "0.3.0-1.0.2b4" | |
lazy val eclipsify = "de.element34" % "sbt-eclipsify" % "0.5.1" | |
val repo = "GH-pages repo" at "http://mpeltonen.github.com/maven/" | |
val idea = "com.github.mpeltonen" % "sbt-idea-plugin" % "0.1-SNAPSHOT" | |
} |
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
. | |
|-- ant | |
| `-- apache-ant-1.8.1-bin.zip | |
|-- best-jboss.tar | |
|-- eclipse | |
| |-- eclipse-jee-galileo-SR2-linux-gtk.tar.gz | |
| `-- eclipse-jee-helios-linux-gtk.tar | |
|-- idea | |
| |-- idea-902 | |
| | `-- ideaIC-9.0.2.tar.gz |
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/bash | |
logDir=~/work/logs | |
#find $logDir -type f -name '*.log' | xargs echo $1 | |
shopt -s nullglob | |
for f in $(find $logDir -type f -name '*.log') | |
do | |
echo $f | |
sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" $f > ${logDir}/temp.txt | |
cp ${logDir}/temp.txt $f |
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/bash | |
givenDir=$(basename $PWD) | |
echo $givenDir | |
logFile=~/work/logs/term-${givenDir}.log | |
script -afq $logFile |
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
Task(typeTask:String, id:Int, parentProject:Int price:Float) | |
notice "p" means project | |
task for "t" | |
there can be n number of tasks below project | |
and parent of project id will be always zero | |
the list is ordered based on id field | |
List( |
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] Wrote /home/rxxxxxx/dev/scalatra/fileupload/target/scala_2.8.0/scalatra-fileupload_2.8.0-2.0.0-SNAPSHOT.pom | |
[info] == scalatra-fileupload / make-pom == | |
[info] | |
[info] == scalatra-fileupload / deliver-local == | |
[warn] [NOT FOUND ] org.scalatra#scalatra_2.8.0;2.0.0-SNAPSHOT!scalatra_2.8.0.pom.asc(asc) (0ms) | |
[warn] ==== local: tried | |
[warn] /home/rxxxxxx/.ivy2/local/org.scalatra/scalatra_2.8.0/2.0.0-SNAPSHOT/ascs/scalatra_2.8.0.pom.asc | |
[warn] [NOT FOUND ] org.scalatra#scalatra_2.8.0;2.0.0-SNAPSHOT!scalatra_2.8.0.jar.asc(asc) (0ms) | |
[warn] ==== local: tried | |
[warn] /home/rxxxxxx/.ivy2/local/org.scalatra/scalatra_2.8.0/2.0.0-SNAPSHOT/ascs/scalatra_2.8.0-javadoc.jar.asc |
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
<context-param> | |
<param-name>org.mortbay.jetty.servlet.Default.dirAllowed</param-name> | |
<param-value>true</param-value> | |
</context-param> | |
<servlet> | |
<servlet-name>default</servlet-name> | |
<servlet-class>org.mortbay.jetty.servlet.DefaultServlet</servlet-class> | |
<init-param> | |
<param-name>acceptRanges</param-name><param-value>true</param-value> |
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
Requesting /reports but only have Map(DELETE -> List(), POST -> List(WrappedArray(/flash-map/form), WrappedArray(/upload), WrappedArray(/login), WrappedArray(/post)), GET -> List(WrappedArray(/flash-map/result), WrappedArray(/flash-map/form), WrappedArray(/upload), WrappedArray(/scalate), WrappedArray(/), WrappedArray(/logout), WrappedArray(/login), WrappedArray(/form), WrappedArray(/date/:year/:month/:day)), PUT -> List()) |
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
<project 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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>blah</groupId> | |
<artifactId>art</artifactId> | |
<version>1.0.0</version> | |
<packaging>jar</packaging> | |
<name>JasperReports</name> | |
<url>http://jasperreports.sourceforge.net</url> | |
<description>JasperReports Library</description> |
OlderNewer