Thanks Thiago, I didn't know that servlet 3.0 supports META-INF. That will help a lot, actually. As far as the IDE issues, I was just trying to be too smart for my own good:
I tried to do the following to separate the source from resources types in the IDE: <resources> <resource> <targetPath>META-INF/assets/flowlogix</targetPath> <directory>src/main/assets</directory> <filtering>false</filtering> </resource> <resource> <targetPath>META-INF/modules/flowlogix</targetPath> <directory>src/main/modules</directory> <filtering>false</filtering> </resource> <resource> <directory>src/main/tml</directory> <filtering>false</filtering> </resource> </resources> and this didn't work very well. Sometimes the assets / modules directories appear in the project tree, and sometimes they don't. I think there is a bug in NetBeans somewhere that it doesn't like META-INF in there NetBeans operates on maven projects natively, and doesn't need a separate project files or setup. On Sep 10, 2013, at 8:36 PM, Thiago H de Paula Figueiredo wrote: > On Tue, 10 Sep 2013 20:12:37 -0300, Lenny Primak <lpri...@hope.nyc.ny.us> > wrote: > >> I just realized there is another issue that I came across with assets. >> We use netbeans and it doesn't support having META-INF/assets very well for >> maven projects. > > Define "doesn't support very well". I don't use NetBeans, so I got curious. > :) From the IDE and Maven side, it's just another folder inside > src/main/resources. > >> I have a simple proposal, why not /t5-assets and /t5-js-modules/ from root? >> This way META-INF isn't involved, it's in the place where IDEs and web apps >> expect assets and all other goals of a single place for library assets is >> accomplished. > > I'm not sure, Howard can tell you exactly why, but putting assets in > /META-INF seems to be a pattern many frameworks have been using. In addition, > it's a special path in the Servlets 3.0 specification: > https://blogs.oracle.com/alexismp/entry/web_inf_lib_jar_meta. And I just > found a discussion last year about it, me and Lenny included, hehehe: > http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/META-INF-assets-in-5-4-td5714677.html. > > -- > Thiago H. de Paula Figueiredo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org