kukido / eclipser

Eclipser is an IntelliJ plugin. It converts Eclipse launch configurations into IntelliJ IDEA run configurations.
Apache License 2.0
37 stars 28 forks source link

Add support for $env_var macro #25

Closed Morss closed 2 years ago

Morss commented 7 years ago

Eclipse launch targets allow the use of (native) environment variables in VM and program arguments. IntelliJ supports this as well, but uses a slightly different syntax.

eclipse : -Dhost.fqdn=${env_var:COMPUTERNAME}.domain.local
intellij: -Dhost.fqdn=${COMPUTERNAME}.domain.local

This change adds support the ${env_var:} syntax.

Morss commented 7 years ago

CI fails, but does not seem related to my changes :/

Some ruby error:

No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/home/travis/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/travis/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/travis/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'