Hi,
-- I am moving my apps and libs from pure eclipse projects to maven:
- myapp: a gwt app based on the artifact "modular web-app" by Thomas Broyer
- mylib: a pure java library based on the artifact "quickstart"
The myapp project consists of three sub projects:
- myapp-client
- myapp-server
- myapp-shared
There is a class in mylib that is used in myapp-server.
First, I added the dependency for mylib in the pom.xml of myapp. This produced a package not found error.
Then, I moved the dependency definition into myapp-server, and it worked.
Question: Why didn't the first approach work?
-----
Next topic:
When using the artifact "modular-webapp", then some templates are fetched from the net and my project is build on top of them. I assume that it's mandatory that they are available on the net.
What happens to my project, if Thomas decides to make major changes to them or even removes it from the net? How can I deal with this dependency from the outside world?
-----
And finally:
How should you name your maven projects/artifacts?
Example: Small letters with dots, e. g. : mycompany.myprojects.app123
What about mixed letters and spaces, e. g. "My Next Project"?
Are there any standard conventions?
Thank you
Magnus
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment