You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Martin Grigorov <mg...@apache.org> on 2020/06/09 07:46:34 UTC

ide-intellij path variables ?!

Hi,

`ant ide-intellij` prints the following:

ide-intellij:
     [copy] Copying 10 files to
/home/martin/git/apache/tomcat/tomcat-server/.idea
     [echo] IntelliJ IDEA project directory created. Please create PATH
VARIABLES for
     [echo]
     [echo]       ANT_HOME          = /home/martin/devel/apache-ant
     [echo]       TOMCAT_BUILD_LIBS = /home/martin/tomcat-build-libs
     [echo]


I guess this should be ENVIRONMENT VARIABLES instead ?
There is nothing related to $PATH in these entries.

Regards,
Martin

Re: ide-intellij path variables ?!

Posted by Martin Grigorov <mg...@apache.org>.
On Tue, Jun 9, 2020 at 11:22 AM Violeta Georgieva <vi...@apache.org>
wrote:

>
>
> На вт, 9.06.2020 г. в 10:47 Martin Grigorov <mg...@apache.org> написа:
> >
> > Hi,
> >
> > `ant ide-intellij` prints the following:
> >
> > ide-intellij:
> >      [copy] Copying 10 files to
> /home/martin/git/apache/tomcat/tomcat-server/.idea
> >      [echo] IntelliJ IDEA project directory created. Please create PATH
> VARIABLES for
> >      [echo]
> >      [echo]       ANT_HOME          = /home/martin/devel/apache-ant
> >      [echo]       TOMCAT_BUILD_LIBS = /home/martin/tomcat-build-libs
> >      [echo]
> >
> >
> > I guess this should be ENVIRONMENT VARIABLES instead ?
> > There is nothing related to $PATH in these entries.
>
> When you generate files for IntelliJ IDEA and open the project you will
> see an error message like this
>
> `Load error: undefined path variables
> ANT_HOME, TOMCAT_BUILD_LIBS are undefined. Fix it
> Path variables are used to substitute absolute paths in IDEA project files
> and allow project file sharing in version control systems.
> Some of the files describing the current project settings contain unknown
> path variables and IDEA cannot restore those paths.`
>
> When you click this `Fix it`, a window will open and you will be able to
> specify the paths.
>

Yes, I've done this already.
It is confusing but it seems this is the correct name.

Thanks!



>
> Regards,
> Violeta
>

Re: ide-intellij path variables ?!

Posted by Violeta Georgieva <vi...@apache.org>.
На вт, 9.06.2020 г. в 10:47 Martin Grigorov <mg...@apache.org> написа:
>
> Hi,
>
> `ant ide-intellij` prints the following:
>
> ide-intellij:
>      [copy] Copying 10 files to
/home/martin/git/apache/tomcat/tomcat-server/.idea
>      [echo] IntelliJ IDEA project directory created. Please create PATH
VARIABLES for
>      [echo]
>      [echo]       ANT_HOME          = /home/martin/devel/apache-ant
>      [echo]       TOMCAT_BUILD_LIBS = /home/martin/tomcat-build-libs
>      [echo]
>
>
> I guess this should be ENVIRONMENT VARIABLES instead ?
> There is nothing related to $PATH in these entries.

When you generate files for IntelliJ IDEA and open the project you will see
an error message like this

`Load error: undefined path variables
ANT_HOME, TOMCAT_BUILD_LIBS are undefined. Fix it
Path variables are used to substitute absolute paths in IDEA project files
and allow project file sharing in version control systems.
Some of the files describing the current project settings contain unknown
path variables and IDEA cannot restore those paths.`

When you click this `Fix it`, a window will open and you will be able to
specify the paths.

Regards,
Violeta

Re: ide-intellij path variables ?!

Posted by Mark Thomas <ma...@apache.org>.
On 09/06/2020 08:46, Martin Grigorov wrote:
> Hi,
> 
> `ant ide-intellij` prints the following:
> 
> ide-intellij:
>      [copy] Copying 10 files to
> /home/martin/git/apache/tomcat/tomcat-server/.idea
>      [echo] IntelliJ IDEA project directory created. Please create PATH
> VARIABLES for
>      [echo]
>      [echo]       ANT_HOME          = /home/martin/devel/apache-ant
>      [echo]       TOMCAT_BUILD_LIBS = /home/martin/tomcat-build-libs
>      [echo]     
> 
> 
> I guess this should be ENVIRONMENT VARIABLES instead ?
> There is nothing related to $PATH in these entries.

Not sure. Based on how Eclipse is configured "PATH VARIABLES" may be
IntelliJ specific things that need to be set so paths in the
configuration files resolve correctly.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org