But if you store the configuration stuff inside the user's home directory,
each user wil have only one set of configuration available, or not???
OK, the user may always user some other more explicit mean to specify
configurations, but...
What about subdirectories of the user's home dir. Each subdir name would
be the name of a profile and it will store all the rilevant file, so the
user can specify a profile name and the batch will use the corresponding subdir.
Default, when no profile name is specified, would be the user's home dir itself.

Maybe "profile" isn't the correct name for it, but this would let users
have different configurations for different jobs.

Since Stefan suggested this: 
> "...ok.. that sounds good.
> But we need also to get sure, that OJ/JUMP keeps it "pack & go" 
> property.. which i realy like :)..."

what about making the batch work in the user's home dir _or_ in OJ's home dir???
This way OJ will start, regardless of any user's home dir configuration.
The "profile" mechanism should work in both cases.

Just a thought about something that may be useful... 
But you are taking the burden of doing it, so you know better
than enybody else what is better...!!!

Bye
Paolo Rizzi


> -----Messaggio originale-----
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 
> conto di Paul
> Austin
> Inviato: lunedì 17 settembre 2007 17.03
> A: List for discussion of JPP development and use.
> Oggetto: Re: [JPP-Devel] R: Improved windows bat file
> 
> 
> If we do anything such as profiles, I think this would be done in Java
> rather than in a bat,sh, or exe file.
> 
> Paul
> 
> P.Rizzi Ag.Mobilità Ambiente wrote:
> > 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
> >   
> 
> 
> 
> --------------------------------------------------------------
> -----------
> 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

Reply via email to