Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Dr. Lofi Dewanto
Hmmm do you mean, maven-gwt-plugin compiles / transpiles everything first
before it starts with gwt:devmode? ... Actually it doesn't need to, I
agree... maybe @tbroyer could explain?

Elhanan Maayan  schrieb am So., 18. Okt. 2020, 23:58:

> thanks, btw i don't understand why the maven plugin insists on compiling
> it for devmode
>
> On Mon, Oct 19, 2020 at 12:44 AM lofid...@gmail.com 
> wrote:
>
>> Yes, the main thing you have a fast turn around time for *compile - test
>> cycle* for UI development. Because if you are working on UI you don‘t
>> care about the business logic on the server. You just need some *data
>> examples* which you can mock easily with your DTO...
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 23:35:23 UTC+2:
>>
>>> essentially i could use all the real static files in the client side
>>>
>>> On Mon, Oct 19, 2020 at 12:30 AM lofid...@gmail.com 
>>> wrote:
>>>
 Yes and you can control it using Maven assembly as I showed above

 https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml

 You can add the CSS files to be added to the server module on
 deployment...

 But again, of course you can use gwt:codeserver instead of standalone
 gwt:devmode
 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 22:53:31 UTC+2:

> yes, but in addition to the html file your also have the css files as
> well..
>
> On Sun, Oct 18, 2020 at 10:54 PM lofid...@gmail.com <
> lofid...@gmail.com> wrote:
>
>> Yes correct, HTML file is your host file.
>>
>> I always put a simple HTML file to be able to launch / debug gwt
>> webapp on the client... see:
>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/main/java/com/example/public/index.html
>>
>> But you don't have to use the same HTML file for client and server.
>> On the server side I also have a HTML file:
>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-server/src/main/resources/static/index.html
>>  which
>> is a bit different.
>>
>> The main artifact from "client" is the JS file which you can insert
>> everywhere in a HTML file (server, etc.)
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 21:32:27 UTC+2:
>>
>>> i missing something basic here with all the code server/dev
>>> mode/super dev mode/launch dir/workdir/startup url/s
>>> at the end of the day you have to have an html file to use, when you
>>> launch for debug, but the gwt plugins are in the client module which
>>> doesn't have the html file on one hand, but they compile and write to 
>>> the
>>> server module on other hand.
>>>
>>> On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com <
>>> lofid...@gmail.com> wrote:
>>>
 Yes, but that's not a problem... in my example above I took out the
 html file (
 https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
 so that I only packaged the JS files... and at the end I use the HTML 
 files
 from the server part.

 IMHO it is always good to be able to implement the "client" without
 the server part. I always mock the whole "server part"...

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:

> but the webui-server contains all the static resources like the
> html page
>
> On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com <
> lofid...@gmail.com> wrote:
>
>> --webui
>> webui-client ---> this is the GWT code
>> webui-server ---> this is server-side code like Servlet,
>> Spring Boot, JavaEE servers
>>
>> This is the standard layout for maven-gwt-plugin so would be no
>> problem at all... and for the mod1 / mod2: as long as you do: 
>> install, the
>> webui-client (gwt codeserver) will recognize the "source code" and 
>> could
>> also transpile the code on the fly... (at least the last time I 
>> check it
>> out)...
>>
>> If you want to completely separate everything you could go for:
>>
>> --modules
>> mod1
>> mod2
>>
>> --webui
>> webui-client
>> webui-server
>>
>> --builder-modules
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:
>>
>>> i did just that only it's more like
>>> main_pom
>>> --mod1
>>> --mod2
>>> --webui
>>> webui-client
>>> webui-server
>>> --builder-mod that collects all jars from other modes into a
>>> directory for final deploy and installation

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
thanks, btw i don't understand why the maven plugin insists on compiling it
for devmode

On Mon, Oct 19, 2020 at 12:44 AM lofid...@gmail.com 
wrote:

> Yes, the main thing you have a fast turn around time for *compile - test
> cycle* for UI development. Because if you are working on UI you don‘t
> care about the business logic on the server. You just need some *data
> examples* which you can mock easily with your DTO...
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 23:35:23 UTC+2:
>
>> essentially i could use all the real static files in the client side
>>
>> On Mon, Oct 19, 2020 at 12:30 AM lofid...@gmail.com 
>> wrote:
>>
>>> Yes and you can control it using Maven assembly as I showed above
>>>
>>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml
>>>
>>> You can add the CSS files to be added to the server module on
>>> deployment...
>>>
>>> But again, of course you can use gwt:codeserver instead of standalone
>>> gwt:devmode
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 22:53:31 UTC+2:
>>>
 yes, but in addition to the html file your also have the css files as
 well..

 On Sun, Oct 18, 2020 at 10:54 PM lofid...@gmail.com 
 wrote:

> Yes correct, HTML file is your host file.
>
> I always put a simple HTML file to be able to launch / debug gwt
> webapp on the client... see:
> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/main/java/com/example/public/index.html
>
> But you don't have to use the same HTML file for client and server. On
> the server side I also have a HTML file:
> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-server/src/main/resources/static/index.html
>  which
> is a bit different.
>
> The main artifact from "client" is the JS file which you can insert
> everywhere in a HTML file (server, etc.)
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 21:32:27 UTC+2:
>
>> i missing something basic here with all the code server/dev
>> mode/super dev mode/launch dir/workdir/startup url/s
>> at the end of the day you have to have an html file to use, when you
>> launch for debug, but the gwt plugins are in the client module which
>> doesn't have the html file on one hand, but they compile and write to the
>> server module on other hand.
>>
>> On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com <
>> lofid...@gmail.com> wrote:
>>
>>> Yes, but that's not a problem... in my example above I took out the
>>> html file (
>>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
>>> so that I only packaged the JS files... and at the end I use the HTML 
>>> files
>>> from the server part.
>>>
>>> IMHO it is always good to be able to implement the "client" without
>>> the server part. I always mock the whole "server part"...
>>>
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:
>>>
 but the webui-server contains all the static resources like the
 html page

 On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com <
 lofid...@gmail.com> wrote:

> --webui
> webui-client ---> this is the GWT code
> webui-server ---> this is server-side code like Servlet,
> Spring Boot, JavaEE servers
>
> This is the standard layout for maven-gwt-plugin so would be no
> problem at all... and for the mod1 / mod2: as long as you do: 
> install, the
> webui-client (gwt codeserver) will recognize the "source code" and 
> could
> also transpile the code on the fly... (at least the last time I check 
> it
> out)...
>
> If you want to completely separate everything you could go for:
>
> --modules
> mod1
> mod2
>
> --webui
> webui-client
> webui-server
>
> --builder-modules
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:
>
>> i did just that only it's more like
>> main_pom
>> --mod1
>> --mod2
>> --webui
>> webui-client
>> webui-server
>> --builder-mod that collects all jars from other modes into a
>> directory for final deploy and installation
>>
>> what i wanna do is also be able to build only the webui project,
>> and possibility to use the codeserver option which i don't think i 
>> can now
>> because they are all split in 3 modules
>>
>> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com <
>> lofid...@gmail.com> wrote:
>>
>>> I cannot follow you, 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
Yes, the main thing you have a fast turn around time for *compile - test 
cycle* for UI development. Because if you are working on UI you don‘t care 
about the business logic on the server. You just need some *data examples* 
which you can mock easily with your DTO...

Elhanan schrieb am Sonntag, 18. Oktober 2020 um 23:35:23 UTC+2:

> essentially i could use all the real static files in the client side 
>
> On Mon, Oct 19, 2020 at 12:30 AM lofid...@gmail.com  
> wrote:
>
>> Yes and you can control it using Maven assembly as I showed above
>>
>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml
>>
>> You can add the CSS files to be added to the server module on 
>> deployment...
>>
>> But again, of course you can use gwt:codeserver instead of standalone 
>> gwt:devmode 
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 22:53:31 UTC+2:
>>
>>> yes, but in addition to the html file your also have the css files as 
>>> well.. 
>>>
>>> On Sun, Oct 18, 2020 at 10:54 PM lofid...@gmail.com  
>>> wrote:
>>>
 Yes correct, HTML file is your host file.

 I always put a simple HTML file to be able to launch / debug gwt webapp 
 on the client... see: 
 https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/main/java/com/example/public/index.html

 But you don't have to use the same HTML file for client and server. On 
 the server side I also have a HTML file: 
 https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-server/src/main/resources/static/index.html
  which 
 is a bit different.

 The main artifact from "client" is the JS file which you can insert 
 everywhere in a HTML file (server, etc.)

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 21:32:27 UTC+2:

> i missing something basic here with all the code server/dev mode/super 
> dev mode/launch dir/workdir/startup url/s 
> at the end of the day you have to have an html file to use, when you 
> launch for debug, but the gwt plugins are in the client module which 
> doesn't have the html file on one hand, but they compile and write to the 
> server module on other hand. 
>
> On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com  
> wrote:
>
>> Yes, but that's not a problem... in my example above I took out the 
>> html file (
>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
>>  
>> so that I only packaged the JS files... and at the end I use the HTML 
>> files 
>> from the server part.
>>
>> IMHO it is always good to be able to implement the "client" without 
>> the server part. I always mock the whole "server part"...
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:
>>
>>> but the webui-server contains all the static resources like the html 
>>> page 
>>>
>>> On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com <
>>> lofid...@gmail.com> wrote:
>>>
 --webui
 webui-client ---> this is the GWT code
 webui-server ---> this is server-side code like Servlet, Spring 
 Boot, JavaEE servers

 This is the standard layout for maven-gwt-plugin so would be no 
 problem at all... and for the mod1 / mod2: as long as you do: install, 
 the 
 webui-client (gwt codeserver) will recognize the "source code" and 
 could 
 also transpile the code on the fly... (at least the last time I check 
 it 
 out)...

 If you want to completely separate everything you could go for:

 --modules
 mod1
 mod2

 --webui
 webui-client
 webui-server 

 --builder-modules

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:

> i did just that only it's more like 
> main_pom
> --mod1
> --mod2
> --webui
> webui-client
> webui-server 
> --builder-mod that collects all jars from other modes into a 
> directory for final deploy and installation 
>
> what i wanna do is also be able to build only the webui project, 
> and possibility to use the codeserver option which i don't think i 
> can now 
> because they are all split in 3 modules
>
> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com <
> lofid...@gmail.com> wrote:
>
>> I cannot follow you, maybe you could write something like:
>>
>> cockpit
>> -- cockpit-client-ui
>> -- cockpit-server
>> ...
>>
>> I'm not sure how the structure of your projects looks like?
>> Elhanan 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
essentially i could use all the real static files in the client side

On Mon, Oct 19, 2020 at 12:30 AM lofid...@gmail.com 
wrote:

> Yes and you can control it using Maven assembly as I showed above
>
> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml
>
> You can add the CSS files to be added to the server module on deployment...
>
> But again, of course you can use gwt:codeserver instead of standalone
> gwt:devmode
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 22:53:31 UTC+2:
>
>> yes, but in addition to the html file your also have the css files as
>> well..
>>
>> On Sun, Oct 18, 2020 at 10:54 PM lofid...@gmail.com 
>> wrote:
>>
>>> Yes correct, HTML file is your host file.
>>>
>>> I always put a simple HTML file to be able to launch / debug gwt webapp
>>> on the client... see:
>>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/main/java/com/example/public/index.html
>>>
>>> But you don't have to use the same HTML file for client and server. On
>>> the server side I also have a HTML file:
>>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-server/src/main/resources/static/index.html
>>>  which
>>> is a bit different.
>>>
>>> The main artifact from "client" is the JS file which you can insert
>>> everywhere in a HTML file (server, etc.)
>>>
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 21:32:27 UTC+2:
>>>
 i missing something basic here with all the code server/dev mode/super
 dev mode/launch dir/workdir/startup url/s
 at the end of the day you have to have an html file to use, when you
 launch for debug, but the gwt plugins are in the client module which
 doesn't have the html file on one hand, but they compile and write to the
 server module on other hand.

 On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com 
 wrote:

> Yes, but that's not a problem... in my example above I took out the
> html file (
> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
> so that I only packaged the JS files... and at the end I use the HTML 
> files
> from the server part.
>
> IMHO it is always good to be able to implement the "client" without
> the server part. I always mock the whole "server part"...
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:
>
>> but the webui-server contains all the static resources like the html
>> page
>>
>> On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com <
>> lofid...@gmail.com> wrote:
>>
>>> --webui
>>> webui-client ---> this is the GWT code
>>> webui-server ---> this is server-side code like Servlet, Spring
>>> Boot, JavaEE servers
>>>
>>> This is the standard layout for maven-gwt-plugin so would be no
>>> problem at all... and for the mod1 / mod2: as long as you do: install, 
>>> the
>>> webui-client (gwt codeserver) will recognize the "source code" and could
>>> also transpile the code on the fly... (at least the last time I check it
>>> out)...
>>>
>>> If you want to completely separate everything you could go for:
>>>
>>> --modules
>>> mod1
>>> mod2
>>>
>>> --webui
>>> webui-client
>>> webui-server
>>>
>>> --builder-modules
>>>
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:
>>>
 i did just that only it's more like
 main_pom
 --mod1
 --mod2
 --webui
 webui-client
 webui-server
 --builder-mod that collects all jars from other modes into a
 directory for final deploy and installation

 what i wanna do is also be able to build only the webui project,
 and possibility to use the codeserver option which i don't think i can 
 now
 because they are all split in 3 modules

 On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com <
 lofid...@gmail.com> wrote:

> I cannot follow you, maybe you could write something like:
>
> cockpit
> -- cockpit-client-ui
> -- cockpit-server
> ...
>
> I'm not sure how the structure of your projects looks like?
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:
>
>> i'm assuming those 2 need to be in there own aggregator pom (i.e
>> my main parent pom will a web ui pom, which will have those 
>> submodules) ,
>> because i want to be able to build just that webproject alone 
>> without the
>> need to build the whole project again (this is because that in order 
>> to
>> develop for cockpit i can't use any of the rapid inplace server
>> development, 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
Yes and you can control it using Maven assembly as I showed above
https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml

You can add the CSS files to be added to the server module on deployment...

But again, of course you can use gwt:codeserver instead of standalone 
gwt:devmode 
Elhanan schrieb am Sonntag, 18. Oktober 2020 um 22:53:31 UTC+2:

> yes, but in addition to the html file your also have the css files as 
> well.. 
>
> On Sun, Oct 18, 2020 at 10:54 PM lofid...@gmail.com  
> wrote:
>
>> Yes correct, HTML file is your host file.
>>
>> I always put a simple HTML file to be able to launch / debug gwt webapp 
>> on the client... see: 
>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/main/java/com/example/public/index.html
>>
>> But you don't have to use the same HTML file for client and server. On 
>> the server side I also have a HTML file: 
>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-server/src/main/resources/static/index.html
>>  which 
>> is a bit different.
>>
>> The main artifact from "client" is the JS file which you can insert 
>> everywhere in a HTML file (server, etc.)
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 21:32:27 UTC+2:
>>
>>> i missing something basic here with all the code server/dev mode/super 
>>> dev mode/launch dir/workdir/startup url/s 
>>> at the end of the day you have to have an html file to use, when you 
>>> launch for debug, but the gwt plugins are in the client module which 
>>> doesn't have the html file on one hand, but they compile and write to the 
>>> server module on other hand. 
>>>
>>> On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com  
>>> wrote:
>>>
 Yes, but that's not a problem... in my example above I took out the 
 html file (
 https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
  
 so that I only packaged the JS files... and at the end I use the HTML 
 files 
 from the server part.

 IMHO it is always good to be able to implement the "client" without the 
 server part. I always mock the whole "server part"...

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:

> but the webui-server contains all the static resources like the html 
> page 
>
> On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com  
> wrote:
>
>> --webui
>> webui-client ---> this is the GWT code
>> webui-server ---> this is server-side code like Servlet, Spring 
>> Boot, JavaEE servers
>>
>> This is the standard layout for maven-gwt-plugin so would be no 
>> problem at all... and for the mod1 / mod2: as long as you do: install, 
>> the 
>> webui-client (gwt codeserver) will recognize the "source code" and could 
>> also transpile the code on the fly... (at least the last time I check it 
>> out)...
>>
>> If you want to completely separate everything you could go for:
>>
>> --modules
>> mod1
>> mod2
>>
>> --webui
>> webui-client
>> webui-server 
>>
>> --builder-modules
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:
>>
>>> i did just that only it's more like 
>>> main_pom
>>> --mod1
>>> --mod2
>>> --webui
>>> webui-client
>>> webui-server 
>>> --builder-mod that collects all jars from other modes into a 
>>> directory for final deploy and installation 
>>>
>>> what i wanna do is also be able to build only the webui project, and 
>>> possibility to use the codeserver option which i don't think i can now 
>>> because they are all split in 3 modules
>>>
>>> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com <
>>> lofid...@gmail.com> wrote:
>>>
 I cannot follow you, maybe you could write something like:

 cockpit
 -- cockpit-client-ui
 -- cockpit-server
 ...

 I'm not sure how the structure of your projects looks like?
 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:

> i'm assuming those 2 need to be in there own aggregator pom (i.e 
> my main parent pom will a web ui pom, which will have those 
> submodules) , 
> because i want to be able to build just that webproject alone without 
> the 
> need to build the whole project again (this is because that in order 
> to 
> develop for cockpit i can't use any of the rapid inplace server 
> development, but compile the while thing and copy the distro to a 
> linux server running the cockpit server)
>
> On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com <
> lofid...@gmail.com> wrote:
>
>> In my 

Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-10-18 Thread Peter Donald
On Mon, Oct 19, 2020 at 1:56 AM lofid...@gmail.com 
wrote:

> Thanks Craig for the info...
>
> I'm not familiar with React (only Hello World )
>
> Can you integrate React with these GWT React frameworks? So write your
> components in Java and integrate them back into React JavaScript?
>
>- https://github.com/GWTReact/gwt-react
>- https://github.com/react4j/react4j.github.io
>
> I don't know whether it is possible?
>

It may be possible in react4j to publish a java component as a react
component but not without significant overhead/boilerplate. It is also
possible to consume a js react component from within react4j with a little
overhead and we built some of our early apps like this. However, react4j's
sweet spot is when the majority of the application is written in java.

With gwt-react it is much easier to both consume js components and publish
java components ... except for the normal constraints of publishing java to
js. My guess is that the sweet spot for gwt-react is for applications that
combine js components into a java app but I have never used it in anger.


-- 
Cheers,

Peter Donald

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CACiKNc6x9_3VoLj7ikUs8M5Fppq3f%2Bwed1sgb1OHtdR3e_J6fw%40mail.gmail.com.


Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
yes, but in addition to the html file your also have the css files as
well..

On Sun, Oct 18, 2020 at 10:54 PM lofid...@gmail.com 
wrote:

> Yes correct, HTML file is your host file.
>
> I always put a simple HTML file to be able to launch / debug gwt webapp on
> the client... see:
> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/main/java/com/example/public/index.html
>
> But you don't have to use the same HTML file for client and server. On the
> server side I also have a HTML file:
> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-server/src/main/resources/static/index.html
>  which
> is a bit different.
>
> The main artifact from "client" is the JS file which you can insert
> everywhere in a HTML file (server, etc.)
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 21:32:27 UTC+2:
>
>> i missing something basic here with all the code server/dev mode/super
>> dev mode/launch dir/workdir/startup url/s
>> at the end of the day you have to have an html file to use, when you
>> launch for debug, but the gwt plugins are in the client module which
>> doesn't have the html file on one hand, but they compile and write to the
>> server module on other hand.
>>
>> On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com 
>> wrote:
>>
>>> Yes, but that's not a problem... in my example above I took out the html
>>> file (
>>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
>>> so that I only packaged the JS files... and at the end I use the HTML files
>>> from the server part.
>>>
>>> IMHO it is always good to be able to implement the "client" without the
>>> server part. I always mock the whole "server part"...
>>>
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:
>>>
 but the webui-server contains all the static resources like the html
 page

 On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com 
 wrote:

> --webui
> webui-client ---> this is the GWT code
> webui-server ---> this is server-side code like Servlet, Spring
> Boot, JavaEE servers
>
> This is the standard layout for maven-gwt-plugin so would be no
> problem at all... and for the mod1 / mod2: as long as you do: install, the
> webui-client (gwt codeserver) will recognize the "source code" and could
> also transpile the code on the fly... (at least the last time I check it
> out)...
>
> If you want to completely separate everything you could go for:
>
> --modules
> mod1
> mod2
>
> --webui
> webui-client
> webui-server
>
> --builder-modules
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:
>
>> i did just that only it's more like
>> main_pom
>> --mod1
>> --mod2
>> --webui
>> webui-client
>> webui-server
>> --builder-mod that collects all jars from other modes into a
>> directory for final deploy and installation
>>
>> what i wanna do is also be able to build only the webui project, and
>> possibility to use the codeserver option which i don't think i can now
>> because they are all split in 3 modules
>>
>> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com <
>> lofid...@gmail.com> wrote:
>>
>>> I cannot follow you, maybe you could write something like:
>>>
>>> cockpit
>>> -- cockpit-client-ui
>>> -- cockpit-server
>>> ...
>>>
>>> I'm not sure how the structure of your projects looks like?
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:
>>>
 i'm assuming those 2 need to be in there own aggregator pom (i.e my
 main parent pom will a web ui pom, which will have those submodules) ,
 because i want to be able to build just that webproject alone without 
 the
 need to build the whole project again (this is because that in order to
 develop for cockpit i can't use any of the rapid inplace server
 development, but compile the while thing and copy the distro to a
 linux server running the cockpit server)

 On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com <
 lofid...@gmail.com> wrote:

> In my example I only use the gwt-maven-plugin for the "client"
> part (GWT part). On the server part I use "pure" Spring Boot approach,
> therefore I copied all the JS stuffs from the "client" part with the 
> help
> of maven-dependencies-plugin. I'm not using war deployment on Spring 
> Boot...
>
> For me the main concept: From GWT project you get just JS file(s)
> and you can copy it somewhere else where you have a web server. I also
> already use "only" the JS file(s) and copy the automatically to NGinX
> without server part.
>

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
additionally ... in the case using the structure of gwt-maven-plugin also 
correct.

There are two possibilities using *gwt:codeserver* (the case you said) or 
*gwt:devmode* (my example) see the difference: 
https://tbroyer.github.io/gwt-maven-plugin/codeserver.html

Both possible, I just prefer the second one ("standalone") because I try 
not to mix both world... Spring Boot stays like Spring Boot and the 
development of UI (client) should always be standalone and all the server 
parts should be mocked...
Elhanan schrieb am Sonntag, 18. Oktober 2020 um 21:32:27 UTC+2:

> i missing something basic here with all the code server/dev mode/super dev 
> mode/launch dir/workdir/startup url/s 
> at the end of the day you have to have an html file to use, when you 
> launch for debug, but the gwt plugins are in the client module which 
> doesn't have the html file on one hand, but they compile and write to the 
> server module on other hand. 
>
> On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com  
> wrote:
>
>> Yes, but that's not a problem... in my example above I took out the html 
>> file (
>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
>>  
>> so that I only packaged the JS files... and at the end I use the HTML files 
>> from the server part.
>>
>> IMHO it is always good to be able to implement the "client" without the 
>> server part. I always mock the whole "server part"...
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:
>>
>>> but the webui-server contains all the static resources like the html 
>>> page 
>>>
>>> On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com  
>>> wrote:
>>>
 --webui
 webui-client ---> this is the GWT code
 webui-server ---> this is server-side code like Servlet, Spring 
 Boot, JavaEE servers

 This is the standard layout for maven-gwt-plugin so would be no problem 
 at all... and for the mod1 / mod2: as long as you do: install, the 
 webui-client (gwt codeserver) will recognize the "source code" and could 
 also transpile the code on the fly... (at least the last time I check it 
 out)...

 If you want to completely separate everything you could go for:

 --modules
 mod1
 mod2

 --webui
 webui-client
 webui-server 

 --builder-modules

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:

> i did just that only it's more like 
> main_pom
> --mod1
> --mod2
> --webui
> webui-client
> webui-server 
> --builder-mod that collects all jars from other modes into a directory 
> for final deploy and installation 
>
> what i wanna do is also be able to build only the webui project, and 
> possibility to use the codeserver option which i don't think i can now 
> because they are all split in 3 modules
>
> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com  
> wrote:
>
>> I cannot follow you, maybe you could write something like:
>>
>> cockpit
>> -- cockpit-client-ui
>> -- cockpit-server
>> ...
>>
>> I'm not sure how the structure of your projects looks like?
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:
>>
>>> i'm assuming those 2 need to be in there own aggregator pom (i.e my 
>>> main parent pom will a web ui pom, which will have those submodules) , 
>>> because i want to be able to build just that webproject alone without 
>>> the 
>>> need to build the whole project again (this is because that in order to 
>>> develop for cockpit i can't use any of the rapid inplace server 
>>> development, but compile the while thing and copy the distro to a 
>>> linux server running the cockpit server)
>>>
>>> On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com <
>>> lofid...@gmail.com> wrote:
>>>
 In my example I only use the gwt-maven-plugin for the "client" part 
 (GWT part). On the server part I use "pure" Spring Boot approach, 
 therefore 
 I copied all the JS stuffs from the "client" part with the help of 
 maven-dependencies-plugin. I'm not using war deployment on Spring 
 Boot...

 For me the main concept: From GWT project you get just JS file(s) 
 and you can copy it somewhere else where you have a web server. I also 
 already use "only" the JS file(s) and copy the automatically to NGinX 
 without server part.

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:

> yes, i understand that gwt-maven-plugin is "opinionated" (i.e 
> forces me to do it) and i'm in the process of doing so, the thing is 
> there's no "Server part" it's meant to operate as a page under 
> cockpit ui 
>
> On Sun, Oct 18, 2020 at 6:00 PM 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
Yes correct, HTML file is your host file.

I always put a simple HTML file to be able to launch / debug gwt webapp on 
the client... see: 
https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/main/java/com/example/public/index.html

But you don't have to use the same HTML file for client and server. On the 
server side I also have a HTML file: 
https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-server/src/main/resources/static/index.html
 which 
is a bit different.

The main artifact from "client" is the JS file which you can insert 
everywhere in a HTML file (server, etc.)

Elhanan schrieb am Sonntag, 18. Oktober 2020 um 21:32:27 UTC+2:

> i missing something basic here with all the code server/dev mode/super dev 
> mode/launch dir/workdir/startup url/s 
> at the end of the day you have to have an html file to use, when you 
> launch for debug, but the gwt plugins are in the client module which 
> doesn't have the html file on one hand, but they compile and write to the 
> server module on other hand. 
>
> On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com  
> wrote:
>
>> Yes, but that's not a problem... in my example above I took out the html 
>> file (
>> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
>>  
>> so that I only packaged the JS files... and at the end I use the HTML files 
>> from the server part.
>>
>> IMHO it is always good to be able to implement the "client" without the 
>> server part. I always mock the whole "server part"...
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:
>>
>>> but the webui-server contains all the static resources like the html 
>>> page 
>>>
>>> On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com  
>>> wrote:
>>>
 --webui
 webui-client ---> this is the GWT code
 webui-server ---> this is server-side code like Servlet, Spring 
 Boot, JavaEE servers

 This is the standard layout for maven-gwt-plugin so would be no problem 
 at all... and for the mod1 / mod2: as long as you do: install, the 
 webui-client (gwt codeserver) will recognize the "source code" and could 
 also transpile the code on the fly... (at least the last time I check it 
 out)...

 If you want to completely separate everything you could go for:

 --modules
 mod1
 mod2

 --webui
 webui-client
 webui-server 

 --builder-modules

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:

> i did just that only it's more like 
> main_pom
> --mod1
> --mod2
> --webui
> webui-client
> webui-server 
> --builder-mod that collects all jars from other modes into a directory 
> for final deploy and installation 
>
> what i wanna do is also be able to build only the webui project, and 
> possibility to use the codeserver option which i don't think i can now 
> because they are all split in 3 modules
>
> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com  
> wrote:
>
>> I cannot follow you, maybe you could write something like:
>>
>> cockpit
>> -- cockpit-client-ui
>> -- cockpit-server
>> ...
>>
>> I'm not sure how the structure of your projects looks like?
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:
>>
>>> i'm assuming those 2 need to be in there own aggregator pom (i.e my 
>>> main parent pom will a web ui pom, which will have those submodules) , 
>>> because i want to be able to build just that webproject alone without 
>>> the 
>>> need to build the whole project again (this is because that in order to 
>>> develop for cockpit i can't use any of the rapid inplace server 
>>> development, but compile the while thing and copy the distro to a 
>>> linux server running the cockpit server)
>>>
>>> On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com <
>>> lofid...@gmail.com> wrote:
>>>
 In my example I only use the gwt-maven-plugin for the "client" part 
 (GWT part). On the server part I use "pure" Spring Boot approach, 
 therefore 
 I copied all the JS stuffs from the "client" part with the help of 
 maven-dependencies-plugin. I'm not using war deployment on Spring 
 Boot...

 For me the main concept: From GWT project you get just JS file(s) 
 and you can copy it somewhere else where you have a web server. I also 
 already use "only" the JS file(s) and copy the automatically to NGinX 
 without server part.

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:

> yes, i understand that gwt-maven-plugin is "opinionated" (i.e 
> forces me to do it) and i'm in the process of doing so, the thing is 

Re: New Presentation about Modern GWT Webapp Development

2020-10-18 Thread lofid...@gmail.com
I open a new GitHub project for putting every GWT libs I know sofar...

Library List (LiLi):
https://github.com/gwtboot/gwt-boot-jsinterop-lili

If you have libs I don't know just open a PR / MR...

Thanks,
Lofi
lofid...@gmail.com schrieb am Donnerstag, 1. Oktober 2020 um 11:58:29 UTC+2:

> Hi Thomas,
>
> thanks for the clue... yeah something like "awesome gwt" but like you said 
> we already have it. I know this one https://gwt.zeef.com/awesomegwt (great 
> links collection) and I already put this in GWT Padlet --> "GWT Links 
> Collection"
>
> I thought it is just a simple one pager "Only Libs" table with following 
> content:
>
> *Category / JS Lib Name / JS Lib Address / GWT Lib Name / GWT Lib Address 
> / JsInterop or JSNI*
>
> Example:
>
> maps / open-layers3 / https://openlayers.org / gwt-ol / 
> https://github.com/TDesjardins/gwt-ol / JsInterop
> diagrams / chart.js / https://www.chartjs.org / charba / 
> https://github.com/pepstock-org/Charba  
> / JsInterop
> diagrams / highchart.js / https://www.highcharts.com / gwt-highcharts / 
> https://github.com/ascendtech/gwt-highcharts / JsInterop
> ...
>
> That's it., so we can see whether someone already did the work with 
> JsInterop (analogy to DefinitelyTyped for the types in TS).
> And everyone could make a PR to update the one page...
>
> Is it worth it to try?
>
> t.br...@gmail.com schrieb am Donnerstag, 1. Oktober 2020 um 10:00:10 
> UTC+2:
>
>>
>>
>> On Wednesday, September 30, 2020 at 10:48:34 PM UTC+2, lofid...@gmail.com 
>> wrote:
>>>
>>> Thanks a lot for the info.
>>>
>>> I added the Gradle plugin, wow we have 3 Gradle plugins is it not 
>>> better just to have one? 
>>>
>>> The check on page 42 is about the "values", so the input param 
>>>
>>> I will create a new GWT libs list project to have a list of all GWT libs 
>>> available... so not only UI framework... and will put everything over 
>>> there... hope that the community will make some PR, so we can have a lot of 
>>> libs...
>>>
>>
>> Some kind of "awesome gwt" then? https://github.com/sindresorhus/awesome
>> Fwiw, a Google search for "awesome gwt" returned 
>> https://awesomeopensource.com/projects/gwt and 
>> https://gwt.zeef.com/awesomegwt
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/cb8588db-8518-4173-ba5c-0eee1501e39an%40googlegroups.com.


Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
i missing something basic here with all the code server/dev mode/super dev
mode/launch dir/workdir/startup url/s
at the end of the day you have to have an html file to use, when you launch
for debug, but the gwt plugins are in the client module which doesn't have
the html file on one hand, but they compile and write to the server module
on other hand.

On Sun, Oct 18, 2020 at 9:17 PM lofid...@gmail.com 
wrote:

> Yes, but that's not a problem... in my example above I took out the html
> file (
> https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
> so that I only packaged the JS files... and at the end I use the HTML files
> from the server part.
>
> IMHO it is always good to be able to implement the "client" without the
> server part. I always mock the whole "server part"...
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:
>
>> but the webui-server contains all the static resources like the html page
>>
>> On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com 
>> wrote:
>>
>>> --webui
>>> webui-client ---> this is the GWT code
>>> webui-server ---> this is server-side code like Servlet, Spring
>>> Boot, JavaEE servers
>>>
>>> This is the standard layout for maven-gwt-plugin so would be no problem
>>> at all... and for the mod1 / mod2: as long as you do: install, the
>>> webui-client (gwt codeserver) will recognize the "source code" and could
>>> also transpile the code on the fly... (at least the last time I check it
>>> out)...
>>>
>>> If you want to completely separate everything you could go for:
>>>
>>> --modules
>>> mod1
>>> mod2
>>>
>>> --webui
>>> webui-client
>>> webui-server
>>>
>>> --builder-modules
>>>
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:
>>>
 i did just that only it's more like
 main_pom
 --mod1
 --mod2
 --webui
 webui-client
 webui-server
 --builder-mod that collects all jars from other modes into a directory
 for final deploy and installation

 what i wanna do is also be able to build only the webui project, and
 possibility to use the codeserver option which i don't think i can now
 because they are all split in 3 modules

 On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com 
 wrote:

> I cannot follow you, maybe you could write something like:
>
> cockpit
> -- cockpit-client-ui
> -- cockpit-server
> ...
>
> I'm not sure how the structure of your projects looks like?
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:
>
>> i'm assuming those 2 need to be in there own aggregator pom (i.e my
>> main parent pom will a web ui pom, which will have those submodules) ,
>> because i want to be able to build just that webproject alone without the
>> need to build the whole project again (this is because that in order to
>> develop for cockpit i can't use any of the rapid inplace server
>> development, but compile the while thing and copy the distro to a
>> linux server running the cockpit server)
>>
>> On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com <
>> lofid...@gmail.com> wrote:
>>
>>> In my example I only use the gwt-maven-plugin for the "client" part
>>> (GWT part). On the server part I use "pure" Spring Boot approach, 
>>> therefore
>>> I copied all the JS stuffs from the "client" part with the help of
>>> maven-dependencies-plugin. I'm not using war deployment on Spring 
>>> Boot...
>>>
>>> For me the main concept: From GWT project you get just JS file(s)
>>> and you can copy it somewhere else where you have a web server. I also
>>> already use "only" the JS file(s) and copy the automatically to NGinX
>>> without server part.
>>>
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:
>>>
 yes, i understand that gwt-maven-plugin is "opinionated" (i.e
 forces me to do it) and i'm in the process of doing so, the thing is
 there's no "Server part" it's meant to operate as a page under cockpit 
 ui

 On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com <
 lofid...@gmail.com> wrote:

> Hmm it is not good to have "server" part and "client" part (web
> browser, GWT) in one Maven module... The best practice is always to
> separate them.
>
> I wrote some simple explanation in this project:
> https://github.com/gwtboot/domino-rest-enum-date with 3 Maven
> modules, check the explanation over there...
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:
>
>> i don't know, right now i'm having trouble to even compile
>> everything, i mean, i can either compile all the static files  (html
>> WEB-INF) into a war, OR i can compile the gwt sources, depending on 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
Yes, but that's not a problem... in my example above I took out the html 
file (
https://github.com/gwtboot/domino-rest-enum-date/blob/master/domino-rest-enum-date-client/src/assembly/distribution.xml)
 
so that I only packaged the JS files... and at the end I use the HTML files 
from the server part.

IMHO it is always good to be able to implement the "client" without the 
server part. I always mock the whole "server part"...

Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:28:19 UTC+2:

> but the webui-server contains all the static resources like the html page 
>
> On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com  
> wrote:
>
>> --webui
>> webui-client ---> this is the GWT code
>> webui-server ---> this is server-side code like Servlet, Spring Boot, 
>> JavaEE servers
>>
>> This is the standard layout for maven-gwt-plugin so would be no problem 
>> at all... and for the mod1 / mod2: as long as you do: install, the 
>> webui-client (gwt codeserver) will recognize the "source code" and could 
>> also transpile the code on the fly... (at least the last time I check it 
>> out)...
>>
>> If you want to completely separate everything you could go for:
>>
>> --modules
>> mod1
>> mod2
>>
>> --webui
>> webui-client
>> webui-server 
>>
>> --builder-modules
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:
>>
>>> i did just that only it's more like 
>>> main_pom
>>> --mod1
>>> --mod2
>>> --webui
>>> webui-client
>>> webui-server 
>>> --builder-mod that collects all jars from other modes into a directory 
>>> for final deploy and installation 
>>>
>>> what i wanna do is also be able to build only the webui project, and 
>>> possibility to use the codeserver option which i don't think i can now 
>>> because they are all split in 3 modules
>>>
>>> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com  
>>> wrote:
>>>
 I cannot follow you, maybe you could write something like:

 cockpit
 -- cockpit-client-ui
 -- cockpit-server
 ...

 I'm not sure how the structure of your projects looks like?
 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:

> i'm assuming those 2 need to be in there own aggregator pom (i.e my 
> main parent pom will a web ui pom, which will have those submodules) , 
> because i want to be able to build just that webproject alone without the 
> need to build the whole project again (this is because that in order to 
> develop for cockpit i can't use any of the rapid inplace server 
> development, but compile the while thing and copy the distro to a 
> linux server running the cockpit server)
>
> On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com  
> wrote:
>
>> In my example I only use the gwt-maven-plugin for the "client" part 
>> (GWT part). On the server part I use "pure" Spring Boot approach, 
>> therefore 
>> I copied all the JS stuffs from the "client" part with the help of 
>> maven-dependencies-plugin. I'm not using war deployment on Spring Boot...
>>
>> For me the main concept: From GWT project you get just JS file(s) and 
>> you can copy it somewhere else where you have a web server. I also 
>> already 
>> use "only" the JS file(s) and copy the automatically to NGinX without 
>> server part.
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:
>>
>>> yes, i understand that gwt-maven-plugin is "opinionated" (i.e forces 
>>> me to do it) and i'm in the process of doing so, the thing is there's 
>>> no 
>>> "Server part" it's meant to operate as a page under cockpit ui 
>>>
>>> On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com <
>>> lofid...@gmail.com> wrote:
>>>
 Hmm it is not good to have "server" part and "client" part (web 
 browser, GWT) in one Maven module... The best practice is always to 
 separate them.

 I wrote some simple explanation in this project: 
 https://github.com/gwtboot/domino-rest-enum-date with 3 Maven 
 modules, check the explanation over there...
 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:

> i don't know, right now i'm having trouble to even compile 
> everything, i mean, i can either compile all the static files  (html 
> WEB-INF) into a war, OR i can compile the gwt sources, depending on 
> what i 
> place in pom.xml (gwt-app or war) i was trying to have it all in one 
> module
>
> On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com <
> lofid...@gmail.com> wrote:
>
>> Is it not possible to add those contents into an artifact with 
>> assembly for example? So that you can use it later for the 
>> dependency? I'm 
>> doing this in this example:
>> https://github.com/gwtboot/domino-rest-enum-date

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
but the webui-server contains all the static resources like the html page

On Sun, Oct 18, 2020 at 8:24 PM lofid...@gmail.com 
wrote:

> --webui
> webui-client ---> this is the GWT code
> webui-server ---> this is server-side code like Servlet, Spring Boot,
> JavaEE servers
>
> This is the standard layout for maven-gwt-plugin so would be no problem at
> all... and for the mod1 / mod2: as long as you do: install, the
> webui-client (gwt codeserver) will recognize the "source code" and could
> also transpile the code on the fly... (at least the last time I check it
> out)...
>
> If you want to completely separate everything you could go for:
>
> --modules
> mod1
> mod2
>
> --webui
> webui-client
> webui-server
>
> --builder-modules
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:
>
>> i did just that only it's more like
>> main_pom
>> --mod1
>> --mod2
>> --webui
>> webui-client
>> webui-server
>> --builder-mod that collects all jars from other modes into a directory
>> for final deploy and installation
>>
>> what i wanna do is also be able to build only the webui project, and
>> possibility to use the codeserver option which i don't think i can now
>> because they are all split in 3 modules
>>
>> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com 
>> wrote:
>>
>>> I cannot follow you, maybe you could write something like:
>>>
>>> cockpit
>>> -- cockpit-client-ui
>>> -- cockpit-server
>>> ...
>>>
>>> I'm not sure how the structure of your projects looks like?
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:
>>>
 i'm assuming those 2 need to be in there own aggregator pom (i.e my
 main parent pom will a web ui pom, which will have those submodules) ,
 because i want to be able to build just that webproject alone without the
 need to build the whole project again (this is because that in order to
 develop for cockpit i can't use any of the rapid inplace server
 development, but compile the while thing and copy the distro to a
 linux server running the cockpit server)

 On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com 
 wrote:

> In my example I only use the gwt-maven-plugin for the "client" part
> (GWT part). On the server part I use "pure" Spring Boot approach, 
> therefore
> I copied all the JS stuffs from the "client" part with the help of
> maven-dependencies-plugin. I'm not using war deployment on Spring Boot...
>
> For me the main concept: From GWT project you get just JS file(s) and
> you can copy it somewhere else where you have a web server. I also already
> use "only" the JS file(s) and copy the automatically to NGinX without
> server part.
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:
>
>> yes, i understand that gwt-maven-plugin is "opinionated" (i.e forces
>> me to do it) and i'm in the process of doing so, the thing is there's no
>> "Server part" it's meant to operate as a page under cockpit ui
>>
>> On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com <
>> lofid...@gmail.com> wrote:
>>
>>> Hmm it is not good to have "server" part and "client" part (web
>>> browser, GWT) in one Maven module... The best practice is always to
>>> separate them.
>>>
>>> I wrote some simple explanation in this project:
>>> https://github.com/gwtboot/domino-rest-enum-date with 3 Maven
>>> modules, check the explanation over there...
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:
>>>
 i don't know, right now i'm having trouble to even compile
 everything, i mean, i can either compile all the static files  (html
 WEB-INF) into a war, OR i can compile the gwt sources, depending on 
 what i
 place in pom.xml (gwt-app or war) i was trying to have it all in one 
 module

 On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com <
 lofid...@gmail.com> wrote:

> Is it not possible to add those contents into an artifact with
> assembly for example? So that you can use it later for the 
> dependency? I'm
> doing this in this example:
> https://github.com/gwtboot/domino-rest-enum-date
>
> Hope this helps.
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:
>
>> hi..
>> i have a submodule of a gwt project that it's artifact are meant
>> to be included as part of the main artifact (which is a pom 
>> containing a
>> debian installer)
>> usually i would use copy-depdencies plugin to copy the jars into
>> the main artifact, but in this case there's no jar, is there a way i 
>> can
>> copy the output directory of that submodule into the main artifact?
>>
> --
> You received this message because you are subscribed to 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
--webui
webui-client ---> this is the GWT code
webui-server ---> this is server-side code like Servlet, Spring Boot, 
JavaEE servers

This is the standard layout for maven-gwt-plugin so would be no problem at 
all... and for the mod1 / mod2: as long as you do: install, the 
webui-client (gwt codeserver) will recognize the "source code" and could 
also transpile the code on the fly... (at least the last time I check it 
out)...

If you want to completely separate everything you could go for:

--modules
mod1
mod2

--webui
webui-client
webui-server 

--builder-modules

Elhanan schrieb am Sonntag, 18. Oktober 2020 um 19:06:45 UTC+2:

> i did just that only it's more like 
> main_pom
> --mod1
> --mod2
> --webui
> webui-client
> webui-server 
> --builder-mod that collects all jars from other modes into a directory for 
> final deploy and installation 
>
> what i wanna do is also be able to build only the webui project, and 
> possibility to use the codeserver option which i don't think i can now 
> because they are all split in 3 modules
>
> On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com  
> wrote:
>
>> I cannot follow you, maybe you could write something like:
>>
>> cockpit
>> -- cockpit-client-ui
>> -- cockpit-server
>> ...
>>
>> I'm not sure how the structure of your projects looks like?
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:
>>
>>> i'm assuming those 2 need to be in there own aggregator pom (i.e my main 
>>> parent pom will a web ui pom, which will have those submodules) , because i 
>>> want to be able to build just that webproject alone without the need to 
>>> build the whole project again (this is because that in order to develop for 
>>> cockpit i can't use any of the rapid inplace server development, but 
>>> compile the while thing and copy the distro to a linux server running the 
>>> cockpit server)
>>>
>>> On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com  
>>> wrote:
>>>
 In my example I only use the gwt-maven-plugin for the "client" part 
 (GWT part). On the server part I use "pure" Spring Boot approach, 
 therefore 
 I copied all the JS stuffs from the "client" part with the help of 
 maven-dependencies-plugin. I'm not using war deployment on Spring Boot...

 For me the main concept: From GWT project you get just JS file(s) and 
 you can copy it somewhere else where you have a web server. I also already 
 use "only" the JS file(s) and copy the automatically to NGinX without 
 server part.

 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:

> yes, i understand that gwt-maven-plugin is "opinionated" (i.e forces 
> me to do it) and i'm in the process of doing so, the thing is there's no 
> "Server part" it's meant to operate as a page under cockpit ui 
>
> On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com  
> wrote:
>
>> Hmm it is not good to have "server" part and "client" part (web 
>> browser, GWT) in one Maven module... The best practice is always to 
>> separate them.
>>
>> I wrote some simple explanation in this project: 
>> https://github.com/gwtboot/domino-rest-enum-date with 3 Maven 
>> modules, check the explanation over there...
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:
>>
>>> i don't know, right now i'm having trouble to even compile 
>>> everything, i mean, i can either compile all the static files  (html 
>>> WEB-INF) into a war, OR i can compile the gwt sources, depending on 
>>> what i 
>>> place in pom.xml (gwt-app or war) i was trying to have it all in one 
>>> module
>>>
>>> On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com <
>>> lofid...@gmail.com> wrote:
>>>
 Is it not possible to add those contents into an artifact with 
 assembly for example? So that you can use it later for the dependency? 
 I'm 
 doing this in this example:
 https://github.com/gwtboot/domino-rest-enum-date

 Hope this helps.
 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:

> hi..
> i have a submodule of a gwt project that it's artifact are meant 
> to be included as part of the main artifact (which is a pom 
> containing a 
> debian installer) 
> usually i would use copy-depdencies plugin to copy the jars into 
> the main artifact, but in this case there's no jar, is there a way i 
> can 
> copy the output directory of that submodule into the main artifact? 
>
 -- 
 You received this message because you are subscribed to a topic in 
 the Google Groups "GWT Users" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
 .
 To unsubscribe from this group and all 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
i did just that only it's more like
main_pom
--mod1
--mod2
--webui
webui-client
webui-server
--builder-mod that collects all jars from other modes into a directory for
final deploy and installation

what i wanna do is also be able to build only the webui project, and
possibility to use the codeserver option which i don't think i can now
because they are all split in 3 modules

On Sun, Oct 18, 2020 at 8:02 PM lofid...@gmail.com 
wrote:

> I cannot follow you, maybe you could write something like:
>
> cockpit
> -- cockpit-client-ui
> -- cockpit-server
> ...
>
> I'm not sure how the structure of your projects looks like?
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:
>
>> i'm assuming those 2 need to be in there own aggregator pom (i.e my main
>> parent pom will a web ui pom, which will have those submodules) , because i
>> want to be able to build just that webproject alone without the need to
>> build the whole project again (this is because that in order to develop for
>> cockpit i can't use any of the rapid inplace server development, but
>> compile the while thing and copy the distro to a linux server running the
>> cockpit server)
>>
>> On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com 
>> wrote:
>>
>>> In my example I only use the gwt-maven-plugin for the "client" part (GWT
>>> part). On the server part I use "pure" Spring Boot approach, therefore I
>>> copied all the JS stuffs from the "client" part with the help of
>>> maven-dependencies-plugin. I'm not using war deployment on Spring Boot...
>>>
>>> For me the main concept: From GWT project you get just JS file(s) and
>>> you can copy it somewhere else where you have a web server. I also already
>>> use "only" the JS file(s) and copy the automatically to NGinX without
>>> server part.
>>>
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:
>>>
 yes, i understand that gwt-maven-plugin is "opinionated" (i.e forces me
 to do it) and i'm in the process of doing so, the thing is there's no
 "Server part" it's meant to operate as a page under cockpit ui

 On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com 
 wrote:

