GWT: how can I generate to project directory?

Hi,

I want to get my js files generated in my project dir instead of some obscure place in the system directory.

I am using Diane 8526 with GWT 1.5-rc1 under Ubuntu Linux 64 bit. Because I use 64 bit I can only use web mode not hosted mode :(.

When I create a new project with GWT and web facet and generate a sample application I do not get the js files generated. I have the GWT facet linked to the web facet and the web facet is making an exploded directory. The exploded directory only contains class files and some html and xml files but not the js files that GWT produces.

I tweaked all the web settings without any luck.

Any hints?

-Tom

3 comments
Comment actions Permalink

Please attach iml and ipr files of your project.

Hi,

I want to get my js files generated in my project dir instead of some obscure place in the system directory.

I am using Diane 8526 with GWT 1.5-rc1 under Ubuntu Linux 64 bit. Because I use 64 bit I can only use web mode not hosted mode :(.

When I create a new project with GWT and web facet and generate a sample application I do not get the js files generated. I have the GWT facet linked to the web facet and the web facet is making an exploded directory. The exploded directory only contains class files and some html and xml files but not the js files that GWT produces.

I tweaked all the web settings without any luck.

Any hints?

-Tom



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Files attached, thanks for checking it out.
-Tom
-


By the way: this is the complete project tree:

.
|-- out
| |-- exploded
| | `-- probeerWeb
| | |-- WEB-INF
| | | |-- classes
| | | | `-- xxx
| | | | `-- x
| | | | |-- X.gwt.xml
| | | | |-- client
| | | | | |-- X$1.class
| | | | | |-- X$MyAsyncCallback.class
| | | | | |-- X.class
| | | | | |-- XService$App.class
| | | | | |-- XService.class
| | | | | `-- XServiceAsync.class
| | | | |-- public
| | | | | `-- X.html
| | | | `-- server
| | | | `-- XServiceImpl.class
| | | `-- web.xml
| | `-- index.jsp
| |-- production
| | `-- probeer
| | `-- xxx
| | `-- x
| | |-- X.gwt.xml
| | |-- client
| | | |-- X$1.class
| | | |-- X$MyAsyncCallback.class
| | | |-- X.class
| | | |-- XService$App.class
| | | |-- XService.class
| | | `-- XServiceAsync.class
| | |-- public
| | | `-- X.html
| | `-- server
| | `-- XServiceImpl.class
| `-- test
| `-- probeer
|-- probeer.iml
|-- probeer.ipr
|-- probeer.iws
|-- src
| `-- xxx
| `-- x
| |-- X.gwt.xml
| |-- client
| | |-- X.java
| | |-- XService.java
| | `-- XServiceAsync.java
| |-- public
| | `-- X.html
| `-- server
| `-- XServiceImpl.java
`-- web
|-- WEB-INF
| `-- web.xml
`-- index.jsp



Attachment(s):
probeer.iml
probeer.ipr
0
Comment actions Permalink

I cannot reproduce the problem. Does directory <idea.system.dir>/gwt/probeer.../compile/www contain generated js files? Try to delete this directory
, clear the exploded directory and rebuild the project.

Files attached, thanks for checking it out.
-Tom
-----
By the way: this is the complete project tree:

.
|-- out
| |-- exploded
| | `-- probeerWeb
| | |-- WEB-INF
| | | |-- classes
| | | | `-- xxx
| | | | `-- x
| | | | |-- X.gwt.xml
| | | | |-- client
| | | | | |-- X$1.class
| | | | | |-- X$MyAsyncCallback.class
| | | | | |-- X.class
| | | | | |-- XService$App.class
| | | | | |-- XService.class
| | | | | `-- XServiceAsync.class
| | | | |-- public
| | | | | `-- X.html
| | | | `-- server
| | | | `-- XServiceImpl.class
| | | `-- web.xml
| | `-- index.jsp
| |-- production
| | `-- probeer
| | `-- xxx
| | `-- x
| | |-- X.gwt.xml
| | |-- client
| | | |-- X$1.class
| | | |-- X$MyAsyncCallback.class
| | | |-- X.class
| | | |-- XService$App.class
| | | |-- XService.class
| | | `-- XServiceAsync.class
| | |-- public
| | | `-- X.html
| | `-- server
| | `-- XServiceImpl.class
| `-- test
| `-- probeer
|-- probeer.iml
|-- probeer.ipr
|-- probeer.iws
|-- src
| `-- xxx
| `-- x
| |-- X.gwt.xml
| |-- client
| | |-- X.java
| | |-- XService.java
| | `-- XServiceAsync.java
| |-- public
| | `-- X.html
| `-- server
| `-- XServiceImpl.java
`-- web
|-- WEB-INF
| `-- web.xml
`-- index.jsp



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.