UN-import BC4J components?

I've imported BC4J components into one project from another.
Now I see the package and component xml files under Navigator-->Misc files
How to I remove these imports?
Highlight -- remove from IDE cmd is not active ??
How do I refresh the import inorder to get additional components that are now
in the "from" project's package.xml ?
Thanks,
curt

Curt,
Can you recreate the problem using Emp and Dept tables and describe the steps so I can exactly reproduce what situation you are in?My latest test (live project) is to import components; navigate to the map directory of that
project, walk out to the package dir of my components and click on the package.xml. All components
at that time are then imported and visable under -Miscellaneous Files
- Ok now how to?
- un-important one or all of the components shown under Misc? Highlight and remove is not active.
- refresh the import? You've added new components to the imported pkg.xml. I now want to see the
new compoents?
When JDeveloper is not running, you can carefully edit your .jpr file and remove the <Item> entries (ON A BACKUP COPY) of your Project.jpr file and see if that helps remove them. But to fix the problem we'll need to reproduce it.:) Yes I just was successful at this tact. You forgot to mention having to also hack
src/myProj.jpx
in addition to the myProj.jpr
Then I re-imported and now see the new components that I added to the common project.
Thanks, curt

Similar Messages

  • Importing BC4J Components in 10.1.2

    No matter what I do, I cannot get this to work?
    Always get "Unable to load Business Components. The package xml file is not in the proper package."
    Anyone else having this problem? Even if a create a new 10.1.2 project, create a new VO, rebuild and save all, remove VO from the project and then try to import it, I get this message....
    How do I get this to work?
    Thanks
    Paul

    Is your goal to simply reference them in the new project, or also be able to edit them there?
    By your saying "move" I'm assuming the latter.
    Here's what I would recommend doing.
    Let's say the VO's are VOOne and VOTwo in package "x.y.z"
    And let's say they currently live in a directory like:
    C:\mywork\old_workspace\old_model_project\src\x\y\z
    And you are currently working on a new workspace and a new project whose source lives in:
    C:\mywork\new_workspace\new_model_project\src
    To "move" the bc4j components in package "x.y.z" from the old project to the new project, do the following:
    1. deep-copy the .\x\y\z directory from C:\mywork\old_workspace\old_model_project\src to C:\mywork\new_workspace\new_model_project\src
    2. In the new project, click (+) to add a new element to the project, and select the C:\mywork\new_workspace\new_model_project\src\x\y\z\z.xml file. This is the package XML file for the "x.y.z" package.
    3. Acknoledge the alert that should appear "Add Z as a business components package" (or something similar to that).
    That should do it.

  • Best way to import BC4J projects or packages?

    Hello
    This is a question on how to structure three BC4J Projects, where two of them refer to the third.
    Here is my question:
    I have a project "Model", which contains all entity objects and associations. It represents more or less the data model of the underlying database. This project is a sort of "library-project" which contains the common parts of the two other projects.
    The two other projects "Project1" and "Project2" each contain a set of specific view objects, view links and application modules to do the work they are intended to do. Both of them must import the "Model" project as they use the entity objects and associations, which are defined there.
    If "Model" were just a simple jar file, this would be easy: Just include the jar file as a library, and that's all. But as "Model" is in fact a BC4J project, things are getting more complicated.
    My solution now is to explicitely import all BC4J packages of "Model" to "Project1" and "Project2". This is neccessary in order to be able to refer to the entity objects of "Model" from the Wizards in "Project1" and "Project2".
    But this causes a real mess in "Project1" and "Project2" as all packages defined in Model are explicitely included to theese projects and all of them appear in the Navigator.
    What I really want, is to just include a sort of library (the "Model-Library") and to be able to refer to all BC4J objects defined in this library from the wizards.
    Is there a simple way to achive this? Is there a best way to get as near as possible to this? How do other developers solve this problem?
    Any hints are appreciated
    Frank

    Frank,
    BC4J design time has specific features to support exactly this use case, and your choice of organizing the projects this way is exactly the way the feature was intended.
    Use the BC4J Deployment wizard to produce a simple JAR archive for the "library module" that has your business model (EO's and Assocs)
    Then in Project1:
    [list=1]
    [*]Define a library, say called "BusinessModel" or whatever, that has the above-produced JAR file as its archive
    [*]Make sure "BusinessModel" library is added to Project1's library list
    [*]Use the project-level right-mouse option "Import Business Components..." to import the business module package. This will present a file dialog that allows you to navigate into the JAR file above as if it were a directory and drill down to select the packagename.xml file for the package of components you want to import.
    [list]
    Then, the common business model package (or packages, if required) appear in the system navigator as "read only" components and can be used in the wizards as you build your view and appmodule components in Project1.

  • JDev 10.1.3.3 - issues with imported Business Components

    Hi,
    I have got some issues with importing Business Components in JDev 10.1.3.3.
    I cannot discover/use the imported components.
    What I did is the folowing:
    1. In a existing project I extended the default base-classes to create our own layer
    2. created a project called ModelShared
    2a. configured the project to use the base-classes I created in step 1
    2b. created an entitybased-viewobject (RefCodesByDomain)
    2c. created bc deployment-descriptors
    3. created a project called RelatieModel in the same workspace as ModelShared
    3a. added dependencies to the deployment-descriptors as well as the project created in step 2
    3b. configured the project to use the base-classes I created in step 1
    3c. imported business components
    Although I did not recieve any errors during the import of business components, I am unable to add the vo (RefCodesByDomain) to a service.
    I do see the package which contains the vo but is has no entries.
    Importing the business components to a new BC Project in a seperate workspace did succeed (I could reuse the vo).
    I tested a little further and the folowing occurred:
    4. I created a new vo in the ModelShared Project
    5. I deployed the ModelShared
    6. Restarted JDeveloper
    7. Got the folowing error message in the console window when expanding a service in my datacontrol pallette:
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    1-sep-2008 13:23:27 oracle.adf.dt.controls.DataControlsTreeWillExpandListener treeWillExpand
    FINER: THROW
    java.lang.NullPointerException
            at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.init(JUDTViewReferenceAccessorDefinition.java:108)
            at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.<init>(JUDTViewReferenceAccessorDefinition.java:98)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.createViewObjectDefinition(BC4JDataControlDefinition.java:228)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.addViewObjects(BC4JDataControlDefinition.java:208)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.loadStructure(BC4JDataControlDefinition.java:110)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.getStructure(BC4JDataControlDefinition.java:407)
            at oracle.adf.dt.controls.treemodel.jsr227.JSR227DataControlTreeNode.loadChildNodes(JSR227DataControlTreeNode.java:129)
    8. In my other "fresh" bc project I was able to use the newly created vo.
    9. When I added a VO to my shared project, all projects that are refering to the shared project loose their vo's in the data-controlpannel
    Do you have any suggestions?
    Regards,
    Romano

    Hi,
    since this appears to be a WebCenter related issue, I suggest to try the Webcenter forum WebCenter Portal or to log a bug
    Frank

  • Importing bc4j from jar in project

    Hi,
    since we have a complex application, we want to group application modules logically into smaller modules (submodules), which must be combined to yield more complex modules. Every submodule lives in its own project, so reusing a submodule in a more complex project implies that that submodule must be imported into the project hosting the more complex appmodule.
    Within a project, as soon as a BC4J module has been created (call it the "base module"), the "import business components" option becomes avaiable. With this, BC4J can be imported, e.g. from a jar file.
    Everything works fine, as long as JDeveoper is not exited. The imported views, viewlinks, etc. can be used in the datamodel of the base module, and the tester runs neatly on the compex applicatoin module, as well for the native as for the imported views.
    After the project has been rebuilt, everything has been saved, and JDev is exited, on restart, the imported BC package is still visible, but all views and links belonging to it are now gone, since an error occurs loading the BC4J xml file (strange since at first the xml file could obviously be parsed without problem). I include the error trace at the end of this message.
    Even though an additional classpath to the imported jar file has been set, and a library containing the imported jar has been defined and added to the new project, the load error persists.
    If the bc4j are not imported from jar, but directly, no such error occurs!
    Is this a known problem (in Jdev 9.0.3.1035) and are there any workarounds?
    Alex
    Error trace:
    oracle.jbo.dt.objects.JboException: XML load error. Line number: 1
    Object: [name of imported bc4j xml file]
    Project: [name of project files are imported to ]
    Start of root element expected.
         void oracle.jbo.dt.objects.JboException.throwException(java.lang.String, oracle.jbo.dt.objects.JboNamedObject, java.lang.Throwable)
              JboException.java:81
         void oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(java.net.URL, java.io.InputStream)
              JboPackage.java:727
         void oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile()
              JboBaseObject.java:1874
         void oracle.jbo.dt.objects.JboPackage.loadFromXMLFile()
              JboPackage.java:675
         void oracle.jbo.dt.objects.JboPackage.checkForLoad()
              JboPackage.java:363
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboPackage.findContainedObjectByName(java.lang.String)
              JboPackage.java:352
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboPackage.findObjectByName(java.lang.String)
              JboPackage.java:1480
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboApplication.findContainerChildObject(oracle.jbo.dt.objects.JboPackage, java.lang.String)
              JboApplication.java:733
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboApplication.findObjectByName(java.lang.String)
              JboApplication.java:642
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboApplication.findObjectByName(java.lang.String, oracle.jbo.dt.objects.JboPackage)
              JboApplication.java:614
         void oracle.jbo.dt.objects.JboObjectReference.loadResolveReferencesXML(oracle.jbo.dt.objects.JboBaseObject)
              JboObjectReference.java:179
         oracle.jbo.dt.objects.JboNamedObject oracle.jbo.dt.objects.JboObjectReference.getReferencedObjectInternal(oracle.jbo.dt.objects.JboBaseObject)
              JboObjectReference.java:89
         oracle.jbo.dt.objects.JboView oracle.jbo.dt.objects.JboViewReference.getView()
              JboViewReference.java:53
         java.lang.String oracle.jbo.dt.objects.JboViewReference.getImageLoc(boolean)
              JboViewReference.java:205
         void oracle.jbo.dt.objects.JboAppModule.addStructurePaneNodes(oracle.jbo.dt.system.SysStructureNode)
              JboAppModule.java:1372
         oracle.jbo.dt.system.SysStructureNode oracle.jbo.dt.objects.JboBaseObject.getStructurePaneNode()
              JboBaseObject.java:1627
         void oracle.jbo.dt.ui.main.bced.BceDefTree.addDefTreeObjectNodes(oracle.jbo.dt.objects.JboBaseObject, javax.swing.tree.MutableTreeNode)
              BceDefTree.java:80
         void oracle.jbo.dt.ui.main.bced.BceDefTree.setJboObject(oracle.jbo.dt.objects.JboBaseObject)
              BceDefTree.java:53
         void oracle.jbo.dt.jdevx.ui.JdxExplorer.setContext(oracle.ide.addin.Context)
              JdxExplorer.java:113
         oracle.ide.explorer.Explorer oracle.ideimpl.explorer.ExplorerManagerImpl.getExplorerForHost(oracle.ide.addin.View, oracle.ide.addin.Context)
              ExplorerManagerImpl.java:571
         void oracle.ideimpl.explorer.ExplorerWindowImpl.viewSelectionChanged(oracle.ide.addin.Context)
              ExplorerWindowImpl.java:222
         void oracle.ide.addin.AbstractPinnable.viewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              AbstractPinnable.java:179
         void oracle.ideimpl.explorer.ExplorerWindowImpl.viewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              ExplorerWindowImpl.java:207
         void oracle.ide.addin.AbstractView.fireViewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              AbstractView.java:413
         void oracle.ideimpl.navigator.NavigatorWindowImpl.fireViewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              NavigatorWindowImpl.java:717
         void oracle.ideimpl.navigator.NavigatorWindowImpl$3.viewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              NavigatorWindowImpl.java:997
         void oracle.ide.addin.AbstractView.fireViewSelectionChanged(oracle.ide.addin.ViewSelectionEvent)
              AbstractView.java:413
         void oracle.ideimpl.explorer.BaseTreeExplorer.actionPerformed(java.awt.event.ActionEvent)
              BaseTreeExplorer.java:1677
         void javax.swing.Timer.fireActionPerformed(java.awt.event.ActionEvent)
              Timer.java:150
         void javax.swing.Timer$DoPostEvent.run()
              Timer.java:108
         void java.awt.event.InvocationEvent.dispatch()
              InvocationEvent.java:154
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:337
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85

    There is a bug in 9.0.3 that occurs if the jar file you are importing is on a different drive letter than the one that your project is on. If the jar and your project are on the same drive then everything works ok. If they are not, the symptoms match the ones you are describing. The workaround is to relocate the jar file to the same drive. This has been fixed for future releases.
    Hope this helps.
    Ray

  • "Importing Business Components" Question

    I see no way of updating Imported Project paths through jdeveloper. For example updating the current project which imported common-bc4j-code-2.0.0.jar to common-bc4j-code-3.0.0.jar. The only way we were able to do it is by going behind the scenes and updating the jpr and jpx files. Am I missing something? It would be nice if there were a screen that showed all "Imported Business Components" which gave the ability to modify the path.
    Another problem our team has ran into is the way classpath and libraries are stored in the metadata file. It would be nice if you could define "classpath variables" in jdeveloper so that all developers on the team could create a variable say "EXTERNAL_JAR" and they could have that path point to whatever file directory on there operating system they chose. Maybe jdeveloper has another way to manage this?
    Thanks,
    -mark

    repost =)

  • Sharing BC4J components

    In JDeveloper, I created a project that contains a business component package called "common". This package will contain reusable BC4J components that I want to be used by other projects. What's the best way to do this? Would I just deploy this "common" business component package to a JAR file? Would I deploy it to a JAR file and then bring it into other projects? If so, how can I have an application module in another project recognize these reusable BC4J components so that I can use them? Any best development practices are welcomed.
    --Quoc                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Sharing components is a good design pattern to follow. And from your description, you are already on the right track. Put your shared components in a single project, then deploy the class files to a jar file. In your other projects, add a library containing the jar file(s) that you just created containing your shared business components. Then in the context menu for either the jpr or jpx file, there is a menu item called "Import Business Components..." In the file dialog that comes up, navigate to your jar file and select the package xml file and click ok. This should bring the shared components into your new project, which you can now use freely.
    Hope this helps.
    Ray

  • Error while trying to import Software components from SLD.

    Hi Gurus,
    Need Help.
    When we are trying to import Software components from SLD we are getting following error. Could not read list of software component versions from SLD. In Description  i am getting following two points.
    1. Could not read list of software component versions from SLD (COULD_NOT_READ_SWCV)
    2. User credentials are invalid or user is denied access
    We have tried following
    1. LCRSAPRFC and SAPSLDAPI are working fine.
    2  SLDAPICUST is ok
    3. In nwa connections are available for LCRSAPRFC and SAPSLDAPI.
    Request you to let us know how to resolve this issue.
    Thanks in advance.

    Hello ,
    Can you check below roles assigned to the user id?
    SAP_SLD_CONFIGURATOR
    SAP_SLD_DEVELOPER
    SAP_SLD_ORGANIZER
    Thanks

  • Generate BC4J components from Designer

    Oracle Designer 9.0.2.80.1 vers: 4.0.12
    Oracle SCM RON: 9.0.2.80.1 vers: 4.0.12
    Oracle Jdeveloper 9.0.4.0 (Build 1419)
    I try to generate BC4J components from Designer definitions from SCM.
    In Designer:
    I make workarea (WA27) as rep_owner
    and child application (AP27) below WA.
    I create one table (TABLE1) and one (Java) module to that simple table (TABLE1).
    I check in and out application table and module.
    In JDeveloper:
    I make connection to SCM Database as user rep_owner
    Test succeed and I see below “Connection1”Functions tables , procedures .. of the repository.
    I do not see among tables just created table (TABLE1).
    I make workarea an project below that WA.
    Then I right-click on new project and choose Business Tier/Designer Generation +
    Designer BC4J and click OK
    Designer BC4J Generator Wizard starts
    Wiard continues and I choose to workarea: WA27 and next
    In next phase wizard shows only workarea WA27 not application below that.
    I designer too old or do I need changes to definitions of the repository.

    Language of the module have to be Oracle Forms (not JAVA).
    After change wizard will find that container (= application) AP27 and modude(s) below that. OK!!!!
    Fine !

  • Error when importing ESS components into PRD

    Hi All,
    I am importing ESS components into PRD in NWDI environment. One component goes through with status 'Import finished' but other components give status
    'Outdated'. I see the error log and it is empty. What does 'Outdated' status mean.
    Thanks,
    Tom

    try this... see if it helps
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/5f7ecd8ddc454ca86ff6e53919b0d1/frameset.htm
    T.

  • Import Software Components from within CE/NWDS (NW CE 7.3.x)

    Hi,
    I cannot find a clear statement in the documenation (sap help / nwds inside docu), whether it is possible to import sofware components into the ES-Repository from within the CE NWDS.
    I am unsure, if it is an authorization problem or if one has to make a detour via the Web-Start/Swing-Client just for the import of SWCs into the ES Repository. Any Ideas?
    Thanks
    Chris

    Hello Sheldon, I've seen that you've been pending for an answer for a while.
    The thing is that you do not need to install 7.1 EHP1 with 7.3. It's either one or the other.
    7.3 is an evolution of 7.1 EHP1 and is the new platform on which to deploy MII while 7.1 EHP1 has been around now for a few years.
    Cheers,
    Arnaud

  • How to export and import Portal Components

    Hi,
    I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
    If any can help in this, it will be a great help for me...
    Thanks in Advance...
    Sudheer

    Hi,
    I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
    If any can help in this, it will be a great help for me...
    Thanks in Advance...
    Sudheer Hi Ravikanti,
    Here are two things you can do to get started.. In 9iAS Release 2, Export/Import functionality is provided via a set of export/import utilities included with 9iAS Portal.
    1) If you have not had the opportunity yet, a good place to start is to download and review the Oracle9iAS Portal 9.0.2.2 Export/Import FAQ posted on portalcenter.oracle.com.
    Here is the URL for the Portal 9.0.2.2 Export/Import FAQ:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/DEPLOY_PERFORM/EXPORT_IMPORT_FAQ_1127.HTM
    2) For official documentation on Portal 9.0.2 Export/Import, refer to the Task Help in the Online Documentation for Portal Import/Export (accessible from the question mark help icon within the "Browse Transport Sets" wizard.)
    Best Regards,
    Harry

  • Missing permission to import software components! --- Solved

    Hey,
    Can anyone tell me which roles or groups need to be assigned to a user to be able to import software components from the SLD into the integration repository as well as import external definitions (like xsd etc.) into the repository?!
    Because if I try the import I got an access denied message.
    Thanks
    Matthias
    PS: Solved the problem by giving the user SAP_XI_Developer and SAP_XI_Administrator permission ...
    Message was edited by: Matthias Born

    Hi Krishnan,
    This is an issue of the SP3, you should apply SP4. The better thing is also to apply SP5 and SP9.
    Regards,
    Vincent

  • Removing a BC4J Components

    When we right click on any BC4J components it gives two option 1) Remove from project 2) Remove from disk.
    what is the difference between both of them ?
    Does Remove from disk also remove it from project ??

    The two menu items are very similar and mirror the functionality found in the JDeveloper File menu on the menu bar.
    - Remove from Project will remove the object and its files from the project, but will leave the files on your hard drive, in case you wanted to use them for reference later.
    - Erase from Disk will also remove the object and its files from the project, but will also delete them from the hard drive. This helps to keep your disk a little cleaner by getting rid of files you don't intend to use later.
    Hope this helps

  • Publishing BC4J Components as a Web Services Link????

    Hi,
    can someone give us the link about the tutorial
    "Publishing BC4J Components as a Web Services" for Jdeveloper 10g?
    Thanks

    I copied your question and pasted it to Google. And here is the link
    http://www.oracle.com/technology/tech/webservices/htdocs/series/pattern/
    To use Google for your search, type www.google.com in a web browser URL field. You will be amazed what you find by using it
    Frank

