Re: Maven/GWT - How to access resources in the resources folder?

2017-04-17 Thread Juan Pablo Gardella
Remove * section. Try to follow maven convention. The resources for GWT web app should be placed in public folder, see http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideDirectoriesPackageConventions For ui binder xml files, I put them in java src folder (I can't make

Re: Maven/GWT - How to access resources in the resources folder?

2017-04-17 Thread Magnus
Ok, I created the directory src/main/resources and added some xml files there. But they don't get into the jar file... Below is my pom.xml. What's wrong? Magnus - http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.

Re: Maven/GWT - How to access resources in the resources folder?

2017-04-16 Thread Jens
> If the src/main/directory doesn't exist: Can I simply create it or do I > also have to declare it somewhere in the pom? > Just create it. If you stick to maven conventions like the standard directory layout you do not have to configure it. -- J. -- You received this message because you ar

Re: Maven/GWT - How to access resources in the resources folder?

2017-04-16 Thread Magnus
Thanks, this describes the standard directory layout. If the src/main/directory doesn't exist: Can I simply create it or do I also have to declare it somewhere in the pom? Magnus -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe fro

Re: Maven/GWT - How to access resources in the resources folder?

2017-04-13 Thread Juan Pablo Gardella
Check https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html On Thu, 13 Apr 2017 at 11:08 Magnus wrote: > Hello, > > I would like to follow the Maven conventions and place my resources into > the resources folder. > > How can I access a file in the resour

Maven/GWT - How to access resources in the resources folder?

2017-04-13 Thread Magnus
Hello, I would like to follow the Maven conventions and place my resources into the resources folder. How can I access a file in the resources folder server-side so that I have an InputStream then? My projects were created with maven and webAppCreator, and they do not contain a resources fold