日本搞逼视频_黄色一级片免费在线观看_色99久久_性明星video另类hd_欧美77_综合在线视频

國內最全IT社區平臺 聯系我們 | 收藏本站
阿里云優惠2
您當前位置:首頁 > web前端 > htmlcss > eclipse中建geoserver源碼

eclipse中建geoserver源碼

來源:程序員人生   發布時間:2015-02-10 08:33:18 閱讀次數:6139次

概述:本文講述的是在eclipse中如何構建geoserver源碼工程,其中觸及到了jdk,github,marven等。


1、安裝git

 從(http://git-scm.com/download/win),取得Git⑴.9.0-preview2014021 7.exe文件,直接安裝便可。安裝成功后,在任何地方右擊鼠標,出現以下圖所示:


百度網盤下載

2、從git中簽出geoserver源碼

點擊“Git GUI”將顯現以下界面,選擇“克隆已有版本”,進入源碼克隆界面,輸入響應的source Location(源碼地點地位git://github.com/geoserver/geoserver.git) 和 Target Location(本地存儲地位)。


克隆已有版本


輸入參數

克隆完成后,源代碼的組織以下:



3、下載并配置Maven

 (http://maven.apache.org/download.cgi)選擇apache-maven⑶.21-bin.zip,maven是號令行法式,將取得的緊縮包解壓,解壓后文件組織以下:


并添加D:softwarejavawebmavenin到path變量中。


maven百度網盤下載地址

4、通過maven構建源碼

4.1  跳轉路徑到geoserver的src目錄下

C:UsersAdministrator>d: D:>cd D:opengisopengissrc D:opengisopengissrc>
4.2 臨時將maven的路徑添加至環境變量中

履行以下命令:

Set PATH = “maven_dir/bin”;%PATH%
4.3 構建工程

履行以下命令,構建工程:

mvn clean install mvn -DskipTests clean install

注意:第1條號令在構建的同時實行測試用例測試類文件,在號令實行進程中有可能會顯現毛病;第2條號令在構建時,不進行測試,不會有測試不經過進程的異常。

履行命令輸出:

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] GeoServer ......................................... SUCCESS [ 5.916 s] [INFO] Core Platform Module .............................. SUCCESS [ 5.763 s] [INFO] Open Web Service Module ........................... SUCCESS [ 6.644 s] [INFO] Main Module ....................................... SUCCESS [01:15 min] [INFO] GeoServer Security Modules ........................ SUCCESS [ 0.607 s] [INFO] GeoServer JDBC Security Module .................... SUCCESS [ 8.048 s] [INFO] GeoServer LDAP Security Module .................... SUCCESS [ 8.002 s] [INFO] Web Coverage Service Module ....................... SUCCESS [ 3.605 s] [INFO] Web Coverage Service 1.0 Module ................... SUCCESS [ 6.524 s] [INFO] Web Coverage Service 1.1 Module ................... SUCCESS [ 10.715 s] [INFO] Web Coverage Service 2.0 Module ................... SUCCESS [ 13.674 s] [INFO] Web Feature Service Module ........................ SUCCESS [ 18.692 s] [INFO] Web Map Service Module ............................ SUCCESS [03:41 min] [INFO] KML support for GeoServer ......................... SUCCESS [01:17 min] [INFO] GeoWebCache (GWC) Module .......................... SUCCESS [03:34 min] [INFO] REST Support Module ............................... SUCCESS [ 3.981 s] [INFO] REST Configuration Service Module ................. SUCCESS [01:23 min] [INFO] GeoServer Web Modules ............................. SUCCESS [ 0.162 s] [INFO] Core UI Module .................................... SUCCESS [02:46 min] [INFO] WMS UI Module ..................................... SUCCESS [ 5.256 s] [INFO] GWC UI Module ..................................... SUCCESS [ 10.776 s] [INFO] WFS UI Module ..................................... SUCCESS [ 3.262 s] [INFO] Demoes Module ..................................... SUCCESS [01:08 min] [INFO] WCS UI Module ..................................... SUCCESS [ 4.632 s] [INFO] Security UI Modules ............................... SUCCESS [ 0.155 s] [INFO] Security UI Core Module ........................... SUCCESS [ 7.840 s] [INFO] Security UI JDBC Module ........................... SUCCESS [ 4.315 s] [INFO] Security UI LDAP Module ........................... SUCCESS [ 12.600 s] [INFO] GeoServer Web Application ......................... SUCCESS [01:42 min] [INFO] Community Space ................................... SUCCESS [ 7.778 s] [INFO] GeoServer Extensions .............................. SUCCESS [ 0.226 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19:21 min [INFO] Finished at: 2014-03-05T16:52:55+08:00 [INFO] Final Memory: 188M/368M [INFO] ------------------------------------------------------------------------
4.4 通過maven創建eclipse工程文件

履行命令:

mvn eclipse:eclipse
履行結果以下:

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] GeoServer ......................................... SUCCESS [ 10.022 s] [INFO] Core Platform Module .............................. SUCCESS [ 6.761 s] [INFO] Open Web Service Module ........................... SUCCESS [ 4.690 s] [INFO] Main Module ....................................... SUCCESS [ 8.291 s] [INFO] GeoServer Security Modules ........................ SUCCESS [ 0.041 s] [INFO] GeoServer JDBC Security Module .................... SUCCESS [ 0.759 s] [INFO] GeoServer LDAP Security Module .................... SUCCESS [ 1.313 s] [INFO] Web Coverage Service Module ....................... SUCCESS [ 0.299 s] [INFO] Web Coverage Service 1.0 Module ................... SUCCESS [ 1.545 s] [INFO] Web Coverage Service 1.1 Module ................... SUCCESS [ 4.898 s] [INFO] Web Coverage Service 2.0 Module ................... SUCCESS [ 0.354 s] [INFO] Web Feature Service Module ........................ SUCCESS [ 0.502 s] [INFO] Web Map Service Module ............................ SUCCESS [ 3.534 s] [INFO] KML support for GeoServer ......................... SUCCESS [ 1.063 s] [INFO] GeoWebCache (GWC) Module .......................... SUCCESS [ 9.024 s] [INFO] REST Support Module ............................... SUCCESS [ 0.285 s] [INFO] REST Configuration Service Module ................. SUCCESS [ 0.484 s] [INFO] GeoServer Web Modules ............................. SUCCESS [ 0.032 s] [INFO] Core UI Module .................................... SUCCESS [ 0.922 s] [INFO] WMS UI Module ..................................... SUCCESS [ 0.338 s] [INFO] GWC UI Module ..................................... SUCCESS [ 1.009 s] [INFO] WFS UI Module ..................................... SUCCESS [ 0.274 s] [INFO] Demoes Module ..................................... SUCCESS [ 0.408 s] [INFO] WCS UI Module ..................................... SUCCESS [ 0.604 s] [INFO] Security UI Modules ............................... SUCCESS [ 0.033 s] [INFO] Security UI Core Module ........................... SUCCESS [ 0.319 s] [INFO] Security UI JDBC Module ........................... SUCCESS [ 0.331 s] [INFO] Security UI LDAP Module ........................... SUCCESS [ 0.401 s] [INFO] GeoServer Web Application ......................... SUCCESS [ 0.595 s] [INFO] Community Space ................................... SUCCESS [ 0.032 s] [INFO] GeoServer Extensions .............................. SUCCESS [ 0.030 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:09 min [INFO] Finished at: 2014-03-05T17:06:55+08:00 [INFO] Final Memory: 119M/447M [INFO] ------------------------------------------------------------------------ D:TechnologyLearnningopen_gisgeoservergeoserver_devprojectgeoserver20140305src>
5、將工程導入eclipse并運行

5.1 添加Classpath Variables

打開eclipse,選擇window下的preference,在對話框當選擇java->buildpath->Classpath Variables,點擊“new”將本地的maven     repository路徑作為classpath變量添加至工作空間中。


5.2 導入工程

在eclipse中點擊 “file”選擇“import”將創建的eclipse導入至eclipse中。


import


存在的工程

選擇geoserver/src文件夾


導入后,布局以下:


5.3 運行

運行start.java


Console中顯現以下記錄:

log4j:WARN File option not set for appender [geoserverlogfile]. log4j:WARN Are you using FileAppender instead of ConsoleAppender? 3月 05, 2014 9:31:37 下午 org.geoserver.platform.GeoServerExtensions checkContext 正告: Extension lookup occured, but ApplicationContext is unset. 05 3月 21:31:37 INFO [geoserver.global] - ---------------------------------- - GEOSERVER_DATA_DIR: D:TechnologyLearnningopen_gisgeoservergeoserver_devprojectgeoserver20140305srcwebappsrcmainwebappdata ---------------------------------- 05 3月 21:31:38 INFO [org.geoserver] - Loaded style ""line"" 05 3月 21:31:38 INFO [org.geoserver] - Loaded style ""point"" 05 3月 21:31:38 INFO [org.geoserver] - Loaded style ""polygon"" 05 3月 21:31:38 INFO [org.geoserver] - Loaded style ""raster"" 05 3月 21:31:38 INFO [org.geoserver] - Loaded default workspace it.geosolutions 05 3月 21:31:38 INFO [org.geoserver] - Loaded workspace ""it.geosolutions"" 05 3月 21:31:38 INFO [org.geoserver] - Loaded workspace ""topp"" 05 3月 21:31:38 INFO [storage.DefaultStorageFinder] - ************************************************************************************************************ 05 3月 21:31:38 INFO [storage.DefaultStorageFinder] - *** Found System environment variable TEMP set to C:UserssmartmapAppData LocalTemp, using it as the default prefix. *** 05 3月 21:31:38 INFO [storage.DefaultStorageFinder] - ************************************************************************************************************* 05 3月 21:31:38 INFO [config.XMLConfiguration] - Will look for geowebcache.xml in ""C:UserssmartmapAppDataLocalTempgeowebcache"" 05 3月 21:31:38 INFO [gwc.layer] - Initializing GWC configuration based on GeoServer""s Catalog 05 3月 21:31:38 INFO [gwc.layer] - GeoServer TileLayer store base directory is: D:TechnologyLearnningopen_gisgeoservergeoserver_devprojectgeoserver20140305srcwebappsrcmainwebappdatagwc-layers 05 3月 21:31:38 INFO [gwc.layer] - Loading tile layers D:TechnologyLearnningopen_gisgeoservergeoserver_devprojectgeoserver20140305srcwebappsrcmainwebappdatagwc-layers 05 3月 21:31:38 INFO [gwc.layer] - GWC configuration based on GeoServer""s Catalog loaded successfuly 05 3月 21:31:38 INFO [layer.TileLayerDispatcher] - Configuration GeoServer Catalog Configuration contained no layers. 05 3月 21:31:38 INFO [config.XMLConfiguration] - Found configuration file in C:UserssmartmapAppDataLocalTempgeowebcache 05 3月 21:31:38 WARN [config.XMLConfiguration] - ******************************************************************* 05 3月 21:31:38 WARN [config.XMLConfiguration] - *** GWC configuration validation error: cvc-elt.1: 找不到元素 ""gwcConfiguration"" 的聲明。 05 3月 21:31:38 WARN [config.XMLConfiguration] - *** Will try to use configuration anyway. Please check the order of declared elements against the schema. 05 3月 21:31:38 WARN [config.XMLConfiguration] - ************************************************************ 05 3月 21:31:38 INFO [config.XMLConfiguration] - Initializing GridSets C:UserssmartmapAppDataLocalTempgeowebcache 05 3月 21:31:38 INFO [config.XMLConfiguration] - Initializing layers C:UserssmartmapAppDataLocalTempgeowebcache 05 3月 21:31:38 INFO [layer.TileLayerDispatcher] - Configuration C:UserssmartmapAppDataLocalTempgeowebcache contained no layers. 05 3月 21:31:39 INFO [diskquota.ConfigLoader] - DiskQuota configuration not found: C:UserssmartmapAppDataLocalTempgeowebcache geowebcache-diskquota.xml 05 3月 21:31:39 INFO [diskquota.ConfigLoader] - DiskQuota configuration not found: C:UserssmartmapAppDataLocalTempgeowebcache geowebcache-diskquota.xml 05 3月 21:31:39 INFO [diskquota.DiskQuotaMonitor] - Setting up disk quota periodic enforcement task 05 3月 21:31:39 INFO [diskquota.DiskQuotaMonitor] - 0 layers configured with their own quotas. 05 3月 21:31:39 INFO [diskquota.DiskQuotaMonitor] - 0 layers attached to global quota 500.0 MB 05 3月 21:31:39 INFO [diskquota.DiskQuotaMonitor] - Disk quota periodic enforcement task set up every 10 SECONDS 05 3月 21:31:39 INFO [org.geoserver] - Loaded service ""wfs"", enabled 05 3月 21:31:39 INFO [org.geoserver] - Loaded service ""wms"", enabled 05 3月 21:31:39 INFO [org.geoserver] - Loaded service ""wcs"", enabled 05 3月 21:31:39 INFO [gwc.config] - Initializing GeoServer specific GWC configuration gwc-gs.xml 05 3月 21:31:39 INFO [ows.OWSHandlerMapping] - Mapped URL path [/gwc/service/**] onto handler ""dispatcher"" 05 3月 21:31:39 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked setServletPrefix(gwc) 05 3月 21:31:39 INFO [georss.GeoRSSPoller] - Initializing GeoRSS poller in a background job... 05 3月 21:31:39 INFO [georss.GeoRSSPoller] - No enabled GeoRSS feeds found, poller will not run. 05 3月 21:31:40 INFO [rest.RESTDispatcher] - Created RESTDispatcher with 14 paths 05 3月 21:31:40 INFO [wms.WMSService] - Will NOT recombine tiles for non-tiling clients. 05 3月 21:31:40 INFO [wms.WMSService] - Will proxy requests to backend that are not getmap or getcapabilities. 05 3月 21:31:40 INFO [ows.OWSHandlerMapping] - Mapped URL path [/ows/**] onto handler ""dispatcher"" 05 3月 21:31:40 INFO [ows.OWSHandlerMapping] - Mapped URL path [/ows] onto handler ""dispatcher"" 05 3月 21:31:40 INFO [org.geoserver] - GeoServer configuration lock is enabled 05 3月 21:31:41 INFO [ows.OWSHandlerMapping] - Mapped URL path [/wfs/*] onto handler ""dispatcher"" 05 3月 21:31:41 INFO [ows.OWSHandlerMapping] - Mapped URL path [/TestWfsPost] onto handler ""wfsTestServlet"" 05 3月 21:31:41 INFO [ows.OWSHandlerMapping] - Mapped URL path [/wfs] onto handler ""dispatcher"" 05 3月 21:31:45 INFO [ows.OWSHandlerMapping] - Mapped URL path [/wms/*] onto handler ""dispatcher"" 05 3月 21:31:45 INFO [ows.OWSHandlerMapping] - Mapped URL path [/wms] onto handler ""dispatcher"" 05 3月 21:31:46 INFO [ows.OWSHandlerMapping] - Mapped URL path [/animate] onto handler ""dispatcher"" 05 3月 21:31:46 INFO [ows.OWSHandlerMapping] - Mapped URL path [/animate/*] onto handler ""dispatcher"" 05 3月 21:31:46 INFO [ows.OWSHandlerMapping] - Mapped URL path [/wcs] onto handler ""dispatcher"" 05 3月 21:31:46 INFO [ows.OWSHandlerMapping] - Mapped URL path [/wcs/**] onto handler ""dispatcher"" 05 3月 21:31:47 INFO [ows.OWSHandlerMapping] - Mapped URL path [/kml] onto handler ""dispatcher"" 05 3月 21:31:47 INFO [ows.OWSHandlerMapping] - Mapped URL path [/kml/*] onto handler ""dispatcher"" 05 3月 21:31:47 INFO [ows.OWSHandlerMapping] - Mapped URL path [/kml/icon/**/*] onto handler ""kmlIconService""
以后在閱讀器中打開:http://localhost:8080/geoserver/,以下:



如有疑問請聯系:

QQ:1004740957
email:niujp08@qq.com




生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 中文字幕亚洲色图 | av免费在线网站 | 99re国产精品 | 欧美日韩国产三区 | 亚洲午夜久久久久 | 九九热在线精品视频 | 黄色片免费网址 | 小受性瘾放荡的np文h | 成人免费自拍视频 | 青青久久av| 看a黄大片| www.三级.com| 久久成人免费 | 亚洲成人一二三 | 国产高清免费视频 | 国产又黄又爽又色的视频 | 自拍偷拍欧美日韩 | 中文字幕一区三区 | 韩国三级日本三级少妇99 | 成人在线视频看看 | 99视频在线播放 | 成人av免费在线 | 精品一区二区三区三区 | 午夜国产一区 | 国产一区二区三区在线 | 亚洲精品乱码久久久久膏 | 免费一区二区 | 99久久国产免费 | 99精品欧美一区二区三区综合在线 | 最新国产露脸在线观看 | 精品久久久久久久久久久久久久久久久久 | 开心成人 | 欧美日韩国产一区二区在线观看 | 亚洲福利视频导航 | 亚洲免费在线 | 国产午夜精品福利 | 欧美 日韩 国产 成人 在线 91 | 亚洲三级免费 | 好看的黄色网址 | 国产成人精品一区二区三区 | 波多野结衣av电影 |