You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Mar R <ma...@gmail.com> on 2022/01/20 19:37:33 UTC

adding tomcat server location as enviornment variable

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

Re: adding tomcat server location as enviornment variable

Posted by Michael Bien <mb...@gmail.com>.
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 
> <eb...@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 <ma...@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
>     ebresie@gmail.com
>

Re: adding tomcat server location as enviornment variable

Posted by Mar R <ma...@gmail.com>.
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 <eb...@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 <ma...@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
> ebresie@gmail.com
>

Re: adding tomcat server location as enviornment variable

Posted by Eric Bresie <eb...@gmail.com>.
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 <ma...@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
ebresie@gmail.com

Re: adding tomcat server location as enviornment variable

Posted by Juan Algaba <ja...@colef.mx>.
Is it an Ant (build.xml) web application project?

On Thu, Jan 20, 2022 at 11:37 AM Mar R <ma...@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



-- 
-Juan Algaba

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists