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?
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?
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?
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 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.
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:
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
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:
Attachment(s):
exploded.PNG
Thanks a lot Vaclav.
Everything is fine and dandy now.
Cheers.