-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6413ea7
commit 070ba49
Showing
48 changed files
with
4,003 additions
and
0 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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
target/* | ||
.idea/* | ||
*.iml | ||
nbactions.xml |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# map.apps Remote Project Blueprint | ||
|
||
Development Guide | ||
------------------ | ||
### Pre Conditions | ||
This project requires an existing installation of map.apps to work. You need top copy the libs provided in the CD-Contents folder "m2repository" inside your local maven repository. | ||
|
||
### Define the mapapps remote base | ||
Before you can run the project you have to define the mapapps.remote.base property in the pom.xml-file: | ||
`<mapapps.remote.base>http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%</mapapps.remote.base>` | ||
|
||
##### Other methods to to define the mapapps.remote.base property. | ||
######1. Add a goal parameter | ||
`mvn install -Dmapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%` | ||
|
||
######2. Change the mapapps.remote.base property in the build.properties file and run: | ||
`mvn install -Denv=dev -Dlocal.configfile=%ABSOLUTEPATHTOPROJECTROOT%/build.properties` | ||
|
||
### Maven Goals | ||
|
||
##### Start jetty at http://localhost:9090 for local implementation. | ||
`mvn jetty:run` | ||
|
||
##### build uncompressed jar and app template | ||
`mvn install` | ||
|
||
##### build uncompressed jar and app template and upload them to the remote map.apps installation | ||
`mvn clean install -P upload` | ||
|
||
##### build compressed jar and app template | ||
`mvn clean install -P compress` | ||
|
||
##### build compressed jar and app template and upload them to the remote map.apps installation | ||
`mvn clean install -P compress,upload` | ||
|
||
### URLs | ||
The following urls are available after maven goal `jetty:run` was executed. | ||
|
||
##### Base App | ||
http://localhost:9090 | ||
|
||
##### Embedded JS Registry | ||
http://localhost:9090/resources/jsregistry/root | ||
|
||
##### Open Tests in Browser | ||
http://localhost:9090/js/tests/runTests.html |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright (C) ${project.inceptionYear} ${owner} (${email}) | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# Copyright (C) 2015 con terra GmbH ([email protected]) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
# URL to the remote map.apps instance | ||
mapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION% |
Oops, something went wrong.