This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dashboard build to run without manual intervention
Change-Id: Ic5708cdfa4c389f39c501c83f9d79d0581d6d99c
- Loading branch information
Showing
3 changed files
with
115 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,7 @@ | |||
*~ | |||
#* | |||
.#* | |||
*# | |||
.idea | .idea | ||
.bundle | .bundle | ||
.yardoc | .yardoc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,16 +1,16 @@ | |||
* GChart isn't published in a Maven repository. Therefore follow this process: | Build with Maven 3.0.4 (http://mirror.lividpenguin.com/pub/apache/maven/binaries/apache-maven-3.0.4-bin.tar.gz): | ||
-- Download http://code.google.com/p/clientsidegchart/downloads/detail?name=gchart-2.7.zip | |||
-- Unzip it | |||
-- From the unzipped directory, execute: | |||
mvn install:install-file -Dfile=gchart.jar \ | |||
-DgroupId=com.googlecode.gchart -DartifactId=gchart \ | |||
-Dversion=2.7 -Dpackaging=jar \ | |||
-DgeneratePom=true -DcreateChecksum=true | |||
|
|
||
* Guava-gwt isn't published in a Maven repository, either. Therefore follow this process: | $ mvn package | ||
-- Download http://guava-libraries.googlecode.com/files/guava-r09.zip | $ ls target/*.war | ||
-- Unzip it | target/dashboard-1.0-SNAPSHOT-xxxxx.war | ||
-- From the unzipped directory, execute: |
|
||
mvn install:install-file -Dfile=guava-r09-gwt.jar \ | Or run directly with | ||
-DgroupId=com.google.guava -DartifactId=guava -Dversion=r09 -Dclassifier=gwt \ |
|
||
-Dpackaging=jar -DgeneratePom=true -DcreateChecksum=true | $ mvn tomcat:run-war | ||
|
|||
The app will start at http://localhost:8080/dashboard. | |||
|
|||
Once you have built the war file, if you stop and want to start the | |||
server again and haven't made any changes, you will find this useful: | |||
|
|||
$ mvn tomcat:run-war -Dgwt.compiler.skip=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters