Hi: This thread is posted for a long time. Thank Justin and other people, I have made some progress with their help. :).
However I meet another problem, the ows which I try to add to gs contains the following modules ,a web module(ows-web) and a jar module(ows-server), and there is a folder named conf under the ows-web/src/main/webapp/WEB-INF/conf.. Under this folder there are many config files which are to be used in the servlet under the ows-server module. And this servelt is just the one I wrapped as a org.springframework.web.servlet.mvc.ServletWrappingController. I do not think it's a good idea to add the config files to the web module of gs directly, because 1 ) I do not want to break the gs architecture. 2 ) the wcs wms also read data from the local disk, how did them configed? Can I use the same way for my ows? 2009/12/24 maven apache <[email protected]> > > > 2009/12/24 Andrea Aime <[email protected]> > >> maven apache ha scritto: >> >> Yes,I forgot mention that: >>> I have add a profile in the pom fo the webapp module: >>> ---------------------- >>> <profile> >>> <id>addking</id> >>> <dependencies> >>> <dependency> >>> <groupId>org.geoserver</groupId> >>> <artifactId>king</artifactId> >>> <version>2.0.0</version> >>> </dependency> >>> </dependencies> >>> </profile> >>> --------------------- Then I run commond: mvn clean install >>> -Dmaven.test.skip=true -P addking, and I am sure the king.2.0.0.jar is >>> included in the web/app/target/geoserver/webinfo/lib. >>> >> >> That does not matter. Is the web-app project referring to the king >> project in Eclipse? >> > No,in the buildpath page,the project king do not exist, I wonder if it is > caused that" the dependency king is not defined directly ? it is defined by > profile manner? > >> Try running: >> mvn eclipse:eclipse -o -Paddking >> >> Ok, just following your suggestion, first I delete the .class and .project > file under the web/app module,then run the above commond,then run mvn > install -P addking. > > But problem also . > The logs can be found here:http://dpaste.com/137319/ > >> and then refreshing from Eclipse >> >> >> Cheers >> Andrea >> >> >> -- >> Andrea Aime >> OpenGeo - http://opengeo.org >> Expert service straight from the developers. >> > >
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
