Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Indented code blocks in listings

  • Loading branch information...
commit ad338a619115ec2a3fc7f28670f8500d8f027760 1 parent 22b4c31
Richard O. Legendi authored April 16, 2012

Showing 1 changed file with 33 additions and 33 deletions. Show diff stats Hide diff stats

  1. 66  README.md
66  README.md
Source Rendered
@@ -20,37 +20,37 @@ The Scala IDE for Eclipse can be built on the command line using Maven, as is do
20 20
     * [Maven 3](http://maven.apache.org/download.html)
21 21
 * (Inital setup) Retrieve the source from its git repository, and make sure to checkout the `master` branch
22 22
 
23  
-```bash
24  
-# Clone and checkout master branch
25  
-$ git clone git://github.com/scala-ide/scala-ide.git
26  
-$ cd scala-ide
27  
-```
  23
+	```bash
  24
+	# Clone and checkout master branch
  25
+	$ git clone git://github.com/scala-ide/scala-ide.git
  26
+	$ cd scala-ide
  27
+	```
28 28
 
29 29
 * (Subsequent updates) Update the source from the repository,
30 30
 
31  
-```bash
32  
-$ cd scala-ide
33  
-$ git pull
34  
-```
  31
+	```bash
  32
+	$ cd scala-ide
  33
+	$ git pull
  34
+	```
35 35
 
36 36
 * Navigate to the build directory,
37 37
 
38  
-```bash
39  
-$ cd org.scala-ide.build
40  
-```
  38
+	```bash
  39
+	$ cd org.scala-ide.build
  40
+	```
41 41
 
42 42
 * Build using scripts provided,
43 43
 
44  
-```bash
45  
-# For builds relative to Scala 2.8.0.final
46  
-$ ./build-ide-2.8.3-SNAPSHOT
47  
-#
48  
-# For builds relative to Scala 2.9.0.final
49  
-$ ./build-ide-2.9.2-SNAPSHOT
50  
-#
51  
-# For builds relative to Scala trunk
52  
-$ ./build-ide-trunk.sh
53  
-```
  44
+	```bash
  45
+	# For builds relative to Scala 2.8.0.final
  46
+	$ ./build-ide-2.8.3-SNAPSHOT
  47
+	#
  48
+	# For builds relative to Scala 2.9.0.final
  49
+	$ ./build-ide-2.9.2-SNAPSHOT
  50
+	#
  51
+	# For builds relative to Scala trunk
  52
+	$ ./build-ide-trunk.sh
  53
+	```
54 54
 
55 55
 Assuming your build is successful you should find an Eclipse update site has been built in `org.scala-ide.sdt.update-site/target/site` and a zipped version of the same at `org.scala-ide.sdt.update-site/target/site_assembly.zip`. You can install directly into Eclipse from this update site by adding it as a local update site via the Eclipse "Install New Software ..." action. Alternatively, if you make the unpacked site available via a web server, then the http URL of its root directory is acceptable as an ordinary Eclipse update site URL.
56 56
 
@@ -60,19 +60,19 @@ Working with local version of the Scala Presentation Compiler
60 60
   * Make your local changes in the scala compiler 
61 61
   * Build the scala compiler, package into maven format and deploy locally,
62 62
 
63  
-```bash
64  
-# You are in the main scala directory
65  
-$ ant distpack-opt
66  
-$ (cd dists/maven/latest; ant -Dlocal.snapshot.repository=${LOCAL_REPO} -Dlocal.release.repository=${LOCAL_REPO} deploy.snapshot.local)
67  
-# If you use the standard .m2 location for maven, then the last command reduces to
68  
-$ (cd dists/maven/latest; ant deploy.snapshot.local)
69  
-```
  63
+	```bash
  64
+	# You are in the main scala directory
  65
+	$ ant distpack-opt
  66
+	$ (cd dists/maven/latest; ant -Dlocal.snapshot.repository=${LOCAL_REPO} -Dlocal.release.repository=${LOCAL_REPO} deploy.snapshot.local)
  67
+	# If you use the standard .m2 location for maven, then the last command reduces to
  68
+	$ (cd dists/maven/latest; ant deploy.snapshot.local)
  69
+	```
70 70
 
71 71
   * Go to directory where you cloned your scala-ide and run the necessary scripts that use your local trunk version
72 72
 
73  
-```bash
74  
-$ (cd org.scala-ide.build-toolchain; ./build-toolchain-local-trunk.sh)
75  
-$ (cd org.scala-ide.build; ./build-ide-local-trunk.sh)
76  
-```
  73
+	```bash
  74
+	$ (cd org.scala-ide.build-toolchain; ./build-toolchain-local-trunk.sh)
  75
+	$ (cd org.scala-ide.build; ./build-ide-local-trunk.sh)
  76
+	```
77 77
 
78 78
 If the build was successful you will end up with a right update-site - it contains the local changes you made in the scala compiler. It is possible to start the Eclipse instance with that plugin within your original workspace. You just have to have the following projects open `org.scala-ide.{sdt.core, scala.compiler, scala.library}`. Build `sdt.core` project within Eclipse and run the configuration using the weaving launcher.

0 notes on commit ad338a6

Please sign in to comment.
Something went wrong with that request. Please try again.