ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51761] New: EAR appxml attribute for JEE 5
Date Fri, 02 Sep 2011 15:10:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51761

             Bug #: 51761
           Summary: EAR appxml attribute for JEE 5
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: AIX
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: subramk@ugcorp.com
    Classification: Unclassified


The EAR file that build using Ant 1.7 is not working when deployed in Websphere
Appliction server for JEE 5. Version.

As per the Spec, application.xml is not required for JEE 5. We used Ant script
to built EAR file for JEE 5 Project. appxml attribute of EAR task is required
when update attribute is false.

We don't need to specify appxml attribute as our applicaiton does not have it.
We built EAR file using ear task with update attribute as false. Ant script
built ear file. But, when we deployed it on the application server we got below
exception,

Root exception is
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
META-INF/application.xml]

But, insted of using our Ant script, when we export EAR from the IDE and
deployed it in Application server it is working.

As a short term fix, insted of using ear task we used jar task to built our EAR
file. Suggest us whether this approach is fine.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message