Skip to content

Commit 5777792

Browse files
committed
Update Eclipse readme with use w/o maven details
1 parent 70dc23d commit 5777792

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/ServiceStackEclipse/readme.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,24 @@ Updating a ServiceStack Reference works as normal where you can change any of th
2828

2929
![](https://raw.githubusercontent.com/ServiceStack/Assets/master/img/servicestackeclipse/update-reference-demo.gif)
3030

31+
### Using the plugin without Maven
32+
33+
ServiceStack references can still be added without the use of a Maven project. However, two dependencies will have to added to your Eclipse project for the generated Java to compile. Both JARs are available to download from JCenter or MavenCentral.
34+
35+
1. [`net.servicestack:client`](http://search.maven.org/#search%7Cga%7C1%7Cnet.servicestack)
36+
2. [`com.google.code.gson:gson:2.3.1`](http://search.maven.org/#artifactdetails%7Ccom.google.code.gson%7Cgson%7C2.3.1%7Cjar)
37+
38+
Once you have downloaded these jars, add them to a folder in your project, eg `/lib`.
39+
40+
![](https://raw.githubusercontent.com/ServiceStack/Assets/7bf496d493b05f4f18ece4c8aab270eb8ecc930b/img/servicestackeclipse/without-maven.png)
41+
42+
Then add these dependencies to your Eclipse project.
43+
1. Right click -> Properties on your project in Eclipse.
44+
2. Select `Java Build Path`.
45+
3. Select the `Libraries` tab.
46+
4. Click `Add JAR`.
47+
5. Select both required libraries.
48+
3149
## [ServiceStack Java Documentation](https://github.com/ServiceStack/ServiceStack/wiki/Java-Add-ServiceStack-Reference#update-servicestack-reference)
3250

3351
For further information on the different code-generation configuration options available and examples of using the `JsonServiceClient` refer to the [Java ServiceStack Reference Documentation](https://github.com/ServiceStack/ServiceStack/wiki/Java-Add-ServiceStack-Reference#update-servicestack-reference).

0 commit comments

Comments
 (0)