This discussion is archived
3 Replies Latest reply: Jan 2, 2013 9:09 AM by kosta RSS

Exporting Archive Files

srikanth vallabhaneni Newbie
Currently Being Moderated
Is there a document that shows what output folders are included in the exported EAR or WAR when exported in OEPE? http://docs.oracle.com/cd/E13224_01/wlw/docs103/guide/ideuserguide/build/conExportingArchives.html is a WLW 10.3 doc.

Does the included content vary by the project facets? e.g. WebService Projects vs. regular Dynamic Web projects etc.
  • 1. Re: Exporting Archive Files
    kosta Journeyer
    Currently Being Moderated
    To get an understanding of what will go into an exported EAR/WAR or what will be published when running from Eclipse, take a look under project properties on the "Deployment Assembly" page. The content of this page will be influenced by project type, which facets are installed and can be edited by user to customize the project.

    Note that when you see a Java source folder mapping in the deployment assembly, Eclipse will actually include the compiled class files originating from that source folder. See the "Java Build Path" page for relationships between Java source and output folders.

    - Konstantin
  • 2. Re: Exporting Archive Files
    srikanth vallabhaneni Newbie
    Currently Being Moderated
    Neither the deployment assembly (/src mapped to /WEB-INF/classes, /WebContent mapped to the root of the war) or the default output folder (build/classes) settings have information about the build/weboutput folder which gets generated as part of publish. What can we do to make sure resources generated under build/weboutput are included in the exported war?

    Edited by: user623867 on Jan 2, 2013 1:02 PM
  • 3. Re: Exporting Archive Files
    kosta Journeyer
    Currently Being Moderated
    What can we do to make sure resources generated under build/weboutput are included in the exported war?
    You need to add a rule in the project's deployment assembly mapping build/weboutput to whatever location in WAR you need those files.

    - Konstantin

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points