Andreas Schmitz wrote:manage to run plugin as stand alone again.

> thanks. To run the WFSPlugin standalone, run the main class
> de.latlon.deejump.wfs.ui.WFSFrame (I moved the classes around a bit, maybe
> that's why it didn't work for you any more).


I modified a bit the fine openjump.bat Windows batch file so it starts now 
WFSPlugin.  Find attached.  Rename wfsplugin.txt to wfsplugin.bat, drop it to 
openjump\bin and run. Naturally after installing the plugin and the other jar 
files needed.

I got one step further with the WFS 1.1.0 against GeoServer but stopped to odd 
behaviour from Geoserver side this time.  I am waiting for response from 
GeoServer mailing list.

-Jukka Rahkonen-

@echo off
set OLD_DIR=%CD%
set JUMP_HOME=%~dp0..%
set JAVA_OPTS=-Xms256M -Xmx256M "-Djump.home=%JUMP_HOME%" 
"-Dlog4j.configuration=file:%JUMP_HOME%\bin\log4j.xml"
cd %JUMP_HOME%
set LIB=lib

set CLASSPATH=.;bin
set CLASSPATH=conf;%CLASSPATH%
set CLASSPATH=lib\ext;%CLASSPATH%

for %%i in ("lib\*.jar") do call "%JUMP_HOME%\bin\lcp.bat" %%i
for %%i in ("lib\*.zip") do call "%JUMP_HOME%\bin\lcp.bat" %%i
REM Read the jar files from lib\ext directory as well
for %%i in ("lib\ext\*.jar") do call "%JUMP_HOME%\bin\lcp.bat" %%i

set PATH=%PATH%;%LIB%\ext

set JUMP_OPTS=-properties bin\workbench-properties.xml -plug-in-directory 
"%LIB%\ext"
REM Start WFSPlugin as stand alone application
start javaw -cp "%CLASSPATH%" %JAVA_OPTS% de.latlon.deejump.wfs.ui.WFSFrame 
%JUMP_OPTS%

cd %OLD_DIR%
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to