Are JDev autogenerated paths needed to create ear, war and jar files ?

Hi
We want to create ear, war and jar files from Ant build script generated from JDeveloper 11.1.1.7.
We also like to use ojdeploy with it.
In the process of creating build.xml files from projects, we see these paths.
We also have standalone Weblogic installed with ADF runtime 11.1.1.7
Questions:
1- Do we need these path ids to generate ear, jar, war files properly and then deploy the ear to our standalone Weblogic so that our webapp can run ok ?
2- Why are they generated, if they are not needed
From research, it appears that we don't need these paths except to keep ant targets of init, compile, exec etc with ojdeploy.
3- Is that true ?
We are afraid that because no paths are listed in the build.xml, then when we deploy the ear app, it cant use the ADF runtime on the standalone WLS.
Thanks in advance for answering.
Sincerely
eg of paths generated below:
  <path id="library.SOA.Designtime"/>
  <path id="library.SOA.Runtime"/>
  <path id="library.BPEL.Runtime"/>
  <path id="library.Mediator.Runtime"/>
  <path id="library.MDS.Runtime">
    <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
  </path>
  <path id="library.BC4J.Service.Runtime">
    <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc.jar"/>
    <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc-share.jar"/>
    <pathelement location="{oracle.middleware}/oracle_common/modules/commonj.sdo_2.1.0.jar"/>
    <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
    <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.webservices_11.1.1/wsclient.jar"/>
    <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.web-common_11.1.1.jar"/>
  </path>
  <path id="library.TopLink">
    <pathelement location="{oracle.middleware}/modules/com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar"/>
    <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
    <pathelement location="{oracle.middleware}/modules/com.bea.core.antlr.runtime_2.7.7.jar"/>
    <pathelement location="{oracle.middleware}/modules/javax.persistence_1.0.0.0_2-0-0.jar"/>
  </path>
  <path id="library.Oracle.Rules"/>
  <path id="classpath">
    <path refid="library.SOA.Designtime"/>
    <path refid="library.SOA.Runtime"/>
    <path refid="library.BPEL.Runtime"/>
    <path refid="library.Mediator.Runtime"/>
    <path refid="library.MDS.Runtime"/>
    <path refid="library.BC4J.Service.Runtime"/>
    <path refid="library.TopLink"/>
    <path refid="library.Oracle.Rules"/>
  </path>

There are two different things here. Using ant to build the class files and then building an ear from the class files and other resources.
The building part needs the libraries if you use javac as compiler. Building an ear file only needs the path to the jar files which are packed into the ear.
In this sense you need the pages you see in the build.xml.
Then Jdev offers another way: ojdeploy. This tool is a Jdev without a gui.
You can use this tool and build the classes for each project of a workspace and to build build war and ear file. This is just like you click the rebuild button for each project and then the deploy the projects and application. If you use this approach you don't need the generated path ids as the whole build process is done inside Jdev as it's done on your developer pc.
Timo

