Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Commit

Permalink
Update pom and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstein committed Mar 1, 2017
1 parent c6e81e7 commit 35deba6
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 11 deletions.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# mapapps-omnisearch-autoinfo
# Omnisearch Auto Info Bundle
The Omnisearch Auto Info Bundle opens a feature info after a search was successful.

### Sample App ###
http://www.mapapps.de/mapapps/resources/apps/downloads_omnisearch_autoinfo/index.html

### 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. Goal parameters
`mvn install -Dmapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%`

2. Build properties
Change the mapapps.remote.base in the build.properties file and run:
`mvn install -Denv=dev -Dlocal.configfile=%ABSOLUTEPATHTOPROJECTROOT%/build.properties`

Installation Guide
------------------

Just add the bundles to your app.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.conterra.devnet</groupId>
<artifactId>mapapps-omnisearch-autoinfo</artifactId>
<version>3.7.0</version>
<version>1.0.0</version>
<packaging>jar</packaging>
<!-- DISABLE repositories and pluginRepositories if inside the con terra! -->
<repositories>
Expand Down
2 changes: 1 addition & 1 deletion src/main/js/bundles/dn_omnisearchautoinfo/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Bundle-SymbolicName": "dn_omnisearchautoinfo",
"Bundle-Version": "1.0.0-SNAPSHOT",
"Bundle-Version": "1.0.0",
"Bundle-Name": "${bundleName}",
"Bundle-Description": "${bundleDescription}",
"Bundle-Vendor": "con terra GmbH",
Expand Down
6 changes: 2 additions & 4 deletions src/main/js/bundles/dn_omnisearchautoinfo/nls/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
*/
define({
root: {
bundleName: "OmniSearchSelector",
bundleDescription: "This bundle selects features after an OmniSearch",
toolName: "OmniSearchSelectorTool",
toolToolTip: "OmniSearchSelectorTool"
bundleName: "OmniSearch Auto Info",
bundleDescription: "This bundle activates a feature info after a search was successful"
},
de: true
});
6 changes: 2 additions & 4 deletions src/main/js/bundles/dn_omnisearchautoinfo/nls/de/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* limitations under the License.
*/
define({
bundleName: "OmniSearchSelector",
bundleDescription: "Dieses Bundle dient der Selektion nach einer OmniSearch-Suche",
toolName: "OmniSearchSelectorTool",
toolToolTip: "OmniSearchSelectorTool"
bundleName: "OmniSearch Auto Info",
bundleDescription: "Dieses Bundle \u00f6ffnet ein Featureinfo-Fenster nachdem eine Suche erfolgreich war"
});

0 comments on commit 35deba6

Please sign in to comment.