small correction. it should be:

if "%IDEA_JVM_ARGS%" == "" goto defaultJVMArgs
SET JVM_ARGS=%IDEA_JVM_ARGS%
goto libs
:defaultJVMArgs
SET JVM_ARGS=-ms16m -mx96m
:libs
....

--
fedor.

----
Boys will be boys, and so will a lot of middle-aged men.
                -- Kin Hubbard


> -----Original Message-----
> From: Fedor Karpelevitch 
> Sent: Friday, March 15, 2002 9:38 AM
> To: IntelliJ EAP List (E-mail)
> Subject: idea.bat enhancement suggestion
> 
> 
> I suggest that line in idea.bat with 'SET JVM_ARGS=...' be 
> replaced by something like this:
> 
> if not "%IDEA_JVM_ARGS%" == "" goto defaultJVMArgs
> SET JVM_ARGS=%IDEA_JVM_ARGS%
> goto libs
> :defaultJVMArgs
> SET JVM_ARGS=-ms16m -mx96m
> :libs
> ....
> 
> this way I can specify env. var IDEA_JVM_ARGS once and won't 
> have to edit idea.bat every time I install a new build.
> I can definitely copy idea.bat with a different name to avoid 
> this problem, but in this case I am going to miss any changes 
> to idea.bat should you make them.
> 
> thanks.
> 
> --
> fedor.
> 
> ----
> Boys will be boys, and so will a lot of middle-aged men.
>               -- Kin Hubbard
> 

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to