-
Notifications
You must be signed in to change notification settings - Fork 0
/
MISC
56 lines (39 loc) · 2.15 KB
/
MISC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
This is your new Play 2.1 application
=====================================
This file will be packaged with your application, when using `play dist`.
javaSource and scalaSource are inputs to unmanagedSourceDirectories.
By default, sbt includes src/main/scala and src/main/java in its list of unmanaged source directories.
For Java-only projects, the unnecessary Scala directories can be ignored by modifying unmanagedSourceDirectories:
// Include only src/main/java in the compile configuration
unmanagedSourceDirectories in Compile <<= Seq(javaSource in Compile).join
// Include only src/test/java in the test configuration
unmanagedSourceDirectories in Test <<= Seq(javaSource in Test).join
Classpaths, sources, and resources are separated into two main categories: unmanaged and managed.
Unmanaged files are manually created files that are outside of the control of the build.
They are the inputs to the build.
Managed files are under the control of the build.
These include generated sources and resources as well as resolved and retrieved dependencies and compiled classes.
sourceGenerators in Compile <+= sourceManaged in Compile map { dir =>
val file = dir / "demo" / "Test.scala"
IO.write(file, """object Test extends App { println("Hi") }""")
Seq(file)
}
set unmanagedSourceDirectories in Compile <+= baseDirectory( _ /"src"/"java" )
1. 定期优化
2. 登录
1. 货币的计件单位
5. 店铺其他资产
6. 特殊销售行为 : 预售, 预定
in template :
http://wrongwaycn.github.com/bootstrap/docs/index.html
http://twitter.github.com/bootstrap/
向Web开发人员推荐12款优秀的 Twitter Bootstrap 组件和工具
Colorpicker and Datepicker for Bootstrap
http://lihongbo.blog.51cto.com/3956353/1020468
Fixed sidebar navigation in fluid twitter bootstrap 2.0
http://stackoverflow.com/questions/9629250/how-to-avoid-passing-parameters-everywhere-in-play2
mysqladmin -u root -pcurrentpassword password 'newpassword'
mysqldump --single-transaction --flush-logs --routines=TRUE --default-character-set=utf8 -uroot -p123 --databases baby > baby.sql
export LC_LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
horizontal padding adds to the width of the element