Sitemap

Amicuk Programming Answers

How to use "Add from POM" to add source path and docpath?

2015-10-11   Views:2

Advertisement

Hi My team is developing multiple projects with JDeveloper 11gr2. We share libraries and sources between team members using maven extension for JDeveloper. We deploy class jar, source jar and javadoc jar to repository. The project pom has some depend

Hi
My team is developing multiple projects with JDeveloper 11gr2.
We share libraries and sources between team members using maven extension for JDeveloper.
We deploy class jar, source jar and javadoc jar to repository.
The project pom has some dependency defined as below
<dependency>
            <groupId>com.example</groupId>
            <artifactId>CommonClient</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <type>jar</type>
            <scope>compile</scope>
</dependency>
We use ProjectProperties->Mave->Dependencies->Add from POM button to add dependecies to Project.
The problem is that the class jar is added to the classpath but the source jar and javadoc jar are not.
As a result, Team members cannot see the javadoc in code editor.
Configure IDE libraries is an option but does not work well with maven.
Does anyone know how to add source jar and javadoc jar to project using "Add from POM" button?
Thank you!

The replay answer
Advertisement
Hi ,
Sample code snippet for GET_RELATED_CONTENT is as follows :
dataBinder.putLocal("IdcService", "GET_RELATED_CONTENT");
dataBinder.putLocal("dSource","CS");
dataBinder.putLocal("dID","3202");
dataBinder.putLocal("dLinkTypeID","1");
serializer.serializeBinder (System.out, dataBinder);
// Send the request to Content Server
ServiceResponse response = idcClient.sendRequest(userContext,dataBinder);
// Get the data binder for the response from Content Server
DataBinder responseData = response.getResponseAsBinder();
// Write the response data binder to stdout
serializer.serializeBinder (System.out, responseData);
// Retrieve the SearchResults ResultSet from the response
DataResultSet resultSet = responseData.getResultSet("RelatedContent");
// Iterate over the ResultSet, retrieve properties from the content items
for (DataObject dataObject : resultSet.getRows ()) {
System.out.println ("Related ContentID is : " + dataObject.get ("dDocName") );
Point to note is :
dLinkTypeID is set to 1 . Reason being that the rendition related content is used to link items . So looking for those related items which are as Renditions .
This value would be as follows :
dLinkTypeID Related content type
1 Rendition
2 Supersedes
3 Has Supporting content
4 Cross References
2 more sub types are :
Supports - dLinkTypeID=3 and extraparameter is isGetParents=1
Cross Referenced By - dLinkTypeID=4 and extraparameter is isGetParents=1
Hope this helps .
Thanks,
Srinath

Go to See the other 5 answers

How to use "Add from POM" to add source path and docpath?

Category:DefaultRelease time:2015-10-11Views:130

Hi My team is developing multiple projects with JDeveloper 11gr2. We share libraries and sources between team members using maven extension for JDeveloper. We deploy class jar, source jar and javadoc jar to repository. The project pom has some depend[More]

Where Should I add the path of Down loaded librearys before working on form

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, This is Narendra. I am working on oracle apps technical. I have been working on reports,have little Knowledge on forms. After Instaliation before working on forms we have to down load librearys in to local mechian and add that path at some wh[More]

How to add simple path in exec command??

Category:DefaultRelease time:-0001-11-30Views:130

Hello friends...want some help on "How to add simple path in exec command?"Because on linux each time username changes I will have to change username in exec command.Please help me. My code for java on linux is Runtime r4=Runtime.getRuntime();  [More]

How to add source database

Category:DefaultRelease time:-0001-11-30Views:130

On source database server have 4 instances. I already install Oracle Audit Vault Agent on that server. And when I add source user on source DB, I can't found all DV role(ex. DV_ACCTMGR) My step is On Server1(Audit Vault Server) - Install Oracle Audit[More]

How to Add another path to UTL_FILE_DIR in 9i

Category:DefaultRelease time:-0001-11-30Views:130

Hi, How can we add another path to an existing UTL_FILE_DIR value in Oracle 9i? Can we do this Dynamically so that it doesn't require a DB bounce Thanks in Adv Srikanth TirandasHi 397779 you can repeat that parameter in the parameter file several tim[More]

Add source file name to output table

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am trying to pull data from Azure blob to On Premises SQL Database. I have emp file that have three columns (Id, FirstName, LastName) and SQL table has five columns (Id, Firstname, LastName, SourceFileName, Lastmodifieddatetime). Is there any w[More]

How can we add source field data in to receiver JMS header

Category:DefaultRelease time:2015-10-11Views:130

I have a scenario called  IDOC(ECC System) or PROXY(SRM System) to JMS(Only one Queue).                 ECC(Idoc) and SRM(Proxy)   - XI  -   JMS In the Idoc and proxy we have a field called Source System. If it is a Idoc then this source system field[More]

Is it possible to add UNC paths to the favorites menu with a batch script?

Category:DefaultRelease time:2015-10-11Views:130

Hi all, at present the office I work in uses mapped drives, this works well for people in our office but one people talk with the other offices things go south as they have no idea what a t drives is. So I would like to move my users away from the ma[More]

Preferences: Code Editor: Printing:  Add File Path and Date to Print Header?

Category:DefaultRelease time:2015-10-11Views:130

Is there a way to add file full path and date to the print file header for a SQL Worksheet when printing from the Code Editor?  So, for example, if my SQL worksheet is called MySQL.sql and is saved to C:\Myfiles\SQL_Code\, I'd like to print the full[More]

[Solved] How do I add a PATH to a PKGBUILD?

Category:DefaultRelease time:2015-10-11Views:130

I'm trying to add a binary PATH to a PKGBUILD and am not sure how to do this.  The only experience I've had with PATHs is through my bashrc so I'd like to learn how to do this so that it stay persisitent (i.e. through restarts logoffs and such).  The[More]

How to add  source message filed value in dynamic generated xml file ??

Category:DefaultRelease time:2015-10-11Views:130

Hi Friends.. in my idoc to file.... i want to add one of my source idoc fields value in the dynamic generated file.... filename _field.xml... so how to get that filed value in java section ... i am not using that field in mapping.. please help me...[More]

Hot
I have music files on my iPhone that I fear will be lost when I first sync with iTunes on my new Mac Book. When I try to sync a msg pops up saying that all music on the iPhone will be deleted and replaced by the selected music from my Mac Book. Is th [More]
Hi, in my CS3 VB Script there is a a statement: myParaStyle.KerningMethod = "Optical" this code runs unter CS3 with English and German version of InDesign unchanged. Now, with CS4, InDesign wants as parameter the strings "Optical" for [More]
Hi, I've upgraded my MacBook Pro from Tiger to Leopard and I do have a registered Quicktime Pro 7 license. The QuickTime tab shows me that it's a Pro version. However, if I am trying to play full screen videos in iTunes I just see the mini video in t [More]
Ever since I updated Safari (Version 6.1) it keeps crashing: websites turn upside down when scrolling down, sometimes when I switch tab or open a new one it's like Safari is jumping, Cmd+F doesn't always work (it finds only one or two results normall [More]
Hi there I have a script which scrolls a larger image using the scrollrect function. when you click on the left mouse button the image is enlarged or zoomed into. but it loses the position that you originally clicked on. i guess i have to update the [More]
Hi guys, I tried to install a fresh copy of Windows Enterprise 7 64 bits, in my new laptop. I reinstall all drivers recommended in lenovo support (all) but in device manager window continues with yellow Base System Device message. These are the list [More]
is there a maximum number of photos that you can upload into an iPhoto book from an album? trying to make a book and only some of the photos from my album are thereNo There is a maximum numb of pages in a book (100 pages) and the larges page I am awa [More]
Hi there, Im not able to reactivate my Ipad2 w 7iOS after I backed all on icloud&erased all content&settings.It showed its linked to my apple id (showing the first letters of my apple id/email address) when I wanted to set it up. When I tried to l [More]
In a tabular layout form, when I insert a record, I want a database item, for example b1.aa ( b1 is the database block) to begin with 1( if there are no records inserted yet) and increases automatically, like a sequence. 1,2,3, 4 .... how can I do th [More]
How do you sync music from pc to ipad pc saying 10.7 version and asking ipad to update itunes but saying no update availableIf you are trying to sync them to the iBooks app on your iPad and they are in your computer's iTunes library (if not then you [More]