Split-source Directories

This is a document for WLW 10.3 http://docs.oracle.com/cd/E13155_01/wlp/docs103/quickstart/location.html
Is there a equivalent document for OEPE, that shows the split-source directories for each type of project? How do facets/build settings alter the directories (build/jws/weboutput vs. build/weboutput)
a.     DataSync project
b.     Web Library projects (end up in WEB-INF/lib or WEB-INF/classes)
c.     Utility projects (end up in APP-INF/lib or directly under the EAR, manifest classpath)
d.     EJB 2.1 and EJB 3.0 projects
e.     Portal and Dynamic Web Projects
f.     Web Service projects
g.     EAR projects

As JAX-RPC development is not supported by OEPE (WLS supports JAX-RPC though), we want to write
a custom ant builder to process the jws files and generate the output in certain folder hierarchy that
the publish plugin will pick them up automatically. This is something we need until we get a chance to
upgrade to JAX-WS.
This is where we need a better understanding of what output folders are automatically linked in .beabuild.txtOnce you have implemented your ant build script and wired it up into project build in the builders property page, just use the deployment assembly to add a rule that maps your builder's output directory into the war. Make sure that you've configured project refresh when configuring your ant builder or Eclipse will not see your new files. Then test using ear/war export wizards. If you are getting the expected results, the deployment to WLS will work as well. Both export and deployment are driven by the same deployment assembly rules. You do not need to be concerned with the content the .beabuild.txt file.
- Konstantin

Similar Messages

  • 3 Source directories in Sender File. How to set 3 Archive Directories?

    Hi guy's,
    I have scenario File to IDOC where from 3 source directories the XML has to be taken and processed. I used Advanced Selection for Source File in one communication channel.
    For each source directory, there is an archive directory but in the field Archive Directory of the Communication Channel, there is possibility to put only one directory.
    How can I put 3 archive directories in one sender File communication channel?
    Kind regards,
    Danijela Zivanovic

    You need to have different CCs for keeping archieve files in different directories.
    Similar thread can be found at
    Multiple Archive Directory
    Rehards,

  • Split Source Mapping Generation Task

    Hi
    I created a Dynamic Web Project in IBM Rational Application Developer Version 8. I am using BEA Weblogic 10.0.2 as the Application Server. When creating Dynamic web project, I added project to an EAR and named it testEAR. The project compiles without any errors and EAR is generated. When I try to add it to my server and deploy, I get the following error.
    Runtime exception occurred in publish task 'Split Source Mapping Generation Task'.
    Path must include project and resource name: /testEAR
    I checked web.xml for duplicate entries and didnt find anything. Below are my XML files for Deployment Assembley. The first is for the testEAR project
    <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="testEAR">
    <wb-resource deploy-path="/" source-path="/"/>
    <dependent-module archiveName="XYZ.war" deploy-path="/" handle="module:/resource/XYZ/XYZ">
    <dependent-object>WebModule_1308854753228</dependent-object>
    <dependency-type>uses</dependency-type>
    </dependent-module>
    </wb-module>
    </project-modules>
    The second is for the Dynamic Web Project
    <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="XYZ">
    <wb-resource deploy-path="/" source-path="/WebContent"/>
    <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
    <property name="context-root" value="XYZ"/>
    <property name="java-output-path" value="/XYZ/WebContent/WEB-INF/classes"/>
    </wb-module>
    </project-modules>
    Please let me know how to resolve this problem.

    Hi,
    This failure occurred probably because a Content Directory was not specified for the EAR project.
    If a Content directory is not specified, then ".settings" and ".project" files will be part of the source path for the bea compiler.
    As per the requirement, it is very important that WLS build scripts parse/compile and copy all the contents of the source folder.
    So, as per the process the ".settings" directory and the ".project" directory are also copied into the temporary build directory.
    This causes the failure during deployment as ".settings" and ".project" components can't be deployed.
    The Content directory is a requirement only in WLS environment, due to the build logic of WLS.
    By default, the WLS Eclipse tasks create a Content directory for a EAR project. So, this is not documented.
    But, when you import an existing EAR directory, this limitation is exposed.
    Creating the EAR Content folder should be the best solution.
    Steps to modify imported applications:
    1. Create a directory for the EAR content (for APP-INF, META-INF and all other modules or files that are part of the EAR) and copy all the files (except ".settings" and ".project") into the EAR content directory. (This has to be performed in windows explorer)
    2. Then edit the file .settings/org.eclipse.wst.common.component EAR content directory reference for deploy-path:
    For eg:
    <wb-resource deploy-path="/" source-path="/"/>
    to
    <wb-resource deploy-path="/" source-path="/EarContent"/>
    3. Refresh the eclipse project.
    4. Delete the temporary project folder that is created in the below location:
    <Workspace Home>\.metadata\.plugins\org.eclipse.core.resources\.projects\
    For eg:
    cd D:\Cases\EclipseWorkspace\.metadata\.plugins\org.eclipse.core.resources\.projects\
    del WebTestEAR\
    ** This is a temporary folder which will be created by WebLogic build scripts during
    deployment. **
    5. Now, try to deploy the EAR project.
    Hope it helps.

  • Splitting source record

    Hi Gurus,
    I am not ABAP specilaist, I am trying to split source records(field xyz) to two fields (feild 1: xyz1, Field 2: xyz2) in target.
    Basically source data filed will have values starting with J and Z.
    Example: J001,Z010 etc..
    Now in the transformation i want to split record based on the first character, for example if first character of source fields is J result will be J001 otherwise blank. if first character of source fields is Z result will be Z001 otherwise blank.
    Any help greatly appreciated.
    Regards,
    Reddy.

    Hello
    Another solution might look like this:
    LOOP AT lt_itab INTO ls_record.
      CASE ls_record-field+0(1).
        WHEN 'J'.
          ls_record-field = 'J001'.
        WHEN 'Z'.
          ls_record-field = 'Z100'.
        WHEN others.
          ls_record-field = space.
        ENDCASE.
      APPEND ls_record TO lt_itab2.
    ENDLOOP.
    Regards
      Uwe

  • Support for multiple source directories

    Does JDeveloper support multiple source directories? Whenever I use the class wizard, it always creates the file in the src folder. For unit test cases, I would like the source files to be in test folder.

    Re: Multiple Source Folders?

  • 404 Error (not found) for webfragment when running from OEPE (split source)

    For a large project, we are developing several JSF modules as JARs which then become packaged inside a single WARs WEB-INF/lib, which in turn will be the only substantial part of an EAR.
    When I build with maven / run from command line, everything works fine.
    But when I run from OEPE using the split source structure (actually also when I run from command-line using the split source structure that OEPE has generated), all the JSF in the JARs are not found anymore, and I get a 404 Error in the browser.
    I can reproduce the problem with a minimal set of almost-empty Eclipse projects (one WebFragment, one WAR, and an autogenerated EAR).
    (too bad I can't attach it here)
    The generated .beabuild.txt is as follows:
    C\:/workspaces/weblogicear/WebFragmentWAR/WebContent = WebFragmentWAR.war
    C\:/workspaces/weblogicear/WebFragmentWAR/build/weboutput = WebFragmentWAR.war
    C\:/workspaces/weblogicear/WebFragmentWAR/build/classes = WebFragmentWAR.war/WEB-INF/classes
    C\:/workspaces/weblogicear/WebFragment/bin = WebFragmentWAR.war/WEB-INF/lib/WebFragment.jar
    Under WebFragment/bin/META-INF/resources I have an index.xhtml, which is not found by Weblogic's implementation of ExternalContext.
    See also this thread (without answer): When web apps/war published via OEPE I get '404 Not found' on access I don't know if the original poster had the same problem. I tried to reply there, but my reply doesn't show up.

    > The Testing Server Folder is:
    D:\Inetpub\wwwroot\Zero-ten\www\
    > The URL prefix is:
    http://localhost/zero-ten/www/
    > Is that the problem?
    In the testing server folder you have a CAP Z
    in the URL prefix you don't have a cap.
    Also, would need to know more about your testing server
    (what type) if there are additional problems.

  • Multiple source directories to multiple target directories

    Hi All,
    I have a file to file scenario like this.....
    source:
    \folder1\source1.xml
    \folder2\source2.xml
    \folder3\source3.xml
    target:
    \test1\source1.xml
    \test2\source2.xml
    \test3\source3.xml
    The files from diffarent folders should be copied corresponding target directories with same file name.
    for example,
    source1.xml from the source directory folder1 should be copied to target directory test1 with the file name source1.xml.
    here the target path depends on source directory.
    so we need to know the source path to decide the target path.
    please help me to solve this..

    Hi,
    If you have lots of similar scenarios in your project you can opt for a Managed file transfer , i think using tools like RMFT you can manage the direct file transfer scenarios  well and also reduce the pain of XI server.
    refer the link below.
    http://www.repliweb.com/solutions/web-user-file-transfer.php
    As  its obvious  from the comments ...I assume that you have 1 source FTP with different folders to pick files from and  files are getting transfered to  single  FTP but different folders.
    if you deceid to write a module then .. refer this link which gives a good insight to module development .
    /people/rinku.gangwani/blog/2008/07/16/customized-adapter-module
    Again if you want to write a UDF you may need to have a mapping program..
    Do you have same structure for all source files.?
    Regards,
    srinivas
    Edited by: Srinivas on Mar 23, 2010 12:28 AM

  • Splitting source xml tag value into parts in target xml

    Hi All,
    We have a requirement in our transformation as follows
    If you get String morethan 20 it should be split and assigned to target element.
    For example:
    There is one condition that the maximum lenght of the target element is 5.
    source xml:
    <test1>aassdfgghjkkll</test1>
    So the Target xml is should be like this
    <test2>aassd</test2>
    <test2>gghjk</test2>
    <test2>kll</test2>
    another example
    Source xml:
    <test1>qwert</test1>
    Target xmls
    <test2>qwert</test2>
    Thanks in Advance.
    Thanks and Regards,
    Nagaraju .D
    Edited by: user645787 on Feb 10, 2009 2:24 AM

    SQL> with Src_Data as (
      2    select XMLType('<test1>aassdfgghjkkll</test1>') as Src from dual union all
      3    select XMLType('<test1>qwert</test1>') as Src from dual
      4  )
      5  select XMLQuery(
      6      '
      7        for $s in 1 to (fn:string-length($Src) + 4) idiv 5
      8          let $substr := fn:substring($Src, ($s - 1) * 5 + 1, 5)
      9        return <test2>{$substr}</test2>
    10      '
    11      PASSING Src AS "Src"
    12      RETURNING CONTENT
    13    ).GetStringVal()
    14  from Src_Data
    15  ;
    XMLQUERY('FOR$SIN1TO(FN:STRING-LENGTH($SRC)+4)IDIV5LET$SUBSTR:=FN:SUBSTRING($SRC
    <test2>aassd</test2><test2>fgghj</test2><test2>kkll</test2>
    <test2>qwert</test2>Regards,
    Dima

  • Split source message into multiple target messages

    Hi Experts,
    I have a scenario where a source message needs to be split up into multiple messages for the corresponding target systems.
    One source system and three target systems.
    Source system is a .Net application
    Target systems - SAP R/3, Two webservices on different application systems
    Can i implement the scenario above using BPM in the following manner?
    Source->WS Adapter->PI-->RFC Adapter->SAP R/3
    Source->WS Adapter->PI-->WS Adapter->Target 2
    Source->WS Adapter->PI-->WS Adapter->Target 3
    I could have a webservice at the source which would be called by the .Net Application
    Webservice request would be passed to an integration process which would split the message for the three target systems specified.
    Correct me if am wrong.
    Also please get back to me if you need more inputs
    Regards,
    Kalyan

    Hi,
          You can implement the same with out using the BPM itself...
    you can use either of the below options
    1. if target messages are optional like based on certain conditions if you need to route the message to the particular targets
    then you can use multimappings for the same which generates the mappings based on the condition for the particular target.
    2. if each incoming message needs to be routed to the three receivers each time then configure the three receivers at the receiver determinations one for each target...
    3. if you are using the same business system for all the three receivers then create the three interface mappings and configure the same at the interface determination level so that for each message three target messages will be generated and send to target...
    HTH
    Rajesh

  • Develop/Deploy Adapters/Connectors using split development directories

    BEA documentation says that 8.1 does not support resource adapter split development/deployment
    for writing adapters from scratch. We will be using split directories and writing
    connectors for these. What are our options ? (we would still like to develop and
    deploy ejbs and web applications using the split dev/deployment).

    wlcompile won't recognize them or do anything special. It would just
    compile them into APP-INF/classes. You could just exclude that module
    and compile it yourself if you wanted more control over it.
    wlappc works fine with them, and split-directory should work fine as well.
    -- Rob
    DP wrote:
    BEA documentation says that 8.1 does not support resource adapter split development/deployment
    for writing adapters from scratch. We will be using split directories and writing
    connectors for these. What are our options ? (we would still like to develop and
    deploy ejbs and web applications using the split dev/deployment).

  • Table splitting - source db ms sql

    Dear All,
    Can we use table splitter during export of database which running on MS SQL Server ?
    If yes, then what we have to mention in table splitting file ?
    example in oracle we are mentioning tablename%numberofsplit;ROWID.
    Thanks,
    Nikunj Thaker

    Hi,
    Let me try to help...
    I think we need physical data server for SQL server.
    Yes, you will
    Do we need Logical schema also for SQL server?
    Yes, you do.
    We already have model for Oracle source. Do we need one for SQL server or is there a way we can use it for both.
    You will need a new one, once they are from distinct techologies.
    We need to add new LKM for SQL server.
    No, you can use a generic SQL LKM
    Do we need to change CKM?
    Are you validating some kind of constraint? If not, doesn't use any! If yes, you don't need to use a new CKM if the staging area remains the same.
    I believe this post can help you a little.... http://odiexperts.com/?p=652
    Make any sense?
    Cezar Santos
    [www.odiexperts.com]
    Edited by: Cezar Santos - www.odiexperts.com on 05/11/2009 17:40

  • Retrive files from multiple source directories

    Hi,
      I need to retrive diffirent formet files from multiple directories and based on file name I need to send it to destination folders. Can anybody suggest me How can I impliment this interface.
    Thanks & Regards
    VenkatK

    Venkat,
    I hope since you are taking different format files, you are not doing any mapping. You are moving from one location to another location, because if you different formats then you can do in one mapping your requirement.
    If it is correct then as shabharish mentioned you can pick the files using multiple file sender adapters. With this you can pick the files, but to send to different directories enable ASMA in sender file commkunication channel. Then in receiver communication check the extension for each format and then give the directory name so that it routes to the destination you mentioned.
    Regards,
    ---Satish

  • Multiple Source directory Scenario

    I have a situation where my source files will be in several directories based on State. If I give the multiple source directories how the Sender File Adapter picks up those files?
    Does Adapter picks up 1 after the other or It picks up all files and merges and sends as one file ?
    Your input is greatly appreciated.Thanx

    Hi,
    1. Write a shell script to copy allt he file in one directory. YOu can ask business if you are getting unique fil names. If yes then all you need to put is just copy the file using shell script.
    2. Point your file adapter to this directory and pick the file as *.csv or any other pattern that is more suited to the fil names.
    3. Also you can use this functionality of file adapter so that you know all the files are picked up correctly.
    <i>Msecs to Wait Before Modification Check
    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.
    This parameter is not available if you have selected File Content Conversion as the Message Protocol and then made an entry under Recordsets per Message that splits an input file into several messages.</i>
    Regards
    Vijaya

  • File Adapter: picking files from multiple directories

    Hi all,
    In a sender file communication channel with Transport
    Protocol FTP, There are 2 parameters for Picking up the file
    called Source Directory and Filename. If I want to pick the
    files from 2 or more directories, What needs to be done.
    Or is it possible to do so ?
    Without making duplicate interfaces what else can be done ?
    Regards,
    Vijay

    Actually it is possible to select files from different folders for sender channel. It is available with SP14.
    I just copy following description from help.sap.com
    Advanced Selection for Source File
    If you want to set an exclusion mask for the File Name specified above, or if you want to specify multiple directories using a file name mask and exclusion mask, set the Advanced Selection for Source File indicator.
    ¡        Specify an Exclusion Mask for the file name specified above.
    Example
    You want to process all files that have the extension '.txt', but want to exclude all files that begin with the letter 'a'. To do this, enter .txt for File Name, and a for Exclusion Mask.
    ¡        You can enter additional specifications for source directories, file names, and exclusion masks in the table. This data is processed in addition to the details specified above.

  • How do I use a OS (Windows) Environment Variable in the source path of me ActionScript 3.0 settings

    I'm sure this can be done as I know we used something similiar at my old work place, below is an image showing what I am attempting to do.
    We used this to create more portable / shareable assets files which when symbols are linking to code, the code was very often in different directories on different machines.
    So we had set up environment variables in the OS to point to source directories and then used these variables in the source paths.
    As long as everyone had these variables set up then it would all work.
    Anyone know the correct way to do this in Flash CC
    Thanks in advance!
    Best Wishes
    Rhys Thomas

    sinious the problem with doing that is that the changed path gets into the code repository as well, so you wind up with everyone going back and forth changing it to their own value, which is a hassle. If you use relative paths and a standard project setup, then it all "just works" without a problem.
    For example, this is the setup I use:
    .dev
         .thisProject
              .Flash1
                   Flash1.as
                   .Flash1
                        Flash1.xfl
                   .view
                        .audioAssets
                        .customViews
              .SoundLib
                   SoundLib.xfl
              SoundLib.swc
         .bin <swfs are output here
              .xml
         .core
              .control
              .model
              .service
              .view
    We have a "base project" that you check out to start a new project (we do heaps of similar work), and the paths are already set up to be relative. Having each project point to its own copy of the core code allows for fine-grained control of which revision you're using--we've even pointed deliberately to old versions or branches on rare occasions.
    The bin folder is actually shared with the website repository, which is in a different directory from the Flash source code (in the website, it has a different name). This allows the generated swfs to be easily updated and ensures that the latest XML is being used both for development and on the site.
    The "thisProject" folder actually includes a Flash Builder workspace with all the standard shortcuts, etc., already set up. This is primarily because of how the "default path" works when you create a new Flash Pro project in FB. Because we output a level up from the workspace, we hack the .metadata folder every time, but that's a small change.

Maybe you are looking for

  • Same computer, same ipod, no library or playlists in iTunes

    Okay, I'm not sure what category this falls under, but I was trying to move my iTunes library to another location so my brother could share my computer using his own personal ipod. I did everything it told me to do and I consolidated the library like

  • Goods receipt prurchase order

    I have created a purchase order and i want to create a "goods receipt purchase order" i am using transaction code: MIGO. I imported the purchase order i created which displays all the information i need but when i post it, i get the following error:

  • IMac Keeps Trying To Eject.

    My iMac keeps trying to eject every few minutes. The eject symbol appears on the screen and then the drive will attempt to eject whether there is a CD in there or not. This problem has only been happening for the past few days. My eject button doesn'

  • How can I copy multiple data cd's onto a dvd?

    I figured I would copy all my 3rd party software cd's onto a dvd so it takes up less space. How can I do this? Rob

  • SRM7 - Sourcing Cockpit steps and FPM

    Hi all gurus, in SRM7 there's a sourcing cockpit for purchase requisitions which is basically split in 4 main steps: - in the first one (which corresponds to a specific WebDynpro/view) the user cah search for a PR; after the results are retrieved, th