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
Dear All Delivery date in sales order should automatically changed or by defalt it should be after 2 days of creating the sales order. I have tried with lead time period and the ways given in the forum, but the schedule line/delivery date is by defau [More]
hi - I am using a 3TB external hard drive to back up my mac with time machine. I have partitioned the external hard drive so that 2TB backs up my mac and the remaining 1TB (well slightly under 1TB) is used to store media files. So far so good, everyt [More]
I just got the iPad. Am using a PC with Windows 7, 64 bit. When I try to sync selected photo folders, sync begins, but never ends. I have to manually stop the sync, and none of the photos are copied. If I try to sync the iPad without photos, it works [More]
Hi Experts, I would like to know from where I can have free download for flat files to XML conversion module which I can test in development server. Your help will be well appreciated. Thanks and Regards, Praveen.u have file adapter with FCC which do [More]
Hi All, I want to know whether std process is available in ECC6.0 for capturing <b>Ecess</b> as I am not able to capture it while capturing Vendor's Excise Invoice. (It is being calculated in PO) Best Regards KrishnaHi In std SAP ECC 6.0, Eces [More]
hi all, Due to some reason SXMB_MONI is displaying ERRORS only even if I select all the messagse. Is there a config setting that need to be changed ? Please advise, Thanks. FSOn SXMB_MONI Screen, Make VIEW Button = Standard Make Length of Output List [More]
Hi everyone, I create da dropdownlistbykey and its value is bound to a simple type I created in the dictionary. I am not able to set the leading selection to position 1 which is the frst value defined in the disctionary. Here is the details of the no [More]
Hi, I ran a virus scan and Malware found in .MobileBackups/ folder as well as Time Machine Backups.  I partitioned the backup drive and deleted all the previous backups, then re-ran the scan.  Now the same virus (Trojan.Script.171700) is showing in t [More]
Hi, I am currently doing a project on 3D java. I have created 3D color cube and i am planning to put movable image icon on the cube so that i can move the image icon to anywhere on the cube. The color cube can be rotated, translated and zoomable. Las [More]
Could somebody advice me on a few [top]names of Societies or Organizations for Software Developers ? I am looking to join a Society that is either national or global and which holds meetings once or twice a year, and which is not specific to a vendor [More]