have you tried using a symlink? I don't think NB resolves env variables for server paths.

On 23.01.22 18:50, Mar R wrote:
Sorry guys I think I didn't explain myself well.
In NetBeans if you go to Tools -> Servers --> Add Server... then after selecting "Apache Tomcat or TomEE", it asks for the server location. In that place I'd like to use some kind of variable, environment or netbeans variable (don't even know if something of this kind exists) so that when I want to update my tomcat version I'll just have to update the variable. A sys/user env variable would actually be the best because I'm using one in other places/softwares

Thanks


Il giorno sab 22 gen 2022 alle ore 17:34 Eric Bresie <ebre...@gmail.com> ha scritto:

    Do you mean system/user environment variables like this
    https://www.decodejava.com/how-to-set-environment-variables-for-tomcat.htm
     or this
    
https://www.architectryan.com/2018/08/31/how-to-change-environment-variables-on-windows-10/
    ?

    On Thu, Jan 20, 2022 at 1:37 PM Mar R <marco.robiat...@gmail.com>
    wrote:

        Hello, I'm on windows, can't find, or if is even possible, how
        to add a tomcat server location (cataline home and/or catalina
        base) using env variable, so when I update tomcat i just have
        to update env var and netbeans will just get the new version

-- Eric Bresie
    ebre...@gmail.com

Reply via email to