Similar Messages

  • Ear, war and jar question.

    Hi Communtiy,
    Can I split an ear file to a war file on one computer and to a jar file on an other computer, or doesnt it makes sense.
    Thanks
    Oliver.

    we can....I am not sure in which circumstances you need this.
    There are no structural differences between the files; they are all archived using zip/jar compression. However, they are intended for different purposes.
    Jar files (files with a .jar extension) are intended to hold generic libraries of Java classes, resources, auxiliary files, etc.
    War files (files with a .war extension) are intended to contain complete Web applications. In this context, a Web application is defined as a single group of files, classes, resources, .jar files that can be packaged and accessed as one servlet context.

  • Why do we need to have  a war or jar file

    Can someone please explain me what is the need of creating these 2 archives

    Why do we have doc, xls, exe, com, bat, sh, odt? Lets all just work with a plaintext flat file! It would make life so much simpler! :)

  • Where are the bullets for adobe. im creating a document and they are not in the toolbar

    where are the bullets for adobe. im creating a document and they are not in the toolbar

    ADOBE PRO   I JUST GOT IT A FEW MONTHS AGO

  • What are the best editing softwares to create sequence shots and slow down video?, What are the best editing softwares to create sequence shots and slow down video?

    What are the best editing softwares to create sequence shots and slow down video?, What are the best editing softwares to create sequence shots and slow down video?

    Do you want free or do you want the best, your original post said best, now you are saying free. This is a contraction, there is no such thing as best free. There is such a thing as free and such a thing as best.
    Also is your focus video or photos?????

  • I am confused by the layout of the I tunes Store...recently the entire graphics on the i tunes store pages are a complete mess, not downloading, creating odd layover and jumbled data and making it virtually impossible to access or read. Help!?

    I am confused by the layout of the I tunes Store...Ive had no problems or troubel for YEARS with the I Tunes store, but recently the entire graphics on the i tunes store pages are a complete mess, not downloading, creating odd layover and jumbled data and making it virtually impossible to access or read. I am looking for information or guidance on how to re-boot or fix this - Help?!

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • How can i get the path to config folder placed inside the jar file?

    Hi i have developed an RCP application using eclipse.
    In my application config directory is there.
    When i export my RCP application as JNLP Project the jar file is created which contains config folder inside it.
    When i download the application using java web start , how can i get the path to config folder placed inside the jar file?
    Will the config folder exists in local cache in my system?
    Help needed.
    -Deepak

    -- This works in CS6:
    tell application "Adobe InDesign CS6"
      set myDocument to active document
      set selectedRectangles to selection of myDocument
      set theGraphicsLink to file path of item link of (graphic 1 of (item 1 of selectedRectangles))
    --> "Macintosh HD:folder/folder/filename.tif"
    end tell

  • Login problems with create pdf,share and my files

    Hello ,
    When I currently go to www.acrobat.com on my windows xp
    computer and try to go to one of the create pdf,share and my files
    and click on begin I get a message saying sorry this service is
    temporary unavailable but when I click on learn more it says all
    service are up and runing. Does anyone know what is wrong and if
    the service is down when will it be fixed.?

    Hi Sue!
    This seems like a separate issue you're running into. It is
    good that you can get logged in, but odd that you're only seeing
    partial functionality in your user.
    How many files are missing? Is this affecting certain file
    types?
    Did you ever see files in your My Files section?
    How long have they been unavailable/missing?
    When uploaded, did they complete making it through the
    scanning process?
    Can you see files in your Buzzword organizer? (which is a
    different section than your My files organizer)
    Create new documents?
    It would be good to get another browser as a comparison test
    here as well, to see if there is any different behavior!
    It could be firewall related, but what you could do is maybe
    try logging into your account from another person's computer for a
    moment, to see if the files are visible there?
    Otherwise, the test from home, or laptop at a coffee shop,
    would be another good test!
    Get back to us with some of these questions answered, and
    we'll see about getting you up and running!
    Cheers,
    Pete

  • I recently had a kernel panic in which I think my hard drive only had so much space left after I ran a bunch of drivers I thought I needed. I uninstalled all and moved files. For some odd reason I'm not getting sound of of my hdtv/monitor.HELP?

    I recently had a kernel panic in which I think my hard drive only had so much space left after I ran a bunch of drivers I thought I needed. I uninstalled all and moved files. For some odd reason I'm not getting sound of of my hdtv/monitor.HELP? I uninstalled all the drives and apps I download. I moived files either to trash if not needed, and others to other external drives. I went into disk utility and did a repair disk permission and verify disk. Clean out junk files. Now my hdtv/monitor does not give me any sound, nor does my mac mini. Can someone please tell me what to do?

    What drivers?

  • I need to create a playlist and don't want the same songs in my everyday playlist.

    I'm new to Mac and Need to create a playlist on my itunes like a holiday playlist which I have, but I don't want the same music in my everyday playlist.  How do I do this.  I thought I did my draging the music to that playlist but they are still showing up and playing in my playlist.  thanks for the help

    Yes yes indeed,
    OMG,
    I finally got it off,
    I called IT Support
    and this guy saw where it had doubled the size during the encryption, and showed me how to go in and delete,
    and I was able to finally turn it off,
    although it took 3 hours to do so.
    but worth it.
    so never will I again listen to anyone about that,
    I'm done with the encryption of my machine.
    I wasted a trip going to the Apple Store,
    thank you.

  • Need of creating receiver determination and interface determination

    what is the need of creating interface determination where as providing all the details in Receiver determination?

    Hi,
    The loose coupling between the Interface mapping and receiver determination have provided the compatibility for reusability.
    The Interface determination maintained and just linked to receiver determination so you could have multiple receiver determinations with common interface determination or vice-versa.
    If you provide all the information in receiver determination then, it would be very dfficult to have the various mappins for multiple receivers maintained in receiver determination.
    Interface determination is applied at runtime to all messages to be processed. Thus from security point of view of transaction of data. its preferable.
    Thanks
    Swarup

  • Urgent help needed in creating customer ship_to and bill_to site id

    Hi,
    I am using an api to create customer ship_to and bill_to address, in Oracle OM R12 but the api does not return values. I am including the code so any suggestion will be helpful.
    declare
    l_num_billing_site_use NUMBER;
    l_num_cust_site_id NUMBER;
    l_rec_cust_site_use apps.Hz_Cust_Account_Site_V2pub.CUST_SITE_USE_REC_TYPE;
    l_rec_customer_profile apps.Hz_Customer_Profile_V2pub.CUSTOMER_PROFILE_REC_TYPE;
    l_chr_retcode VARCHAR2(20);
    l_chr_errbuf VARCHAR2(200);
    l_num_count NUMBER;
    begin
    -- fnd_global.apps_initialize (1885, 21623, 660); -- user id, --resp_id (OM Super User), appl_id
    -- mo_global.init ('AR');
    -- mo_global.set_policy_context ('S', 511);
    l_rec_cust_site_use.site_use_code := 'BILL_TO';
    l_rec_cust_site_use.cust_acct_site_id := 24919;
    l_rec_cust_site_use.primary_flag := 'N';
    l_rec_cust_site_use.created_by_module := 'CONVERSION'; -- Change
    BEGIN
    apps.Hz_Cust_Account_Site_V2pub.create_cust_site_use( p_init_msg_list => FND_API.G_FALSE
    , p_cust_site_use_rec => l_rec_cust_site_use
    , p_customer_profile_rec => NULL --l_rec_customer_profile
    , p_create_profile => FND_API.G_FALSE
    , p_create_profile_amt => FND_API.G_FALSE
    , x_site_use_id => l_num_billing_site_use
    , x_return_status => l_chr_retcode
    , x_msg_count => l_num_count
    , x_msg_data => l_chr_errbuf);
    EXCEPTION
    WHEN OTHERS THEN
    FND_FILE.PUT_LINE(FND_FILE.LOG,' Unexpected error creating customer site for Cust Site Id ' || l_num_cust_site_id || ' due to: ' || SQLERRM);
    END;
    dbms_output.put_line('cust_site_use:'||l_num_billing_site_use);
    end;
    Thanks,
    Srinivas
    Edited by: user2138419 on Feb 14, 2010 4:46 PM

    It might be a crossdomain.xml problem.
    Please make sure that the server hosting the xml allows the domain where the swf is hosted.
    You can start with:
    <?xml version="1.0" encoding="utf-8" ?>
    <cross-domain-policy>
        <allow-access-from domain="*"/>
        <site-control permitted-cross-domain-policies="master-only"/>
    </cross-domain-policy>

  • Packaging of EAR / WAR / EJB-JAR

    Hello,
    I have a big application to do.
    So, one solution should be to use an EAR for one module, containing the WAR for the web-tier and the EJB-JAR for the business-tier.
    It would be better doing like this than creating a big WAR, in order to avoid to deploy a big WAR when a modification is done in one module.
    What about the problem of the session ?
    In fact, I have to declare a context-root for one EAR.
    And at each context-root is created an object HttpSession on the server.
    So, I have some questions about this :
    - How can I configure my WARs in order to use only one HttpSession object for every WARs ?
    - Can I put multiple WARs in one EAR ? If yes, what about the context-root ? This solution would resolve the session problem.
    Thanks in advance.
    bgOnline

    Hello,
    I have a big application to do.
    So, one solution should be to use an EAR for one
    module, containing the WAR for the web-tier and the
    EJB-JAR for the business-tier.
    It would be better doing like this than creating a
    big WAR, in order to avoid to deploy a big WAR when a
    modification is done in one module.Are you using local EJBs or remote EJBs? The only way for a war to talk to a local EJB is to package the war along with the ejb-jar in an EAR file because they need to be collocated. You can not simply bundle EJB classes in a war file.
    If you are using remte EJBs, then you can package the EJB client view classes along with the servlets and JSPs in the war file and deploy the war separately. But again your war will be one big war.
    If your EJBs are just entity beans, then Java EE 5 (see http://weblogs.java.net/blog/ss141213/archive/2005/12/using_java_pers.html) allows you some nice options.
    >
    What about the problem of the session ?
    In fact, I have to declare a context-root for one
    EAR.
    And at each context-root is created an object
    HttpSession on the server.
    So, I have some questions about this :
    - How can I configure my WARs in order to use only
    one HttpSession object for every WARs ?
    There is no standard way to do this. Relying on any application server specific feature can only make your app non-portable. So I strongly recommend you not to do this.
    - Can I put multiple WARs in one EAR ?Of course you can.
    If yes, what about the context-root ? This solution would resolve
    the session problem.Can't be solved using any standard way. So I suggest you stick to one big war, if that's what your business requirement is.To speed up development-deployment-test cycle, any appserver allows a rapid deployment option where in you can deploy incremental changes to server. Use this facility during development. DON'T sacrifice portability of your app by using any product specific configuration that you may not find any where else.
    Thanks,
    Sahoo

  • Cannot create a proper working JAR file

    Hie,
    Im facing a problem here to compile the JAR files. I went through the JAR tutorials at the java site but i cant still figure it out. MY problem is actually i need to create a JAR file that consist 3 folders and subfolders.
    The main folder is --> classes
    sub main1--> emmeeting
    submain2-->image
    submain3-->jwc
    But, in this jwc it contains another two folders and there is another 3 folders inside those subfolders.
    jwc ---> contains jwc 1 and jwc 2 as subfolder
    jwc1 contains jjwc1. jjwc2 and jjwc 3
    those filenames are examples only.
    i used the command jar cvf classes.jar classes * class
    and
    even jar cf classes.jar -C emeeting. -C images . -C jcw
    as these command will invoke every file inside it and create a jar but i still fail
    When i click the jar that is created it says this error "Fail to load Main-Class Manifest attribute"...i went through the manifest and they say have to set up the main-class : classname .....so, which classname shud i use and plz tell me the best way to solve this .thanks

    The main classname should be the path of the class which contains your static "main" method.
    /mypackage/MyClassWithMainInIt
    Regards,
    Tim

  • New to EAR/WAR - where do files go?

     

    posting to servlet newsgroup.
              "Frank Rachel" <[email protected]> wrote in message
              news:[email protected]..
              > We've been successfully running under WebSphere 3.5 and Weblogic 5.1 for a
              > while. However, in this mode we are not using EAR/WAR files. Our login.jsp
              > page gets information from a properties file (in our case,
              > general.properties). Under the older versions, there was a "working
              > directory" concept, so thats where the property file needed to be. Where
              > does this go when I package everything up as a WAR?
              >
              > I have the WAR made, and it deploys. But when I go to the login.jsp (it
              > compiles) I get a filenotfound exception on my general.properties. Exactly
              > where is it looking for the file?
              >
              > Since our code it littered in a directory structure that doesn't match the
              > WAR structure, I manually create the war, so if I know where this goes
              > relative to the root of the WAR i can easily add it.
              >
              > Thanks.
              >
              >
              

Maybe you are looking for

  • Sony PRS-T1 Not Showing Up in Adobe Digital Editions

    Though my device, Sony eReader model PRS-T1, is listed under the supported devices (http://blogs.adobe.com/digitalpublishing/supported-devices), it does not appear when I open Digital Editions. I followed the directions at the following location: htt

  • Splitting String and SubString in C#?

    Hi, I have this string with names and their branches like this: Label/Sublabel/SubLabel2/SubLabel3.  Where the string  before "/" is a superlabel of its corresponding sublabel.  --Label --------Sublabel (sub label of Label) -------------- SubLabel2 (

  • Tiled Image in IE6

    Hi Guys Been a while. I am just looking at this at work and so maybe when I get home I'll discover the problem, but here: www.andybertaut.com In IE7, FF everything is fine, but in IE6 the image which should only be a div background is tiling, and the

  • Apple Script Help please

    Pleasewrite an AppleScript for the following scenario: You need to ping the address10.32.8.151 every 5 seconds and report to the current logged in user via adialog box and email a set address when the IP has failed to respond to morethen 6 pings or 3

  • WRT55AG Ver. 2 frustration

    Hi, hope someone can help me. It seems like every time I turn around, I cannot access the internet and then have to go through the whole process of resetting the darn thing and going to the http://192.168.1.1 site. Now I can't even get in that site t