expert
expert

Reputation: 30145

How to specify relative path for parameter "extra" for GWT compiler?

How do I can specify relative path for command-line parameter "extra" of GWT compiler ? I need it to generate localization files according to this tutorial.

I'm on Windows and using IntelliJ IDEA. When I specify it as "-extra /extout" directory "extout" is being created in c:\extout. I tried to specify it as "-extra ./extout" and extras don't get created at all. I don't get it :( I want extras to be created in some folder of my project directory.

Upvotes: 1

Views: 625

Answers (2)

expert
expert

Reputation: 30145

In short, it's impossible in current version of IDEA.

Also this question is kind of duplicate of this one.

Upvotes: 0

Daniel Kurka
Daniel Kurka

Reputation: 7985

I just took a look at the source code to handle the -extra option.

The value you specify is passed directly to java.io.File (new File(yourOption)). I am not sure how you are calling your gwt compiler (what is your current working dir), but if you are working in eclipse -extra extout should be fine

Upvotes: 1

Related Questions