> Hmm it is not good to have "server" part and "client" part (web
> browser, GWT) in one Maven module... The best practice is always to
> separate them.
>
> I wrote some simple explanation in this project:
> https://github.com/gwtboot/domino-rest-enum-date with 3 Maven
> modules, check the explanation over there...
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:
>
>> i don't know, right now i'm having trouble to even compile
>> everything, i mean, i can either compile all the static files  (html
>> WEB-INF) into a war, OR i can compile the gwt sources, depending on what 
>> i
>> place in pom.xml (gwt-app or war) i was trying to have it all in one 
>> module
>>
>> On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com <
>> lofid...@gmail.com> wrote:
>>
>>> Is it not possible to add those contents into an artifact with
>>> assembly for example? So that you can use it later for the dependency? 
>>> I'm
>>> doing this in this example:
>>> https://github.com/gwtboot/domino-rest-enum-date
>>>
>>> Hope this helps.
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:
>>>
 hi..
 i have a submodule of a gwt project that it's artifact are meant to
 be included as part of the main artifact (which is a pom containing a
 debian installer)
 usually i would use copy-depdencies plugin to copy the jars into
 the main artifact, but in this case there's no jar, is there a way i 
 can
 copy the output directory of that submodule into the main artifact?

>>> --
>>> You received this message because you are subscribed to a topic in
>>> the Google Groups "GWT Users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-web-tool...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-web-toolkit/38ff23af-b3d7-4aef-80e8-9451486aa641n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-tool...@googlegroups.com.
>
 To view this discussion on the web 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
