On 16.11.2011 11:45, Gandhi, Shailey wrote:

I would not be able to send the code due to confidentiality concerns.

However , here are a few more facts this might help you figure out whats going wrong.

The source control tool we use is not integrated with this installation, so I basically copied the code into the opengrok folder and it

exists as flat files in that directory.
After copying the code I ran OPENGROK_CONFIGURATION=./etc/config.sh bin/OpenGrok index

I got some warnings like :

Warning could not identify file; invalid argument


Well, not much, Opengrok also produces logs, so you can try to look for hints there (/var/opengrok/log) it might be it will say that it's not able to run exctags or something like that ... hmm?

--
L

Hope this gives you some idea.

Thanks

Shailey

*From:*Lubos Kosco [mailto:lubos.ko...@oracle.com]
*Sent:* Wednesday, November 16, 2011 3:56 PM
*To:* Gandhi, Shailey (GWMG Technology)
*Cc:* opengrok-discuss@opensolaris.org
*Subject:* Re: [opengrok] Unable to get Definition Search to work on a new installation

On 16.11.2011 11:17, Gandhi, Shailey wrote:

OS is Linux

I have ctags under /data/ccmdb/shared/bin

The path is added in config.sh

======

# REQUIRED: Exuberant CTags (http://ctags.sf.net)

EXUBERANT_CTAGS="${EXUBERANT_CTAGS:-$SHARED_HOME/bin/ctags}"

========


hmm, then you should have the definition working unless you're hitting some bug

if you can send over the affected file, or at least the problematic code fragment I can try indexing in my test setup

--
L


Shailey

*From:*Lubos Kosco [mailto:lubos.ko...@oracle.com]
*Sent:* Wednesday, November 16, 2011 3:41 PM
*To:* Gandhi, Shailey (GWMG Technology)
*Cc:* opengrok-discuss@opensolaris.org <mailto:opengrok-discuss@opensolaris.org> *Subject:* Re: [opengrok] Unable to get Definition Search to work on a new installation


Well, I miss the OS you use,
but exctags can be found here:
http://ctags.sourceforge.net/

e.g. on windows or solaris you need to build them, most linux distros have them ...

PATH on windows is in %PATH% , in *nices in $PATH , su - username can be used to switch to other user

xing the fingers
L

On 16.11.2011 10:57, Gandhi, Shailey wrote:

How do I check if exuberant ctags in the path of indexer / webapp ?

I am new user, can anyone help me figure it out.

Shailey

*From:*Lubos Kosco [mailto:lubos.ko...@oracle.com]
*Sent:* Tuesday, November 15, 2011 8:25 PM
*To:* Gandhi, Shailey (GWMG Technology)
*Cc:* opengrok-discuss@opensolaris.org <mailto:opengrok-discuss@opensolaris.org> *Subject:* Re: [opengrok] Unable to get Definition Search to work on a new installation


Depends which language is it.
Not all languages are supported, but most common are (quick analyzer look to see which are supported see: http://src.opensolaris.org/source/xref/opengrok/trunk/src/org/opensolaris/opengrok/analysis/ )

If you can send the file which has problems I can try to see why it has probs
(e.g. is exuberant ctags in the path of indexer / webapp ????? )

cheers
L

On 15.11.2011 15:49, Gandhi, Shailey wrote:

Hi

I have installed opengrok -0.10 and it's a plain installation with no customization.

I am unable to get the definition link to work , using the cross reference.

Please let me know if I need to make any changes for this to start working.

Shailey

------------------------------------------------------------------------

NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.






_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org  <mailto:opengrok-discuss@opensolaris.org>
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

------------------------------------------------------------------------

NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.





_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org  <mailto:opengrok-discuss@opensolaris.org>
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

------------------------------------------------------------------------

NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.




_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org  <mailto:opengrok-discuss@opensolaris.org>
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

------------------------------------------------------------------------
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.

_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to