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
For some reason, GIF animations aren't repeating for me ... I see one rotation of them, then it just stays still. Which is a pain. Hoping someone knows a fix of some kind!Gentlemen, I very much appreciate what you're trying to do, but I know enough a [More]
Hi Guys, We have recently moved to ISE 1.2 (distributed deployment on UCS C220 blades) from ACS 5.x. We are seeing Avergage Auth response time ~150ms in each PSN nodes (4 in total) & wonder whether this is too slow. Is this normal or we should have m [More]
Hi All, I need to use the Existing Hibernate API's and pass it on to the JCAPS oracle eWay to persist the Data. As the present Application is using the Hibernate for persisting the Data as we have parent child relation with multiple tables , so we ne [More]
Does anyone know what might be causing scrambled text in mail. I recently installed some fonts and I'm thinking that may have caused this. Check out the screenshot: http://www.flickr.com/photos/[email protected]/2426367911/ I installed a lot of fonts so I [More]
Hi, Internal Audit dept has requested a bunch of information, that we need to compile from Task Audit, Data Audit and Process Flow History logs. We do have all the info available, however not in a format that allows proper "reporting" of log inf [More]
I have translated an INX export from CS4 in Trados 8, and now it is not possible to import the target INX in CS4 again. I have done this many times before and it never presented a problem like this, the target INX files always opened ok in CS4 again. [More]
Video will not open. OS 10.6.8, safari 5.1.10. problem is very noticeable when opening youtube main page. stalls complete system. tried reloading most recent version of flash. Activity monitor identifies all memory is being used to open page, no proc [More]
first of all i update my iphone 4 from 4.3.2 to ios5 beta 5 with udid activation. and when the ios 5 is official lauching i download and update it...im using it for a day after the next day dont what happen it restart automatically. and the content s [More]
Hi all, Is there major differences between microsoft bpc 5.0 version with 7.0 version. Can anyone pls let me know the technical aspects like and the functional aspects of differences too? Thanks PoojaFrom a technical point of view, the version 7.0 su [More]
Hello everyone! Is there anything such as a command you type in the FireFox Navigation Toolbar to see the JavaScript debugger in FireFox? Thanks everyone! PatrickHi Download the firebug add-on for firefox - https://addons.mozilla.org/en-US/firefox/ad [More]