forked from playframework/play1
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe61b5c
commit 08ef0d4
Showing
17 changed files
with
1,145 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
|
||
# Play 1.1 | ||
self: play -> play 1.2 | ||
|
||
# Don't follow transitive dependencies for this project | ||
transitiveDependencies: false | ||
|
||
# This core dependencies are required by Play framework | ||
require: &allDependencies | ||
- antlr 2.7.6 | ||
- c3p0 0.9.1.2 | ||
- cglib 2.2 | ||
- com.google.code.gson -> gson 1.4 | ||
- com.jamonapi -> jamon 2.7 | ||
- com.ning -> async-http-client 1.4.0 | ||
- commons-beanutils 1.8.3 | ||
- commons-codec 1.4 | ||
- commons-collections 3.1 | ||
- commons-email 1.2 | ||
- commons-fileupload 1.2 | ||
- commons-io 1.4 | ||
- commons-lang 2.5 | ||
- commons-logging 1.1.1 | ||
- dom4j 1.6.1 | ||
- hsqldb 1.8.1.2 | ||
- javassist -> javassist 3.9.0.GA | ||
- javax.activation -> activation 1.1.1 | ||
- javax.mail -> mail 1.4.3 | ||
- javax.transaction -> jta 1.1 | ||
- jaxen 1.1 | ||
- joda-time 1.6 | ||
- junit 4.8.1 | ||
- jregex 1.2_01 | ||
- log4j 1.2.15 | ||
- net.sf.ehcache -> ehcache-core 2.0.0 | ||
- net.sf.ezmorph -> ezmorph 1.0.3 | ||
- net.sf.jsr107cache -> jsr107cache 1.0 | ||
- net.sf.oval -> oval 1.50 | ||
- mysql -> mysql-connector-java 5.1.13 | ||
- oauth.signpost -> signpost-core 1.2 | ||
- org.apache.geronimo.specs -> geronimo-servlet_2.5_spec 1.2 | ||
- org.apache.ivy -> ivy 2.2.0 | ||
- org.bouncycastle -> bcprov-jdk15 1.45 | ||
- org.codehaus.groovy -> groovy-all 1.7.1 | ||
- org.eclipse.jdt.core 3.6.0 | ||
- org.hibernate -> hibernate-core 3.6.0.Final | ||
- org.hibernate -> hibernate-commons-annotations 3.2.0.Final | ||
- org.hibernate -> hibernate-entitymanager 3.6.0.Final | ||
- org.hibernate.javax.persistence -> hibernate-jpa-2.0-api 1.0.0.Final | ||
- org.jboss.netty -> netty 3.2.2.Final | ||
- org.slf4j -> slf4j-api 1.6.1 | ||
- org.slf4j -> slf4j-log4j12 1.6.1 | ||
- org.yaml -> snakeyaml 1.7 | ||
- spy -> memcached 2.4.2 | ||
- com.thoughtworks.xstream -> xstream 1.3 | ||
|
||
# Default repositories, used for all projects | ||
repositories: | ||
|
||
- playCore: | ||
type: local | ||
descriptor: "${play.path}/framework/dependencies-[revision].yml" | ||
artifact: "${play.path}/framework/play.jar" | ||
contains: | ||
- play -> play | ||
|
||
- playCoreDependencies: | ||
type: local | ||
artifact: "${play.path}/framework/lib/[artifact]-[revision].jar" | ||
contains: *allDependencies | ||
|
||
- playModules: | ||
type: chain | ||
using: | ||
- playLocalModules: | ||
type: local | ||
descriptor: "${play.path}/modules/[module]-[revision]/conf/dependencies.yml" | ||
artifact: "${play.path}/modules/[module]-[revision]" | ||
|
||
- playContributedModules: | ||
type: http | ||
descriptor: "http://www.playframework.org/modules/repo/[module]/[revision]/dependencies.yml" | ||
artifact: "http://www.playframework.org/modules/[module]-[revision].zip" | ||
|
||
contains: | ||
- play -> * | ||
|
||
- mavenCentral: | ||
type: iBiblio | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import os, os.path | ||
import shutil | ||
import urllib, urllib2 | ||
import subprocess | ||
import simplejson as json | ||
|
||
from play.utils import * | ||
|
||
COMMANDS = ['dependencies','deps'] | ||
|
||
HELP = { | ||
'dependencies': 'Check for a release newer than the current one' | ||
} | ||
|
||
def execute(**kargs): | ||
args = kargs.get("args") | ||
play_env = kargs.get("env") | ||
|
||
command = kargs.get("command") | ||
app = kargs.get("app") | ||
args = kargs.get("args") | ||
play_env = kargs.get("env") | ||
|
||
app.check() | ||
classpath = app.getClasspath() | ||
|
||
debug = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n'] | ||
|
||
add_options = ['-Dapplication.path=%s' % (app.path), '-Dframework.path=%s' % (play_env['basedir']), '-Dplay.id=%s' % play_env['id']] | ||
if args.count('--verbose'): | ||
add_options.append('-Dverbose') | ||
if args.count('--sync'): | ||
add_options.append('-Dsync') | ||
if args.count('--debug'): | ||
add_options.append('-Ddebug') | ||
|
||
java_cmd = [app.java_path()] + add_options + ['-classpath', app.cp_args(), 'play.deps.DependenciesManager'] | ||
|
||
subprocess.call(java_cmd, env=os.environ) | ||
|
||
|
Oops, something went wrong.