Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
issue #28 : fix classpath issue when running the admin UI
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbenhassine committed Jul 24, 2018
1 parent ac78860 commit 989912a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

## Latest news

* 24/07/2018: Version 0.4 is out to fix a small issue with the startup of the admin UI.
* 05/11/2017: Version 0.3 is out with a new [administration web interface](https://github.com/j-easy/easy-jobs#admin-web-interface). See all changes in details [here](https://github.com/j-easy/easy-jobs/releases).
* 29/06/2017: Version 0.2 is released with some bug fixes and few enhancements. See all changes in details [here](https://github.com/j-easy/easy-jobs/releases).
* 22/06/2017: Version 0.1 is out! See what this first version brings to the table [here](https://github.com/j-easy/easy-jobs/releases).
Expand Down Expand Up @@ -57,7 +58,7 @@ $>tree -d
Run the job server with the following command:

```
java -cp "drivers/h2/*:lib/*" \
java -cp "drivers/h2/*:lib/server/*" \
-Deasy.jobs.database.config.file=$(pwd)/conf/database.properties \
-Deasy.jobs.database.config.init=true \
-Deasy.jobs.server.config.jobs.directory=$(pwd)/jobs \
Expand All @@ -68,7 +69,7 @@ java -cp "drivers/h2/*:lib/*" \
If you are on windows, use the following command:

```
java -cp "drivers/h2/*;lib/*" ^
java -cp "drivers/h2/*;lib/server/*" ^
-Deasy.jobs.database.config.file=%cd%\conf\database.properties ^
-Deasy.jobs.database.config.init=true ^
-Deasy.jobs.server.config.jobs.directory=%cd%\jobs ^
Expand Down Expand Up @@ -183,7 +184,7 @@ This interface gives you some insights on a running job server and allows you to
To run the application, use the following command:

```
java -cp "drivers/h2/*:lib/*" \
java -cp "drivers/h2/*:lib/admin/*" \
-Deasy.jobs.database.config.file=$(pwd)/conf/database.properties \
-Dserver.port=9000 \
org.jeasy.jobs.admin.Application
Expand All @@ -192,7 +193,7 @@ java -cp "drivers/h2/*:lib/*" \
On windows, you can use the following command:

```
java -cp "drivers/h2/*;lib/*" ^
java -cp "drivers/h2/*;lib/admin/*" ^
-Deasy.jobs.database.config.file=%cd%\conf\database.properties ^
-Dserver.port=9000 ^
org.jeasy.jobs.admin.Application
Expand Down
8 changes: 4 additions & 4 deletions easy-jobs-dist/src/assembly/src.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
<!--lib-->
<fileSet>
<directory>../easy-jobs-admin/target/dependency</directory>
<outputDirectory>lib</outputDirectory>
<outputDirectory>lib/admin</outputDirectory>
</fileSet>
<fileSet>
<directory>../easy-jobs-server/target/dependency</directory>
<outputDirectory>lib</outputDirectory>
<outputDirectory>lib/server</outputDirectory>
</fileSet>
<!--drivers-->
<fileSet>
Expand All @@ -47,11 +47,11 @@
<files>
<file>
<source>../easy-jobs-admin/target/easy-jobs-admin-${project.version}.jar</source>
<outputDirectory>lib</outputDirectory>
<outputDirectory>lib/admin</outputDirectory>
</file>
<file>
<source>../easy-jobs-server/target/easy-jobs-server-${project.version}.jar</source>
<outputDirectory>lib</outputDirectory>
<outputDirectory>lib/server</outputDirectory>
</file>
<file>
<source>../easy-jobs-h2/target/easy-jobs-h2-${project.version}.jar</source>
Expand Down

0 comments on commit 989912a

Please sign in to comment.