Emmanuel Venisse wrote:



Project: maven-archetype-quickstart
- File App.java sitting under srcmain/resources/archetype-resources/src/main/java/ is not compilable. - The package reference in the source file is '$package'. I believe the file is a template, so might be an idea not to resolve it as a Java source or appropriate exclusion filters to be set up in the build path. - Same deal as above with file AppTest.java under src/main/resources/archetype-resources/src/test/java


It isn't a java source but a template text file (with java code). Do you have a fix?

Would it be better to have these named with a different extension other than .java (may be .java.tpl for instance) so atleast these are not detected as compilable java sources? Do these need to stay as .java as to be consumed by the template processor/handler etc?

Cheers,
Rahul


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to