GWT non-hosted mode

Hi everyone,

Sorry for such a basic question, but how can I export a GWT project as .js and .html files instead of the default hosted mode?

Many thanks.

6 comments
Comment actions Permalink

One possibility is to add a web facet to the module and build the
project into a war file or an exploded directory just like any other web
application.

Vaclav


AxiomShell wrote:

Hi everyone,

Sorry for such a basic question, but how can I export a GWT project as .js and .html files instead of the default hosted mode?

Many thanks.


0
Comment actions Permalink

Hi Vaclav,

Thanks for the reply.
I found the compiled files (they're on IDEA's system path).
I think that for now, I'll just make an Ant FTP task to upload them.
Is there any way of changing the default export directory?

Many thanks.

0
Comment actions Permalink

I don't know of a good way to change the export folder for gwt projects,
I'm afraid. I think, the exploded folder would be a more flexible
option, as you would get the generated files under your project root.
Is there anything that prevents you from doing so?

Vaclav


AxiomShell wrote:

Hi Vaclav,

Thanks for the reply.
I found the compiled files (they're on IDEA's system path).
I think that for now, I'll just make an Ant FTP task to upload them.
Is there any way of changing the default export directory?

Many thanks.

0
Comment actions Permalink

For some reason, the exploded directory was not showing....
I'll have to check it out, thanks for tips.

IDEA 7 is the first version I've used, and I'm amazed!
It's a great piece of software :)

Cheers,
Rui

0
Comment actions Permalink

I'm glad you like IDEA.
You can specify the location for the exploded folder in the web facet
configuration, as shown in the attached picture.

Vaclav


AxiomShell wrote:

For some reason, the exploded directory was not showing....
I'll have to check it out, thanks for tips.

IDEA 7 is the first version I've used, and I'm amazed!
It's a great piece of software :)

Cheers,
Rui




Attachment(s):
exploded.PNG
0
Comment actions Permalink

Thanks a lot Vaclav.

Everything is fine and dandy now.

Cheers.

0

Please sign in to leave a comment.