forked from cbeams/distyles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
83 lines (49 loc) · 2.22 KB
/
README.txt
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
----------------------------------------------------------
Spring DI Styles webinar companion project
----------------------------------------------------------
Introduction
------------
This project uses Git for source control (http://git-scm.com), and is hosted
at GitHub (http://github.com/cbeams/distyles).
To clone (check out) the project:
git clone git://github.com/cbeams/distyles.git
If you don't have git installed, and would like a zip or tar of the sources:
http://github.com/cbeams/distyles/archives/master
This project is built using Gradle (http://gradle.org).
To execute build system tasks, simply run the 'gradle wrapper' script
appropriate to your platform. You'll notice these scripts are available in the
root of this project, meaning there is nothing for you to download or install.
For Windows: `gradlew.bat`
For OSX/*nix: `gradlew`
The remainder of this document will simply refer these scripts as 'gradlew'.
Discover available tasks:
-------------------------
gradlew --tasks
or
gradlew -t
Build the project:
------------------
gradlew build
Note that 'build' includes compilation, testing, and packaging. For Maven users,
`gradlew build` is roughly equivalent to `mvn package`.
Of course, the first time you execute this task, Gradle will download all
project dependencies.
Import the project into Eclipse/STS:
------------------------------------
gradlew eclipse
to update .classpath file with paths to the dependency jars you just downloaded
(note that .project and .springBeans files already exist). This command will
also retrive and link dependency source jars. After this is complete, you can
import the project as follows:
File->Import->Existing Projects Into Workspace
If using STS (http://www.springsource.com/developer/sts), you'll be glad to know
that the Spring Project Nature has already been applied for you in the .project
file, so you should have complete tooling for the Spring XML files in the
project without any extra steps.
Import the project into IntellJ IDEA:
-------------------------------------
gradlew idea
to create .iml, .ipr, and .iws files
Run the TransferScript main():
------------------------------
gradlew runTransferScript