[ 
https://issues.jboss.org/browse/JBSEAM-4946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690728#comment-12690728
 ] 

Tomas Remes edited comment on JBSEAM-4946 at 5/9/12 8:49 AM:
-------------------------------------------------------------

WEB-INF/web.xml is simply missing, because it was never copied to new target 
project in any preceding Ant tasks. I suppose it should be done in "file-copy" 
task. There are two options to get it. First is to delete following line 
(number 939):
{noformat}
<include name="META-INF/jboss-deployment-structure.xml"/>
{noformat}

This means - all files from specified fileset will be included except the 
excludes. Second option is to explicitly define all remaining includes, because 
when you specify one than you have to specify all files you want to include. 
                
      was (Author: tremes):
    Well I am not really sure, why is it causing Ant build failed, but 
following line (line 939) in seam-gen/build.xml 
{noformat}
<include name="META-INF/jboss-deployment-structure.xml"/>
{noformat}
should be deleted. I think we don't want to exclude this file and if this is 
deleted, the file will be included as well.
                  
> seam-gen executing command "create-project" error
> -------------------------------------------------
>
>                 Key: JBSEAM-4946
>                 URL: https://issues.jboss.org/browse/JBSEAM-4946
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.3.0.BETA2
>         Environment: JBoss Seam 2.3.0.Beta2-SNAPSHOT from 2012-05-07
>            Reporter: Tomas Remes
>            Assignee: Daniel Hinojosa
>              Labels: seam-gen
>             Fix For: 2.3.0.BETA2
>
>
> Executing command "./seam create-project" (probably no matter of previous 
> setup configuration) ends with build failed because of:
> {noformat}
> jboss-seam-2.3.0.Beta2-SNAPSHOT/seam-gen/build.xml:992: Replace: source file 
> /home/tremes/projects/myproject/resources/WEB-INF/web.xml doesn't exist
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to