I cannot follow you, maybe you could write something like:

cockpit
-- cockpit-client-ui
-- cockpit-server
...

I'm not sure how the structure of your projects looks like?
Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:28:19 UTC+2:

> i'm assuming those 2 need to be in there own aggregator pom (i.e my main 
> parent pom will a web ui pom, which will have those submodules) , because i 
> want to be able to build just that webproject alone without the need to 
> build the whole project again (this is because that in order to develop for 
> cockpit i can't use any of the rapid inplace server development, but 
> compile the while thing and copy the distro to a linux server running the 
> cockpit server)
>
> On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com  
> wrote:
>
>> In my example I only use the gwt-maven-plugin for the "client" part (GWT 
>> part). On the server part I use "pure" Spring Boot approach, therefore I 
>> copied all the JS stuffs from the "client" part with the help of 
>> maven-dependencies-plugin. I'm not using war deployment on Spring Boot...
>>
>> For me the main concept: From GWT project you get just JS file(s) and you 
>> can copy it somewhere else where you have a web server. I also already use 
>> "only" the JS file(s) and copy the automatically to NGinX without server 
>> part.
>>
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:
>>
>>> yes, i understand that gwt-maven-plugin is "opinionated" (i.e forces me 
>>> to do it) and i'm in the process of doing so, the thing is there's no 
>>> "Server part" it's meant to operate as a page under cockpit ui 
>>>
>>> On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com  
>>> wrote:
>>>
 Hmm it is not good to have "server" part and "client" part (web 
 browser, GWT) in one Maven module... The best practice is always to 
 separate them.

 I wrote some simple explanation in this project: 
 https://github.com/gwtboot/domino-rest-enum-date with 3 Maven modules, 
 check the explanation over there...
 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:

> i don't know, right now i'm having trouble to even compile everything, 
> i mean, i can either compile all the static files  (html WEB-INF) into a 
> war, OR i can compile the gwt sources, depending on what i place in 
> pom.xml 
> (gwt-app or war) i was trying to have it all in one module
>
> On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com  
> wrote:
>
>> Is it not possible to add those contents into an artifact with 
>> assembly for example? So that you can use it later for the dependency? 
>> I'm 
>> doing this in this example:
>> https://github.com/gwtboot/domino-rest-enum-date
>>
>> Hope this helps.
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:
>>
>>> hi..
>>> i have a submodule of a gwt project that it's artifact are meant to 
>>> be included as part of the main artifact (which is a pom containing a 
>>> debian installer) 
>>> usually i would use copy-depdencies plugin to copy the jars into the 
>>> main artifact, but in this case there's no jar, is there a way i can 
>>> copy 
>>> the output directory of that submodule into the main artifact? 
>>>
>> -- 
>> You received this message because you are subscribed to a topic in 
>> the Google Groups "GWT Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-web-tool...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit/38ff23af-b3d7-4aef-80e8-9451486aa641n%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups "GWT Users" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to 
 google-web-tool...@googlegroups.com.

>>> To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-web-toolkit/b426f9bc-5962-4cc4-888a-895a1cd71d42n%40googlegroups.com
  
 
 .

>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "GWT Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
>> 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
i'm assuming those 2 need to be in there own aggregator pom (i.e my main
parent pom will a web ui pom, which will have those submodules) , because i
want to be able to build just that webproject alone without the need to
build the whole project again (this is because that in order to develop for
cockpit i can't use any of the rapid inplace server development, but
compile the while thing and copy the distro to a linux server running the
cockpit server)

On Sun, Oct 18, 2020 at 6:23 PM lofid...@gmail.com 
wrote:

> In my example I only use the gwt-maven-plugin for the "client" part (GWT
> part). On the server part I use "pure" Spring Boot approach, therefore I
> copied all the JS stuffs from the "client" part with the help of
> maven-dependencies-plugin. I'm not using war deployment on Spring Boot...
>
> For me the main concept: From GWT project you get just JS file(s) and you
> can copy it somewhere else where you have a web server. I also already use
> "only" the JS file(s) and copy the automatically to NGinX without server
> part.
>
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:
>
>> yes, i understand that gwt-maven-plugin is "opinionated" (i.e forces me
>> to do it) and i'm in the process of doing so, the thing is there's no
>> "Server part" it's meant to operate as a page under cockpit ui
>>
>> On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com 
>> wrote:
>>
>>> Hmm it is not good to have "server" part and "client" part (web browser,
>>> GWT) in one Maven module... The best practice is always to separate them.
>>>
>>> I wrote some simple explanation in this project:
>>> https://github.com/gwtboot/domino-rest-enum-date with 3 Maven modules,
>>> check the explanation over there...
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:
>>>
 i don't know, right now i'm having trouble to even compile everything,
 i mean, i can either compile all the static files  (html WEB-INF) into a
 war, OR i can compile the gwt sources, depending on what i place in pom.xml
 (gwt-app or war) i was trying to have it all in one module

 On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com 
 wrote:

> Is it not possible to add those contents into an artifact with
> assembly for example? So that you can use it later for the dependency? I'm
> doing this in this example:
> https://github.com/gwtboot/domino-rest-enum-date
>
> Hope this helps.
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:
>
>> hi..
>> i have a submodule of a gwt project that it's artifact are meant to
>> be included as part of the main artifact (which is a pom containing a
>> debian installer)
>> usually i would use copy-depdencies plugin to copy the jars into the
>> main artifact, but in this case there's no jar, is there a way i can copy
>> the output directory of that submodule into the main artifact?
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-tool...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit/38ff23af-b3d7-4aef-80e8-9451486aa641n%40googlegroups.com
> 
> .
>
 --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "GWT Users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-web-tool...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-web-toolkit/b426f9bc-5962-4cc4-888a-895a1cd71d42n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit/cf8187c9-d562-4d21-92ad-272ff71507d4n%40googlegroups.com
> 
> .
>

-- 

Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
In my example I only use the gwt-maven-plugin for the "client" part (GWT 
part). On the server part I use "pure" Spring Boot approach, therefore I 
copied all the JS stuffs from the "client" part with the help of 
maven-dependencies-plugin. I'm not using war deployment on Spring Boot...

For me the main concept: From GWT project you get just JS file(s) and you 
can copy it somewhere else where you have a web server. I also already use 
"only" the JS file(s) and copy the automatically to NGinX without server 
part.

Elhanan schrieb am Sonntag, 18. Oktober 2020 um 17:03:21 UTC+2:

> yes, i understand that gwt-maven-plugin is "opinionated" (i.e forces me to 
> do it) and i'm in the process of doing so, the thing is there's no "Server 
> part" it's meant to operate as a page under cockpit ui 
>
> On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com  
> wrote:
>
>> Hmm it is not good to have "server" part and "client" part (web browser, 
>> GWT) in one Maven module... The best practice is always to separate them.
>>
>> I wrote some simple explanation in this project: 
>> https://github.com/gwtboot/domino-rest-enum-date with 3 Maven modules, 
>> check the explanation over there...
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:
>>
>>> i don't know, right now i'm having trouble to even compile everything, i 
>>> mean, i can either compile all the static files  (html WEB-INF) into a war, 
>>> OR i can compile the gwt sources, depending on what i place in pom.xml 
>>> (gwt-app or war) i was trying to have it all in one module
>>>
>>> On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com  
>>> wrote:
>>>
 Is it not possible to add those contents into an artifact with assembly 
 for example? So that you can use it later for the dependency? I'm doing 
 this in this example:
 https://github.com/gwtboot/domino-rest-enum-date

 Hope this helps.
 Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:

> hi..
> i have a submodule of a gwt project that it's artifact are meant to be 
> included as part of the main artifact (which is a pom containing a debian 
> installer) 
> usually i would use copy-depdencies plugin to copy the jars into the 
> main artifact, but in this case there's no jar, is there a way i can copy 
> the output directory of that submodule into the main artifact? 
>
 -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups "GWT Users" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to 
 google-web-tool...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-web-toolkit/38ff23af-b3d7-4aef-80e8-9451486aa641n%40googlegroups.com
  
 
 .

>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "GWT Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-web-tool...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit/b426f9bc-5962-4cc4-888a-895a1cd71d42n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/cf8187c9-d562-4d21-92ad-272ff71507d4n%40googlegroups.com.


Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
yes, i understand that gwt-maven-plugin is "opinionated" (i.e forces me to
do it) and i'm in the process of doing so, the thing is there's no "Server
part" it's meant to operate as a page under cockpit ui

On Sun, Oct 18, 2020 at 6:00 PM lofid...@gmail.com 
wrote:

> Hmm it is not good to have "server" part and "client" part (web browser,
> GWT) in one Maven module... The best practice is always to separate them.
>
> I wrote some simple explanation in this project:
> https://github.com/gwtboot/domino-rest-enum-date with 3 Maven modules,
> check the explanation over there...
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:
>
>> i don't know, right now i'm having trouble to even compile everything, i
>> mean, i can either compile all the static files  (html WEB-INF) into a war,
>> OR i can compile the gwt sources, depending on what i place in pom.xml
>> (gwt-app or war) i was trying to have it all in one module
>>
>> On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com 
>> wrote:
>>
>>> Is it not possible to add those contents into an artifact with assembly
>>> for example? So that you can use it later for the dependency? I'm doing
>>> this in this example:
>>> https://github.com/gwtboot/domino-rest-enum-date
>>>
>>> Hope this helps.
>>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:
>>>
 hi..
 i have a submodule of a gwt project that it's artifact are meant to be
 included as part of the main artifact (which is a pom containing a debian
 installer)
 usually i would use copy-depdencies plugin to copy the jars into the
 main artifact, but in this case there's no jar, is there a way i can copy
 the output directory of that submodule into the main artifact?

>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "GWT Users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-web-tool...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-web-toolkit/38ff23af-b3d7-4aef-80e8-9451486aa641n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit/b426f9bc-5962-4cc4-888a-895a1cd71d42n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CAETAEK%2BEJaTbvX7aVpS3UWzHg4-YF2s3JOm0d-3kerW9brWVxg%40mail.gmail.com.


Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
Hmm it is not good to have "server" part and "client" part (web browser, 
GWT) in one Maven module... The best practice is always to separate them.

I wrote some simple explanation in this project: 
https://github.com/gwtboot/domino-rest-enum-date with 3 Maven modules, 
check the explanation over there...
Elhanan schrieb am Sonntag, 18. Oktober 2020 um 16:55:35 UTC+2:

> i don't know, right now i'm having trouble to even compile everything, i 
> mean, i can either compile all the static files  (html WEB-INF) into a war, 
> OR i can compile the gwt sources, depending on what i place in pom.xml 
> (gwt-app or war) i was trying to have it all in one module
>
> On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com  
> wrote:
>
>> Is it not possible to add those contents into an artifact with assembly 
>> for example? So that you can use it later for the dependency? I'm doing 
>> this in this example:
>> https://github.com/gwtboot/domino-rest-enum-date
>>
>> Hope this helps.
>> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:
>>
>>> hi..
>>> i have a submodule of a gwt project that it's artifact are meant to be 
>>> included as part of the main artifact (which is a pom containing a debian 
>>> installer) 
>>> usually i would use copy-depdencies plugin to copy the jars into the 
>>> main artifact, but in this case there's no jar, is there a way i can copy 
>>> the output directory of that submodule into the main artifact? 
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "GWT Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-web-tool...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit/38ff23af-b3d7-4aef-80e8-9451486aa641n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/b426f9bc-5962-4cc4-888a-895a1cd71d42n%40googlegroups.com.


Re: Why Don’t You Use Java for Programming the Client-Side Web Apps on Web Browser?

2020-10-18 Thread lofid...@gmail.com
Thanks Craig for the info...

I'm not familiar with React (only Hello World )

Can you integrate React with these GWT React frameworks? So write your 
components in Java and integrate them back into React JavaScript?

   - https://github.com/GWTReact/gwt-react
   - https://github.com/react4j/react4j.github.io
   
I don't know whether it is possible?
Craig Mitchell schrieb am Freitag, 16. Oktober 2020 um 06:16:36 UTC+2:

> > Why Don’t You Use Java for Programming the Client-Side Web Apps on Web 
> Browser?
>
> Because of React.  Companies are investing in creating reusable React 
> components.  Reacts virtual DOM makes it very difficult to integrate a 
> React component into a GWT app, so you end up just using React, and coding 
> in JS / TS.
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/f37eac84-cd2a-4ce5-bcd2-0dfd878c73c8n%40googlegroups.com.


Re: Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan Maayan
i don't know, right now i'm having trouble to even compile everything, i
mean, i can either compile all the static files  (html WEB-INF) into a war,
OR i can compile the gwt sources, depending on what i place in pom.xml
(gwt-app or war) i was trying to have it all in one module

On Sun, Oct 18, 2020 at 5:49 PM lofid...@gmail.com 
wrote:

> Is it not possible to add those contents into an artifact with assembly
> for example? So that you can use it later for the dependency? I'm doing
> this in this example:
> https://github.com/gwtboot/domino-rest-enum-date
>
> Hope this helps.
> Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:
>
>> hi..
>> i have a submodule of a gwt project that it's artifact are meant to be
>> included as part of the main artifact (which is a pom containing a debian
>> installer)
>> usually i would use copy-depdencies plugin to copy the jars into the main
>> artifact, but in this case there's no jar, is there a way i can copy the
>> output directory of that submodule into the main artifact?
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/42DICj36J0E/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit/38ff23af-b3d7-4aef-80e8-9451486aa641n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CAETAEK%2Bpo%2B3D2Mr07LRxmu%3DKtbgNYT6BFfuRYssjM2_vw38t-Q%40mail.gmail.com.


Re: Including a submodule of a gwt project in maven

2020-10-18 Thread lofid...@gmail.com
Is it not possible to add those contents into an artifact with assembly for 
example? So that you can use it later for the dependency? I'm doing this in 
this example:
https://github.com/gwtboot/domino-rest-enum-date

Hope this helps.
Elhanan schrieb am Sonntag, 18. Oktober 2020 um 12:48:30 UTC+2:

> hi..
> i have a submodule of a gwt project that it's artifact are meant to be 
> included as part of the main artifact (which is a pom containing a debian 
> installer) 
> usually i would use copy-depdencies plugin to copy the jars into the main 
> artifact, but in this case there's no jar, is there a way i can copy the 
> output directory of that submodule into the main artifact? 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/38ff23af-b3d7-4aef-80e8-9451486aa641n%40googlegroups.com.


Including a submodule of a gwt project in maven

2020-10-18 Thread Elhanan
hi..
i have a submodule of a gwt project that it's artifact are meant to be 
included as part of the main artifact (which is a pom containing a debian 
installer) 
usually i would use copy-depdencies plugin to copy the jars into the main 
artifact, but in this case there's no jar, is there a way i can copy the 
output directory of that submodule into the main artifact? 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/3739cbe6-f21d-4983-a5c1-68b064d6523en%40googlegroups.com.