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.


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

2017-02-23 Thread 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.