Hi, I have several Java libraries shared by different applications, including SWT apps.
I use an "ant" script to compile my Java libraries. The script copies generated jar files to the different /lib folders of my applications, including GWT-based ones. I run the script from command line and all I have to do when working on Eclipse is press F5 to refresh the repository. Hope this helps, Rodolfo M. Raya On Thu, Mar 16, 2017 at 1:10 PM Magnus <[email protected]> wrote: > Hello, > > I am evaluating the interplay of maven and eclipse with two simple > projects: > > - a simple GWT application based on the one created with webAppCreator > - a simple library containing both, pure java code and GWT code > > During my evauation, I have seen several problems like this: > > After making changes to the app or the library, which is used by the app, > what should be done to get everything up to date? > > - cd lib; mvn clean compile package install > or a subset of these? > - cd app; mvn clean compile package gwt:devmode > or a subset of these? > > And in eclipse: > > - lib project: refresh and/or Maven -> Update Project ... and/or GWT > -> compile? > - app project: refresh and/or Maven -> Update Project ... and/or GWT > -> compile? > > Relating to the two projects in eclipse: > > - should the library project be defined as a "required project" on the > build path of the app project? > - should the jar file produced by the library project be added to the > build path of the app project? > > In essence: Should you "repeat" those dependencies in eclipse, allthough > they are already defined in the pom.xml files? > > For me, it's still unclear, how the development process looks like, > especially when you have a separate library project. > Please show me, if this is written down somewhere. > > Thanks > Magnus > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
