logo       

Re: gwt-maven-plugin - revisited: msg#00339

java.maven-plugins.mojo.devel

Subject: Re: gwt-maven-plugin - revisited

Thanks that works fine now.

On the topic of maven webapps and GWT, I am trying to work out the right way to combine the 2.

Standard web layout is like so:

.
|-- pom.xml
`-- src
`-- main
|-- java
| `-- com
| `-- example
| `-- projects
| `-- SampleAction.java
|-- resources
| |-- images
| | `-- sampleimage.jpg
| `-- sampleresource
`-- webapp
|-- WEB-INF
| `-- web.xml
|-- index.jsp
`-- jsp
`-- websource.jsp

If we add a GWT module to this, it might change like this:

.
.
|-- pom.xml
`-- src
`-- main
|-- java
| `-- com
| `-- example
| `-- projects
| `-- SampleAction.java
| `-- my
| `-- groupid
| `-- Appl.gwt.xml
| `-- client
| `-- Appl.java
| `-- public
| `-- Appl.html.java
|-- resources
| |-- images
| | `-- sampleimage.jpg
| `-- sampleresource
`-- webapp
|-- WEB-INF
| `-- web.xml
|-- icons
| `-- myicon.png
|-- index.jsp
`-- jsp
`-- websource.jsp

In particular, I am wondering abotu how I should handle web assets such as icons and other images that are to be accessed via HTTP.
If I want to use icons for a GMarker for examle, having them in webapp/icons/ is technically the right place, but they don't get packaged up until I build the WAR, so they won't be available to the GWTShell.
I could place them in src/main/java/my/groupid/public but that's not really the *MAVEN* way.

Any thoughts?

Matthew





On 29/01/2007, at 4:35 PM, kristian wrote:

the anonymous svn is fixed now - I am in the moment moving the site to
a new server, sorry for the inconvenience.

of course I will incorporate your patches and hopefully bring them all
to codehaus one day.

Kristian

On 1/29/07, J. Matthew Pryor <jmp@xxxxxxxxxxxxxxxx> wrote:
Thanks for the reply. I am very happy to use your repository & code
for now if that's OK
I found that the web links to anonymous SVN did not work however?
Are you able to fix that?
I am happy to submit patches to you or whatever.

Thanks for all the excellent work you have done on this.

Matthew

On 29/01/2007, at 4:04 PM, kristian wrote:

> Hello,
>
> I am myself using the plugin in two little projects and I am still
> fixing some little bugs here and there, when I run into them. but I
> did not upload a new tar.gz everytime I did some changes.
>
> the archetypes you can find under
> http://www.saumya.de/projects/gwt-tools/
> along with my latest sources.
>
> I do agree that the archetypes are very useful, better than copy and
> paste sample configurations into my my new pom.xml.
>
> anytime this plugin becomes part of codehaus I will start using
> codehaus and contribute to the codehaus plugin.
>
> Kristian
>
> On 1/28/07, J. Matthew Pryor <jmp@xxxxxxxxxxxxxxxx> wrote:
>> Hi,
>>
>> I have been working with the code submitted as a patch by Kristian
>> Meier and achieving great results.
>>
>> There are also a bunch of issues I have come up against and was
>> hoping to start up a discussion with other folks, but not much seems
>> to have happened with it.
>>
>> Is there anyone out there who is interested to push the plugin on
>> further? Its very close to being very useful.
>>
>> Kristian if you are still on list I'd like to see the archetypes as
>> well, they could save a lot of time.
>>
>> Thanks,
>> Matthew Pryor
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise