May I suggest to introduce a "profile" concept, so that each user can define more than one configuration set and decide which one to use when launching OJ???
Bye Paolo Rizzi > -----Messaggio originale----- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > conto di Paul > Austin > Inviato: lunedì 17 settembre 2007 16.55 > A: List for discussion of JPP development and use. > Oggetto: Re: [JPP-Devel] Improved windows bat file > > > Stefan, > > My plan is to have a directory called .jump in the user's home > directory. This file would contain each user's specific configuration. > > The file openjump.profile is used to allow users to override > any of the > startup parameters such as Java menu options and any JUMP command line > options. They would edit that file rather than the openjump.bat file. > > This directory would also contain the workbench-state.xml and > workbench-properties.xml (if required). > > Also any log files would be written to this directory and the user can > put resource files susch as log4j.xml in here and it would be part of > the classpath. > > We would need to make it so that the UNIX, windows bat and windows exe > all use these files. > > I'll check-in what I have and over time will make the above changes. > > Paul > > Stefan Steiniger wrote: > > so .. can you check the files in? > > > > but i wonder how compliate it is if users should modify > their language > > or memory - i.e. if they identify the correct file and the > appropriate > > lines > > > > stefan > > > > Paul Austin schrieb: > > > >> Yeah, batch files are pretty evil to get them to do what you want. > >> > >> Paul > >> > >> Martin Davis wrote: > >> > >>> Great, works now. Good work! > >>> > >>> We always wanted to take this approacj, but it requires in-depth > >>> knowledge of a few obscure undocumented Windows shell > hacks... I > >>> mean, ~dp0 - who could have guessed that? > >>> > >>> Paul Austin wrote: > >>> > >>> > >>>> Since then the batik libs have been moved from lib/batik/ to lib/ > >>>> > >>>> Paul > >>>> > >>>> Martin Davis wrote: > >>>> > >>>> > >>>> > >>>>> Paul, > >>>>> > >>>>> I'm trying this with openjump-20070609-0017. Perhaps > this is not a > >>>>> recent enough version, but I get the following error message: > >>>>> > >>>>> java.lang.NoClassDefFoundError: > org/apache/batik/svggen/SVGGraphics2D > >>>>> at > >>>>> > org.openjump.OpenJumpConfiguration.loadOpenJumpPlugIns(OpenJum > pConfiguration.java:98) > >>>>> at > >>>>> > com.vividsolutions.jump.workbench.JUMPConfiguration.setup(JUMP > Configuration.java:268) > >>>>> at > >>>>> > com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkb > ench.java:248) > >>>>> at > >>>>> > com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkb > ench.java:213) > >>>>> > >>>>> I notice that there's a batik dir under lib. Is it > possible that this > >>>>> is not getting added to the CP? > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > -------------------------------------------------------------- > ----------- > >>>> 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@lists.sourceforge.net > >>>> 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@lists.sourceforge.net > >> 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@lists.sourceforge.net > > 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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel