[ 
http://jira.codehaus.org/browse/ARCHETYPE-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134342#action_134342
 ] 

mahesh kumar commented on ARCHETYPE-108:
----------------------------------------

I am getting the following exception.

        at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.proces
sOldArchetype(DefaultArchetypeGenerator.java:255)
        ... 22 more
Caused by: java.io.FileNotFoundException: D:\Temp\Install\sample\src\main\webapp
\*.jsp (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.maven.archetype.old.DefaultOldArchetype.processTemplate(De
faultOldArchetype.java:901)
        ... 27 more

My archetype.xml is as follows.

<archetype>
  <id>webapp</id>
  <resources>
    <resource>src/main/webapp/*.jsp</resource>
    <resource>src/main/webapp/WEB-INF/web.xml</resource>
  </resources>
</archetype>


> Use of wildcards in archetype.xml
> ---------------------------------
>
>                 Key: ARCHETYPE-108
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-108
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Archetypes
>         Environment: All OS
>            Reporter: Felipe Lang
>             Fix For: 2.0-alpha-1
>
>
> I could be great if  we could use wildcards to specify the sources, 
> testsources, resources and so on in the archetype.xml file.
> ie:
> <archetype>
>       <id>my-archetyp</id>
>       <sources>
>               <source>src/main/java/com/company/*.java</source>
>               <source>src/main/java/com/company/**.*</source>
>       </sources>
>       <resources>
>           <resource>src/main/resources/*.*</resource>
>   </resources>
> </archetype>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to