ADF Library JAR creation?.

Hi,
How to create ADF Library JAR
by using pure ANT script without ojdeploy.Please give any solution.
Regards,
Rengasamy.A
Edited by: Vass on May 9, 2011 9:51 PM

Hi Vinod,
I have achieved this solution from apache ant. But I have facing one problem
1. While creating jar file using Jdev, two files are created .These files are: task-flow-registry and oracle.adf.common.services.ResourceService.sva
2.How to create these two files using ant?.
I have referred the below link.
[http://www.oracle.com/technetwork/articles/adf/part4-098813.html]
But i cant to create these two files.
Regrads,
Rengasamy.A

Similar Messages

  • Work with ADF Library jar file

    Hi
    My English isn't very good
    I use jdeveloper11.1.1.3.0
    I want to work with ADF Library jar file.
    I created two generic application. In each application I have a View Obj(one for employees table and one for department table ) and added them to App Module,
    then I made a ADF Library jar file for each application: adflib_emp, adflib_dep
    Then I created two separated application and in each application I created a BTF .
    In emp_TF1 I added adflib_emp jar file to application and in dep_TF2 I added adflib_dep jar file to application.
    These two applications work well. Then I created ADF Library jar file for each of these applications named: adflib_TF_1 and adflib_TF_2
    Finally I designed a main page to use these two jar file(adflib_TF_1 , adflib_TF_2). I added thses two jar file to application and then I dragged and dropped each TF to main page as a region:
    <af:panelSplitter id="ps1" splitterPosition="500">
    <f:facet name="first">
    <af:region value="#{bindings.emp_TF1.regionModel}" id="r1"/>
    </f:facet>
    <f:facet name="second">
    <af:region value="#{bindings.dep_TF2.regionModel}" id="r2"/>
    </f:facet>
    </af:panelSplitter>
    When I run main application both TF show employees table, but one TF should shows department table and the other one should shows employees table.
    I read oracle document and created my application on base of it. But I don't know why this happen and how to solve it?
    Habib
    Edited by: Habib Eslami on Apr 7, 2013 8:46 PM

    Hi,
    most likely the names of the application modules are not different but the same, which means you have a naming problem. Application modules (if they should be used as is) must have a unique name
    Frank

  • Problem importing adf library jars

    Hi all
    I have a adf application (portalapp) into which I have attached another Application(partapp) as a ADF library jar. Once I add the jar, there seems to be a problem with loading the bindings from the databindings.cpx of the portalapp.
    FacesContext fc = FacesContext.getCurrentInstance();
             Object returnObject =  fc.getELContext().getELResolver().getValue(fc.getELContext(), null,"data");
             BindingContext bc = (BindingContext)returnObject;
             DCDataControl *dcLookups* = bc.findDataControl("AMName"); The dclookups is null when I try to find an AM from the portalapp but returns the correct value when I try to access an AM from the partapp ( the application which is added as a jar)
    Edited by: janak on Aug 4, 2011 8:31 AM

    As per the documentation (chapter 33) when I add the external library to the project the Datacontrols from the JAR is not appearing in the datacontrols list. When I add the same JAR to a different project it works perfectly as expected.
    In the debug output I get the following
    <BindingContext> <put> [168] BindingContext.put(portalapp_ui_reportsCAIPPageDef, oracle.adf.model.binding.DCBindingContainerReference )
    <BindingContext> <put> [169] BindingContext.put(portalapp _ui_reportsCADSPageDef, oracle.adf.model.binding.DCBindingContainerReference )
    <BindingContext> <put> [170] BindingContext.put(portalapp _ui_feeRecordsPageDef, oracle.adf.model.binding.DCBindingContainerReference )
    <MOMParserMDS> <<init>> [171] MDS parser created
    <JUApplicationReference> <resolve> [172] JUApplicationReference resolving partapp.ui.DataBindings.cpx
    <ContainerDefImpl> <loadContainees> [173] Loading the Containees for the Package 'DataBindings.DataBindings'.
    <ContainerDefImpl> <loadChildContainers> [174] Loading Child Containers for the container 'DataBindings.DataBindings'.
    <JUMetaObjectManager> <registerDefinitionFactory> [175] JUMOM - registering factory: [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', http://xmlns.oracle.com/adf/controller/binding, oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl
    <BindingContext> <put> [176] BindingContext.put(partapp ServiceDataControl@ partapp _ui_DataBindings_cpx, oracle.adf.model.binding.DCDataControlReference )
    <BindingContext> <put> [177] BindingContext.put(partapp _ui_ViewDepartmentsPageDef, oracle.adf.model.binding.DCBindingContainerReference )
    .But in the perfectly working workspace it does not do the <JUApplicationReference> <resolve> [172] JUApplicationReference resolving partapp.ui.DataBindings.cpx

  • Maven and "adf library jar"

    Hi,
    I'm trying to create an "adf library jar" using maven in jdev 11gR2 : how to have the same jar with "jdev deployment" and "maven-->package" ? Is it possible?
    Thanks
    Clément

    Hi,
    In order to determine which jars are needed for ADF, you need to check the dependencies in JDeveloper and write each jar down.
    If by any chance you are using JDev 11.1.3, its the following jars:
    CONTROLLER
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-api.jar                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-rt-common.jar           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-rt-common.jar                           
    MANAGEMENT
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.management_11.1.1\adf-em-config.jar                          
    MODEL.GENERIC
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model.generic_11.1.1\bc4jdomgnrc.jar                         
    ADF.MODEL
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-client.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-share.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-controller-schema.jar                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfdt_common.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adflibfilter.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adflibrary.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar                                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfm-debugger.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfmportlet.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfmweb.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-runtime-mbean.jar                       
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-sec-idm-dc.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adftags.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adftransactionsdt.jar                       
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jhtml.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jimdomains.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jsyscat.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jwizard.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\datatags.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jmxdc.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jr_dav.jar                                  
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\oicons.jar                                  
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\ordhttp.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\ordim.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\rcs-adflib-rt.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\rcsrt.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\regexp.jar                                  
    PAGEFLOW
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-dtrt.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-fwk.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-impl.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-rc.jar                      
    SECURITY
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.security_11.1.1\adf-controller-security.jar               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar                    
    SHARE.CA
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar                          
    ADF.SHARE
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-wls.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar                                
    ADF.VIEW
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-dt-at-rt.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-dynamic-faces.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-changemanager-rt.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-dt-core.jar           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-rt.jar                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-registration.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-templating-dt-core.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-templating-dtrt.jar                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-api-11.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-automation-11.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-share-web.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-view-databinding-dt-core.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-databindings.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-faces.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-facesbindings.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-jclient.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-trinidad.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-utils.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\oracle-page-templates.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-impl.jar                             -Anton

  • How to make ADF application from ADF library jar ?

    Hi all experts,
    We used to make adf library jar from an ADF application in jdeveloper.
    Is it possible to do the reverse of it.
    I need to make a adf application from an ADF libraryjar file.
    Regards,
    Hoque

    its possible to get do the application from an EAR file
    New Galleary - Application - Application from EAR file.Project can be done using WAR file
    New Galleray - Prjects - Project from WAR filefor SOA we can do file - import - SOA Achive into soa project

  • ADF Library Jar: Bundle-Classes-Information for Declarative Component

    Hi,
    when we deploying some adf-taskflows as a adf library jar we can add some content with technical namings and user friendly strings.
    see the good adf code corner example: [url http://www.oracle.com/technetwork/developer-tools/adf/learnmore/52-taskflow-in-lib-169195.pdf]Advanced Tip: Customizing the ADF Task Flow name in the ADF libray (Page 16)
    Is this also possible for declarative components?
    Technology: ADF 11g / JDeveloper 11.1.1.4 / Fusion Stack (ADF BC / ADF Model / ADF Faces)
    best regards
    Martin

    Hi,
    no, unfortunately not
    Frank

  • Creates a ADF Liabrary JAR by using Apache Ant..

    Hi All...
    I am using Jdeveloper 11.1.1.4.0.
    I need to create a ADF library jar file outside of the Jdev by using ANT script(without Ojdeploy) .While creating jar file using Jdev,two files are created .These files are:
    1.task-flow-registry
    2.oracle.adf.common.services.ResourceService.sva
    How to create above menstioned two files by using ANT Script.
    Regards,
    Rengasamy.A

    there is a jar for this file creation, "../Middleware/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-rc.jar". The class that creates task-flow-registry.xml is "oracle.adf.controller.rc.TaskFlowRegistry.class[write(URL taskFlowRegistryUrl)]".

  • Right way to manage ADF Library Dependencies

    Hi,
    I am working on an application where we are trying to components in individual Libraries for re-usability and logical grouping.
    These jar files are then imported into parent projects which can result in different levels of dependency hierarchies.
    From what I have seen there are different ways of importing components / libraries onto a project.
    1. We can directly drag a component like Data control (from Data Control palette) from one project to a page on another (for example from a model project to a ui project)
    2. Deploy the model project as a ADF library jar, go to the resource palette, create a connection, right click on the library and do an add to project.
    3. From the resource palette, expand the library structure, locate the Data control and drag it onto the page of the parent project
    My question is:
    a> What is the difference between these three ways of importing components from one project to the other.
    b> Which is the best way for deployment and future maintenance.
    thanks
    Edited by: user595592 on Aug 12, 2011 5:18 AM

    1. We can directly drag a component like Data control (from Data Control palette) from one project to a page on another (for example from a model project to a ui project)This will be applicable if you have a dependiency.. ro you have an adf library reference for your project..
    datacontrol - Business components referenced in bc4j.cfg
    other datacontrlols will be defined in DataBindings.cpx file
    2. Deploy the model project as a ADF library jar, go to the resource palette, create a connection, right click on the library and do an add to project.This is through file connection.. This is the most prompt way of adding libraries.. to the project.. so that there wont be an absolute references..
    3. From the resource palette, expand the library structure, locate the Data control and drag it onto the page of the parent projectagain same as poiint 2.. but for datacontrol..
    a> What is the difference between these three ways of importing components from one project to the other. point 1 say dependecies.. in a single applicatioon between different project.. absoultely fine..
    point 2.. will alway go with relative path.. and have an advantage of not having absolute path..
    point 3. si same as 2
    b> Which is the best way for deployment and future maintenanceI will suggest you to go for 2.. as its the standard way of adding libraries..

  • Can't create a true ADF Libray JAR FIle

    I created a Model project. Then created an ADF Library JAR File Deployment Project to deploy the jar to the file system.
    I then, created a separate project and tried to add the export jar file to it via a File System connection in the Resource Palette.
    But, when I right click on the jar file in the Resource Palette, I only see 2 options, "Open" and "Advanced Search".
    I expected to have an option to add the jar to the selected project.
    Now, I am able to add the jar to the Project if I go to the projects properites, then add the jar via the "Libraries and Classpath".
    Note that even the icon for the jar is different than those from other System Jar files (the bookshelf/library icon).
    The icon I see for my jar is hard to identify, sort of like a torch.
    So, what is going on?
    I have double and triple checked that my deployment profile is for an "ADF Library JAR File".
    I have deleted the default deployment profile and create a brand new one.
    Still, the same issue.
    Any ideas?
    Thanks in advance.

    When you say you see the XML files for the EOs & VOs do you mean in the resource palette? Never mind, let's take a step back.
    Via the following link this is what you should see for a Model project ADF Library JAR that contains EO/VOs etc:
    https://dl.dropboxusercontent.com/u/12154176/pic01.png
    If you were to right click on the JAR this is what options you should see:
    https://dl.dropboxusercontent.com/u/12154176/pic02.png
    I'd suggest you're still doing something wrong when you create the ADF Library JAR. To assist you via this link:
    https://dl.dropboxusercontent.com/u/12154176/Model.zip
    ...you'll find a previous workspace/project I've setup. If you right click on the Model project look to the Deployment options you'll see an ADF Library deployment profile called "Model_Model_adflib". If you exit out of the preferences, right click Deploy -> select Model_Model_adflib, the appropriate ADF Lib JAR will be created under Model/Model/deploy. Returning to JDev and the Resource Palette, add a file system connection to this deploy directory, then you should see what I see above.
    Let us know how you go.
    CM.

  • ADF Library problem...

    Hi all,
    I hope someone can help me with this. I'm using JDeveloper 11.1.1.2
    I have an application with three projects, two models and a view controller,
    I have business components (Entity Objects) in the first model project deployed to an ADF library which i added to the second model project by creating a new file connection referencing the jar file. This initially worked fine, and in the second model project, I was able to create view objects using the entity object referenced from the ADF library jar file, with LOV's also referencing view objects which are in the ADF library jar file.
    Once I exit jdeveloper and restart however, any attempt to open the view object xml file in the second model project results in the following errors
    Feb 8, 2010 6:40:22 PM oracle.adfmdt.log
    WARNING: JboObject is null forjar:file:/C:/Work/deploy/cBCModelLib.jar!/company/test/model/view/lov/LocationsLVO.xmland
    Feb 8, 2010 6:40:22 PM oracle.jbo.dt.dependency.xdf.Utils getJboBaseObject
    WARNING: JboObject is null forjar:file:/C:/Work/deploy/cBCModelLib.jar!/company/test/model/view/lov/LocationsLVO.xmlWhich are repeated multiple times in the log at the point of opening the xml file (design time, not at run time) and the entity object can no longer be referenced.
    It's as if jdeveloper "forgets" the ADF library reference once the IDE is closed.
    I looked in the Jar file, and all the objects are actually there. the model.jpx files in all the projects are named differently so there is no conflict there. I have tried multiple ways of adding the ADF library
    From the IDE connections
    From project properties->business components-> import
    From model.jpx properties-> import
    From file menu->import
    and as soon as you reload the ide... all the references to objects in the jar file stop working
    Has this happened to anyone else? Is there a solution to this?
    Thanks

    Found it...
    My Mistake.
    I had created the view object in a package that was used by objects in the ADF library, apparently that's not right. Once a package is used in an ADF library, a consuming project is should not (though nothing stops you, and the error message is not very informative) create objects in the same package. It might help if an warning was raised as soon as the view object was created.
    Thanks

  • Image not showing on task flows in ADF Library

    I have a application which uses carousel showing images from blob column. I am using imageservet to show images in carousel component.
    I deployed this app as ADF Library jar and reference that task flow in other application as region.
    All components are working fine except the images on carousel.
    Any ideas ?

    web.xml
      <servlet-mapping>
        <servlet-name>ImageServlet</servlet-name>
        <url-pattern>/imageservlet</url-pattern>
      </servlet-mapping>
      Carousel
    <af:showDetailItem text="Pictures" id="sdi1"
               stretchChildren="first">
    <af:carousel currentItemKey="#{bindings.AgbGrowerImagesVO1.treeModel.rootCurrencyRowKey}"
              value="#{bindings.AgbGrowerImagesVO1.treeModel}"
              var="item" id="c30"
              partialTriggers="::pc1:t1">
      <f:facet name="nodeStamp">
        <af:carouselItem id="ci1">
          <af:image source="/imageservlet?growerimageid=#{item.bindings.GrowerImageId.inputValue}"
              shortDesc="Image" id="i1"/>
        </af:carouselItem>
      </f:facet>
    </af:carousel>
    </af:showDetailItem>Images are showing when I run the page in its original application. Its not showing when I use it in consumer application as adf library.

  • Ant tasks for creating ADF Library

    Created an ADF declarative component, exported it as an ADF library and got it working fine. The ADF Library jar was created within JDeveloper by setting up a Deployment profile. The created ADF Library file has the TLD file and TagHandler / Component class files created on the fly and packaged.
    Not sure of how We could get the same ADF library created by an Ant task. Are there Ant tasks for creating ADF library available? http://www.connotea.org/user/jdeveloper/tag/ant has some details on the JDeveloper based ant tasks but doesn't have details on creating ADF library.

    You can use the ojdeply executable to create and deploy your ADF Library from the commandline:
    <Jdev-install-location>/jdeveloper/jdev/bin/ojdeploy -workspace /mydirectory/yourworkspace.jws -profile yourprofile -project yourproject.jpr

  • Bundeling META-INF\adf\scripts\ or META-INF\adf\images in adf library

    Hi,
    I need to be able to create an adf library that can also include the following directories. This is to include custom converters. I have not been able to do that.
    I can however create a regular jar deployment profile that will contain these directories using filters (include/exclude) but then my converters don't get packaged correctly to be recognized by the property inspector for dev.
    META-INF\adf\scripts\
    META-INF\adf\images
    META-INF\adf\skins
    Thanks in advance.

    Right click and select Project Properties. Go to the Project Source Path --> Resource
    Under Included click on Add. Here you can specify which all files/folders to be included/excluded.
    Now go to Deployment and click on New.
    Select Archive Type = ADF Library JAR File
    Give a name to jar and click Ok.
    Now when you do right click and Deploy on project all the required files you mentioned should get added to your adf jar.
    Amit

  • JDeveloper 11.1.1.5.0 ADF Library task-flow not shown

    fyi
    Please consider the example application created using JDeveloper 11.1.1.5.0
    at http://www.consideringred.com/files/oracle/2011/TestsInADFLibraryApp-v0.01.zip
    (in the context of forum thread "JUnit test classes in ADF Library")
    At some point, working with that application in JDeveloper 11.1.1.5.0, I used the deployment profile "adflibTestsInADFLibraryApp-ViewController-dp" to create the ADF Library "adflibTestsInADFLibraryApp-ViewController.jar" wich seemed to have an issue.
    When in a File System Connection on the Resource Palette, that ADF Library did not show the task-flow(s) it contained.
    But, I can no longer reproduce this. If I now try to do the same, the ADF Library seems to be OK. The only thing I can think of that changed, is that JDeveloper has been restarted (a day later).
    Showing both ADF Libraries in File System Connections on the Resource Palette illustrates this
    at http://www.consideringred.com/files/oracle/img/2011/task-flow-not-shown-jdev111150.png
    When I looked inside the ADF Libraries, the respective "task-flow-registry.xml" files were somewhat different:
    - in the "broken" ADF Library there were lots of XML namespace declarations
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <task-flow-registry xmlns="http://xmlns.oracle.com/adf/controller/rc">
    <task-flow-descriptor xmlns:ns0="http://xmlns.oracle.com/adf/controller/rc" ns0:path="WEB-INF/btf/browse-employees-btf.xml" xmlns:ns1="http://xmlns.oracle.com/adf/controller/rc" ns1:id="browse-employees-btf" xmlns:ns2="http://xmlns.oracle.com/adf/controller/rc" ns2:type="task-flow-definition" xmlns:ns3="http://xmlns.oracle.com/adf/controller/rc" ns3:uses-page-fragments="true" xmlns:ns4="http://xmlns.oracle.com/adf/controller/rc" ns4:library-internal="false" xmlns:ns5="http://xmlns.oracle.com/adf/controller/rc" ns5:train="false"/>
    <task-flow-descriptor xmlns:ns0="http://xmlns.oracle.com/adf/controller/rc" ns0:path="META-INF/adfc-config.xml" xmlns:ns1="http://xmlns.oracle.com/adf/controller/rc" ns1:id="" xmlns:ns2="http://xmlns.oracle.com/adf/controller/rc" ns2:type="" xmlns:ns3="http://xmlns.oracle.com/adf/controller/rc" ns3:uses-page-fragments="false" xmlns:ns4="http://xmlns.oracle.com/adf/controller/rc" ns4:library-internal="false" xmlns:ns5="http://xmlns.oracle.com/adf/controller/rc" ns5:train="false"/>
    </task-flow-registry>- in the "ok" ADF Library there was only one XML namespace declaration
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <task-flow-registry xmlns="http://xmlns.oracle.com/adf/controller/rc">
       <task-flow-descriptor path="WEB-INF/btf/browse-employees-btf.xml" id="browse-employees-btf" type="task-flow-definition" uses-page-fragments="true" library-internal="false" train="false"/>
       <task-flow-descriptor path="META-INF/adfc-config.xml" id="" type="" uses-page-fragments="false" library-internal="false" train="false"/>
    </task-flow-registry>- (q1) How can these not shown task-flows (or its different task-flow-registry.xml file) be explained?
    many thanks
    Jan Vervecken

    Thanks for your reply Chris.
    Chris Muir wrote:
    a) When you say you've "used the deployment profile" I'm guessing you mean within JDeveloper and not via ojdeploy? ...That is correct.
    ... it seems you're doing the ADF Library generation inside JDev, not via ojdeploy via Ant correct? ...That is correct.
    ... (For reference the bug numbers are 10028879, 10028816, 913159). ...On My Oracle Support I have found:
    - bug 10028879, "OJDEPLOY FAILS TO COMPILE/GENERATE TASK-FLOW-REGISTRY.XML WHEN ${USER.DIR} USED" (having "Base Bug 10076058" which does not seem to be published)
    - bug 10028816, "OJDEPLOY FAILS TO GENERATE TASK-FLOW-REGISTRY.XML FOR CASE-INSENSITIVE WIN PATH" (and a patch)
    - for number 913159 I got "No results found" (which might be an unpublished bug, or a wrong number)
    ... by that stage I was sick of logging bugs against ojdeploy. ...Really, where did it hurt. ;-) ... logging bugs should not be a problem ...
    b) Regards the File System Connection in the Resource Palette, are you using an UNC mapping? ...No UNC mapping, just the local file system.
    ... The relating bug numbers are 9340973 and 12940696. ...On My Oracle Support I have found:
    - bug 9340973, "RESOURCE PALETTE FAILURE ON USING NETWORK PATHED FILE CONNECTIONS" (having "Base Bug 12940696" which does not seem to be published)
    - for number 12940696 I got "No results found" (which might be an unpublished bug, or a wrong number)
    So, about "I don't think these are related but let's rule them out", I think those are ruled out.
    regards
    Jan

  • TP4 reusing ADF library migration problem

    Hello,
    I have an application containing multiple Business Components and View Controller projects.
    Common functionality is shared as ADF library between view controller projects. The applicatio was created with TP3 and is working just fine. When ported to TP4, it seems that part of the functionality shared as ADF library is not working.
    To be more specific: the login page is using a backing bean to check the authentication details against the database. The following code is working properly:
            appModule =
                    (ApplicationModule)((DCBindingContainer)getBindings()).getDataControl().getApplicationModule();But, when accessing the BC module from a phase listener using the following code:
            DataControl dc = event.getLifecycleContext()
                .getBindingContext()
                .findDataControl("SharedModuleDataControl"); DataControl is null.
    The same phase listener is working properly when used within the project it was created (and not as imported ADF library)
    Once again, this is happening with TP4, with TP3 everything is working fine.
    Thanks,
    Florin Marcus

    Gabrielle,
    The root of the problem is that JDeveloper makes a copy of the adf-faces-impl.jar in the WEB-INF\lib directory in your project directory. So what was happening is the project contained to old version of this library that still referenced the "selected" attribute. When you built and then ran the project against the new runtime libraries that no longer had this "selected" attribute, the error occurred.
    So the solution to this problem would be for JDeveloper to not copy these libraries into your project directory or to detect that the version has changed and warn you or prompt you to copy the libraries again.
    Jim

Maybe you are looking for

  • Advice needed for a mess of ipods

    the goal: get all music stored in one place, preferably my new ipod. 1) i have a third generation ipod which has the bulk of the music i have listened to for the last five years. that music is in iTunes on a pc laptop that has died. (there's a chance

  • CS4-How do I remove a split screen in the Program monitor window?

    I have Pro CS4 on a vista 64 OS. I am using the Mainstream encoders and my Program monitor window switches to a split screen every time I play the timeline. When I stop the playback, the screen returns to normal full screen with the last frame showin

  • Problem: Create SO with BAPI_SALESORDER_CREATEFROMDAT2 & Head-Text Elements

    Hi all, I hape that sb can help me with my problem. I have created a ABAP-Program to create sales-orders with the function module: BAPI_SALESORDER_CREATEFROMDAT2 Everythiunk works fine but I can not create text-elements (from the head) with this bapi

  • Multiple component view in integration scenario

    Hi   I have <b>multiple component views</b> defined in my integration scenario.   When i try to configure these component view in Integration directory in integration scenarion configurator, if I select the component view i want to apply then the sys

  • Somehow my sound settings have changed somehow

    Was hoping someone can help me on my iPad. I get nothing out of the internal speaker and the volume control when pressed says headphones.