osdir.com
mailing list archive

Subject: Improved windows bat file - msg#00235

List: gis.jump.devel

Date: Prev Next Index Thread: Prev Next Index
The following is an improved windows bat file that allows the
application to be run from any directory and also dynamically loads all
zip,jar libraries in the lib (not ext) folder.

I'd also like to make it have user based coinfiguration as per my unix
script.

Any objections to checking this in?

Paul

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

cd %JUMP_HOME%
set LIB=lib

set CLASSPATH=.
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

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

set JUMP_OPTS=-properties bin\workbench-properties.xml
-plug-in-directory "%LIB%\ext"
start javaw -cp "%CLASSPATH%" %JAVA_OPTS%
com.vividsolutions.jump.workbench.JUMPWorkbench %JUMP_OPTS%

cd %OLD_DIR%


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Extension class loader

It's OK I found a work around, I agree if we don't have to mess with classloaders then we shouldn't Paul Paul Austin wrote: > Right now the class loader used for loading extension classes does not > have a parent class loader set see > com.vividsolutions.jump.workbench.plugin.PlugInManager. > > I think that it should have a parent and it be set to the class loader > of the PlugInManager class (which is the system class path). > > Can anyone see any issues with doing this? > > Paul > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Next Message by Date: click to view message preview

Re: Paul's plugins

Michael, 1. The reason there is two dock and close icons is that the one on the right is for the group of tabs and the one on the left is for the individual tab. Little weird I know. I'm actually looking at some other docking frameworks which might also give us dockable toolbars so the specifics if the docking may change. But each of the components are created from a ComponentFactory and don't know about the docking framework so I should be able to swap things out easily when I make the final decision. 2. I haven't gone through all the places yet, I'll fix the clone window and the view edit attributes toolbar 3. It should be easy to migrate your plugins to use the new open file menu, what were the exact issues? There maybe a timing issue in relation to setting up of the existing loaders 4. On the moving of layers, I'm guessing this is something to do with how the tree panel is refreshed, I'll investigate to see what is happening Paul Michaël Michaud wrote: > Hi Paul, > > Excellent job, > > I did not test all your plugins and modifications yet, but here is a > quick feed back. > > Docking framework looks nice. It is cool to have a default map filling > the main frame. > - I don't understand why there are 2 dock and 2 close icons for each > internal frame > - layers and map are docked, but attribute tables and cloned windows are > not (when called from icon and from window>clone window menu) > - windows > show view > info xxx does not work on my machine (I get only > empty tables) > - margins and space between docked windows are a bit large (but it's > only my taste :-) ) > > OpenFile menu is fine (also with margins even larger than those of > docked windows). > - ui is user friendly :-) > - It breaks some of my driver plugins :-( (but I guess there is not > too much work to adapt them to the new framework) > > I did not test Open recent > > Hide/Show for categories is a nice feature > > Theming style : Nice to have fixed the update problem. > There is still a minor issue : when you do a color theming, then clik on > an attribute value in the layers panel, then move the separator between > docked windows, it disables the styling icon. If you click on a layer > name, it is still disabled, if you move again the separator, it is able > again... > > Anyway, very nice work, hope we'll be able to include it in the core. > > Michael > > PS not tested TOF yet > > > > Paul Austin a écrit : > > >> All, >> >> I have finally got to the point where I can share my plug-ins with the >> community to get your feedback and to see if any of them should be >> integrated into the core. You will need to be working against a TRUNK >> version of openjump from SVN. >> >> For my core plugins download the following files >> >> http://open.revolsys.com/download/nightly/infonode/docking-1.5.0.jar >> http://open.revolsys.com/download/nightly/rs-jump-core/ (most recent jar) >> >> The core plug-in includes the following functionality (no I18N as yet). >> >> - New Open File Wizard >> - New Open Recent Menu (I need to fix an issue if no project is open) >> - Show/hide all for categories >> - Filter based theming style (it doesn't update the styles in the layer >> tree panel yet) >> - Docking windows support for layers, map, layer attributes, info table, >> info detail, info geometry, check out the Window>Show View menu >> >> There is one bug with the docking stuff that sometimes there is a stack >> overflow when showing a new view and I'm not happy with the positioning >> code for new windows, I may try out a different library for the docking >> code. There are some that support docking of toolbars as well which I >> think would be really cool. >> >> There is also the Text Open Format plugin which is based on Csv with an >> additional header row for the column type. >> >> http://open.revolsys.com/download/nightly/rs-jump-tof/ (most recent jar) >> >> Test it out by opening say a shape file and then saving it using the Tof >> plug-in. >> >> Please try out these plug-ins and let me know any feedback you have. >> >> Paul >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@xxxxxxxxxxxxxxxxxxxxx >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Previous Message by Thread: click to view message preview

Extension class loader

Right now the class loader used for loading extension classes does not have a parent class loader set see com.vividsolutions.jump.workbench.plugin.PlugInManager. I think that it should have a parent and it be set to the class loader of the PlugInManager class (which is the system class path). Can anyone see any issues with doing this? Paul ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Next Message by Thread: click to view message preview

Re: Improved windows bat file

Paul Austin wrote: Hi, > The following is an improved windows bat file that allows the > application to be run from any directory and also dynamically loads all > zip,jar libraries in the lib (not ext) folder. > I'd also like to make it have user based coinfiguration as per my unix > script. > Any objections to checking this in? no objection here. I've wanted this since long ago, thanks. Best regards, Andreas -- l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 18496-11 fax ++49 +228 1849629 http://www.lat-lon.de http://www.deegree.org signature.asc Description: Digital signature ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by