Generate and ears to ADFprojects with ANT

Hi all

What we must do is described in the documentation of Oracle ADF 12.1.2 the link below (point 4.5):

https://docs.Oracle.com/middleware/1212/ADF/ADFAG/deploy.htm#ADFAG20592BB

Unfortunately, it is said that it is possible to do, but it does'nt expain how.

We want to implement section 3 (Create an Ant script to compile and package our application without the use of ojdeploy), but we have no experience with ANT and would like to know if someone in the forum has done it before and can show us some guidelines.

Most of the information we find in google use jdeveloper (like ojdeploy) tools, but we cannot find any example of how to do it only with ANT.

What we can do is to generate the build.xml for the model and the viewcontroller using jdeveloper, but our goal would be to create and generate the ear file when a developer submit a change in the SVN, for example automatically.

We will ask the same thing on the forums of ANT, but I thought that, given that the ADF projects are complex, it would be easier to find the answer here.

Thanks a lot for your help.

You can use the build.xml files, that you can generate from within jdev to generate projects, but to my knowledge, it is not easy to pack the projects and applications (ear) without the use of ojdeploy. The task of ojdeploy, which can be generated in the build.xml too, changes some descriptors access affecting the ear file. As you do not know what changes are made, and there is no documentation on this provision,

You can always write ant tasks that will make the same changes to the descriptors as ojdeploy will do, but you need to check the changes whenever you make a change to the project or you change the jdev version. As this can be a lot of time in the normal way of dealing with this is to install a jdev headless on the build server to make available ojdeploy. Then use ojdeploy and you're done.

Timo

Tags: Java

Similar Questions

Maybe you are looking for

  • Re: Audio on iPhones

    Hello.. Hearing impaired by too many ear infections as a child for hearing aids to work for me. Is there audio apps for the iPhone that can do audio more clear? Suggestions welcome!

  • Read textfile vi will not read the file...

    I am very new to programming LV so I hope you'll forgive the stupid mistakes that I make.   I use version 8.2 on a XP machine. I have a small program that stores the small sets of data in text files and then I update individually or read and update a

  • Compatibility issues with the baseball game high heat 2004.

    I'm having a problem of compatibility with the game of baseball high heat 2004, I can install it without any problem, however, when I go to play I get a screen that tells me I have to put the CD in the CD drawer, which is where it is.  This game work

  • How to become administrator of my computer?

    I have this computer and have been the only never connect or use. A few minutes ago, a message window appears mcaffee security. I run kapersky. I closed the output window and went to the control panel. of course, mcaffee was there. It was created Fri

  • Microsoft Visual C +++ KB2467175 installs several times

    original title: Microsoft Visual C +++ KB2467175 retains the free installation on my laptop?  Is it have to be on my laptop? KB2467175 retains the free installation on my laptop?  Is it have to be on my laptop because it seems that it makes it trolli