The original message was received at Fri, 10 Aug 2012 08:14:49 +0200 (CEST)
from trex [141.44.21.189]

   ----- The following addresses had permanent fatal errors -----
<opengrok-discuss@opensolaris.org>
    (reason: 554 5.7.1 Service unavailable; Client host [141.44.21.13] blocked 
using list.dsbl.org)

   ----- Transcript of session follows -----
... while talking to mail.opensolaris.org.:
>>> DATA
<<< 554 5.7.1 Service unavailable; Client host [141.44.21.13] blocked using 
list.dsbl.org
554 5.0.0 Service unavailable
<<< 554 5.5.1 Error: no valid recipients
Reporting-MTA: dns; cs.uni-magdeburg.de
Received-From-MTA: DNS; trex
Arrival-Date: Fri, 10 Aug 2012 08:14:49 +0200 (CEST)

Final-Recipient: RFC822; opengrok-discuss@opensolaris.org
Action: failed
Status: 5.7.1
Remote-MTA: DNS; mail.opensolaris.org
Diagnostic-Code: SMTP; 554 5.7.1 Service unavailable; Client host [141.44.21.13] blocked using list.dsbl.org
Last-Attempt-Date: Fri, 10 Aug 2012 08:14:54 +0200 (CEST)
--- Begin Message ---
On Thu, Aug 09, 2012 at 08:42:19AM +0200, Lubos Kosco wrote:
>    We generally use Netbeans(where it should be straightforward, I just pushed
>    some code/did testing/rebuilt webapp yesterday), but Jens did some Eclipse
>    porting, so he might help, Jens?

Well, it is pretty easy and not different to other projects in your
eclipse. The easiest way is to checkout opengrok from within eclipse. 
The MercurialEclipse makes handling hg repos easy (update site
http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable/
). Otherwise, if you have already cloned the repo or downloaded the
source tar ball, just import the project as usual via File | Import.

What you probably need to adjust is .classpath  (the location of your
ant.jar) and the lucene jar version, depending on what you have.
You can also import
http://src.opensolaris.org/source/xref/opengrok/trunk/userlib-jasper.eclipse
which makes the relevant pathes wrt. servlet container as the named set
availablei (Window | Preferences | Java | Build Path | User Libraries -
Import). If you use a recent glassfish, it should look like this:
http://src.iws.cs.ovgu.de/source/xref/opengrok-jel/eclipse/userlib-jasper.eclipse
and .classpath likes this:
http://src.iws.cs.ovgu.de/source/xref/opengrok-jel/.classpath

To avoid tab screaming ;), you can import the code style
http://src.iws.cs.ovgu.de/source/xref/opengrok-jel/eclipse/codestyle-jel.eclipse.xml
via Project | Properties | Java Code Style | Formatter  - Import...
and use this one (named opengrok) for this project.

The Project | Properties | Java Compiler - Compiler compliance level
should be set to 1.6 or better.

You may also put the *.launch files into a project subdir (e.g.
eclipse), than you have a start for running the main tasks of opengrok ...

>    On 9.8.2012 7:28, Dongfei Tan wrote:
> 
>    I want to learning the OpenGrok.
>    When I downloaded the source [3]opengrok-0.11.1-src.tar.gz
>    I tried to open the Workspace in Eclipse 3.2.  Open failed.

Hmmm, 3.2 is rather old. As a developer you shouldn't such ancient
software. Upgrade at least to 3.8 or better 4.0 (Juno).

>    How to debug it?  maybe in other IDE or other version of Eclipse?

When the *.lauch files are imported, you can just use Run | Debug
Configurations... and select "opengrok src" to start remote debugging of
glassfish (set a breakpoint in PageConfig, e.g. canProcess()) or select
"opengrok - Indexer" to start debugging Indexing (set a breakpoint e.g.
in Indexer's main()). You need to adjust he settings of course to match
your environment ...

Have fun,
jel.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768

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

Reply via email to