Maybe you are looking for

  • : Cannot find any information on property 'Product' in a bean of type '

    /********jsp file ********/ <%@ page language="java" import="taxrate.*" %> <HTML> <BODY> <jsp:useBean id="TaxRate" scope="application" class="taxrate.TaxRate" /> before modify <br> product :<jsp:getProperty name="TaxRate" property="Product"/> �@ <br>

  • Bug discovered in iphoto 6 after purchasing a book

    Iphoto puts a book thing you can click on, on the right side of the screen after organizing photos and ordering a book. You can click on the book and then at the bottom click on the >> and select play. After a few seconds of music, iphoto locks up th

  • In a update rule, run two data packages ; package by package not secuencial

    HI, my data source is an ods i want to fill other ods. If i have two data packages, with 7000 and 5000 registers i want to run the two datapackages in a secuencial way not parallel. But the init delta doesn´t give me the option of run package by pack

  • SAP XI Acknowledgements

    Hello experts, I am a little confused on how SAP XI acknowledgements work (with asynchronous and synch scenarios) - with and without a BPM process. I know that when you define a sync or async scenario in ccBPM, you have options on how to define ackno

  • Fireworks CS6 "Polygon Lasso Tool"

    (Mac Platform) When using the polygon lasso tool you sometimes you don't like where you clicked and you want to back up a step or two. In photoshop you can back up. How do you do that in Fireworks?