Re: gwt-maven-plugin: how can I chnage the Jetty port?

2018-10-05 Thread Pavlo Iatsiuk
GWT uses jetty, so try simple to all this property to command line 
invocation "-Djetty.port=4200"
So your command should look like
mvn gwt:run -Djetty.port=4200

четвер, 23 лютого 2017 р. 12:19:02 UTC+1 користувач Tom Pijl написав:
>
> I am using the gwt-maven-plug of Thomas Broyer.
> I would like to change the Jetty server port from (default)  to e.g. 
> 4200 when running mvn gwt:devmode.
> Any pointers on how to configure that?
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt-maven-plugin: how can I chnage the Jetty port?

2018-10-05 Thread Thomas Broyer
GWT with Gradle is only a couple adhoc tasks away, so no need to change build 
tool because plugins are lacking.

Back to Maven, the archetype doesn't use the embedded jetty in DevMode, so you 
need to configure the port in the jetty plugin (there has been an issue on that 
exact matter a few days ago, go check it out, I had put links to the 
jetty-maven-plugin docs and a configuration snippet).
You would use codeserverArgs on the root POM to configure the CodeServer port 
if you'd want to change it.
devmodeArgs is for "mvn gwt:devmode" which you won't use here.

…but as I said above, I'd stay with Gradle and replace the plugin with two 
adhoc JavaExec tasks for compilation and CodeServer/DevMode, and possibly 
Gretty for launching a servlet container.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt-maven-plugin: how can I chnage the Jetty port?

2018-10-04 Thread Thad Humphries
Where does this go? Which pom.xml? Sorry, I'm looking at returning to Maven 
because of the lack of Gradle support and their dizzying rate of updates.

So, I've generated a modular-webapp, I tried

  
net.ltgt.gwt.maven
gwt-maven-plugin
1.0-rc-9
true

  1.8
  true
  
-port
  

  


in the top-level pom.xm. Port  is open, but I still get 

[ERROR] Failed to execute goal 
org.eclipse.jetty:jetty-maven-plugin:9.4.8.v20171121:run (default-cli) on 
project web8-server: Failure: Address already in use


I've tried other places, but I'm out of ideas.

On Thursday, February 23, 2017 at 6:21:51 AM UTC-5, Thomas Broyer wrote:
>
>
>
> On Thursday, February 23, 2017 at 12:19:02 PM UTC+1, Tom Pijl wrote:
>>
>> I am using the gwt-maven-plug of Thomas Broyer.
>> I would like to change the Jetty server port from (default)  to e.g. 
>> 4200 when running mvn gwt:devmode.
>> Any pointers on how to configure that?
>>
>
> You'd use devmodeArgs 
>  
> to pass the -port argument 
> 
> :
> 
>   -port4200
> 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt-maven-plugin: how can I chnage the Jetty port?

2018-10-04 Thread Thad Humphries
Where? Sorry, I'm getting fed up with Gradle, and I'm trying to remember 
how to do this in Maven

On Thursday, February 23, 2017 at 6:21:51 AM UTC-5, Thomas Broyer wrote:
>
>
>
> On Thursday, February 23, 2017 at 12:19:02 PM UTC+1, Tom Pijl wrote:
>>
>> I am using the gwt-maven-plug of Thomas Broyer.
>> I would like to change the Jetty server port from (default)  to e.g. 
>> 4200 when running mvn gwt:devmode.
>> Any pointers on how to configure that?
>>
>
> You'd use devmodeArgs 
>  
> to pass the -port argument 
> 
> :
> 
>   -port4200
> 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt-maven-plugin: how can I chnage the Jetty port?

2017-02-23 Thread Thomas Broyer


On Thursday, February 23, 2017 at 12:19:02 PM UTC+1, Tom Pijl wrote:
>
> I am using the gwt-maven-plug of Thomas Broyer.
> I would like to change the Jetty server port from (default)  to e.g. 
> 4200 when running mvn gwt:devmode.
> Any pointers on how to configure that?
>

You'd use devmodeArgs 
 
to pass the -port argument 

:

  -port4200


-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Maven plugin: how to?

2013-02-14 Thread Thomas Broyer


On Tuesday, February 12, 2013 11:22:16 AM UTC+1, Kulnor wrote:

 All:

 I use Maven for all our Java project and would like to do the same for our 
 GWT apps (using Eclipse 3.7). Unfortunately, each time I attempt to use the 
 GWT Maven plugin, I find myself frustrated and facing several of issues 
 such as:
 - m2e reports a lifecycle exception for the non-standard goals (I know the 
 workaround for this one)
 - Unclear whether I should use the archetype outside Eclipse and import or 
 if I should use the project wizard
 - Should the generated-source/gwt folder be on the JRE path? Under 
 Eclipse, performing a Maven-Update Configuration does not include this.
 - The archetype application does not compile or run properly out of the box
 - The building workspace process is often very slow even on a high 
 performance machine (can take minutes)
 - Can't use the Run As--Web Application without tweaking the Run 
 Configuration
 - ...

 Do others experience similar difficulties and is there a comprehensive 
 guide somewhere to make this work out of the box, without having to tweak 
 settings or spending lots of time looking for work around on Google? Would 
 upgrading to the latest Eclipse help? Any help suggestion would be 
 appreciated.


See https://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven
TL;DR: don't use the archetype from the gwt-maven-plugin.

See also http://stackoverflow.com/a/14499272/116472 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Maven plugin: how to?

2013-02-13 Thread Rob
Hi,

Take a look at the following posts:

- http://kiahu.com/tutorial/generate-a-skeleton-project-using-gwt-and-maven/
- http://kiahu.com/tutorial/debugging-with-gwt-maven-and-eclipse/
- http://kiahu.com/tutorial/working-with-gwt-maven-and-intellij-idea/

- http://uptick.com.au/content/getting-started-gwt-maven-and-eclipse
- http://uptick.com.au/content/gwt-cx-maven-multimodule-enterprise-project

And study the POMs from popular open source projects (e.g. gwt-platform).

You can also post questions to the gwt-maven-plugin discussion group:

- 
https://groups.google.com/forum/?fromgroups#!forum/codehaus-mojo-gwt-maven-plugin-users

Cheers
Rob

Kiahu.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.