Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07585D222 for ; Fri, 16 Nov 2012 09:49:19 +0000 (UTC) Received: (qmail 86768 invoked by uid 500); 16 Nov 2012 09:49:18 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 86408 invoked by uid 500); 16 Nov 2012 09:49:17 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 86324 invoked by uid 99); 16 Nov 2012 09:49:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 09:49:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.215.47] (HELO mail-la0-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 09:49:08 +0000 Received: by mail-la0-f47.google.com with SMTP id u2so1862965lag.6 for ; Fri, 16 Nov 2012 01:48:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=UPkaZLpSjIVLRrfRMOHhmWqzVrzUMVna8//TCNIkP8A=; b=ovI8NPSy3z9rQFYCk7bTdLCJrwpoJ2GrGgUcK+4jP8Mce23CXWaOqhZEHBxCYyFb/M fw9YNCykne3pEMeuBe3aMqYQ80k9CWLZmsY0XpvvEygqupbm6W60lM0S5aqolJI4uXbl /UeXl6oytQwTInCeqzwxihvy6dIHJQ/p39bpWz5WVI+SzyNL9gO6qYLDCE/bzurSbRK7 /GlP2wjucGd+CGsFUJdMMoWDpLV4pnuPLuCHpkrucZvhVjLpdYieoDth83Jmln7feV5L IX9brcDLe7EoG1jrh98yZCYQuECcYHWTobFoxjEop+qFwOxBZFzB3am5ufMhw4n0GxU9 BPjQ== MIME-Version: 1.0 Received: by 10.112.49.97 with SMTP id t1mr1680149lbn.4.1353059326626; Fri, 16 Nov 2012 01:48:46 -0800 (PST) Received: by 10.112.150.227 with HTTP; Fri, 16 Nov 2012 01:48:46 -0800 (PST) Received: by 10.112.150.227 with HTTP; Fri, 16 Nov 2012 01:48:46 -0800 (PST) In-Reply-To: <1353056246.15249.YahooMailNeo@web161205.mail.bf1.yahoo.com> References: <1353056246.15249.YahooMailNeo@web161205.mail.bf1.yahoo.com> Date: Fri, 16 Nov 2012 01:48:46 -0800 Message-ID: Subject: Re: How to enable source in Eclipse? From: Tony Su To: Yasen Kiprov , user@uima.apache.org Content-Type: multipart/alternative; boundary=bcaec553ff02860d4e04ce99ac1c X-Gm-Message-State: ALoCoQm8UPNC3/6+xk4EI7aymyQoolhWRpuH5chy0vEo2dWy8rCDIv4VeYrV0kT0klMyW1Dr2uz1 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec553ff02860d4e04ce99ac1c Content-Type: text/plain; charset=ISO-8859-1 Cool. Thx, will try your approaches. Tony On Nov 16, 2012 12:57 AM, "Yasen Kiprov" wrote: > Hi Tony, > > I don't know about the addSourceToJARS.sh but here is what I did: > > - Build your project with maven depending on the UIMA jars > - Download the source > - Start your project in debug and step into a class from the UIMA jars > - Eclipse says "Source not found" or something and has a button "Edit > Source Lookup Path" > - One option here is to add a java classpath variable which points to the > root of the UIMA sources, Eclipse should handle the directories correctly. > > Another thing I tried was to build and add the UIMA source projects in > Eclipse with mvn eclipse:eclipse in the UIMA sources root and then let my > project depend on the Eclipse projects (I think mvn eclipse:eclipse does > this automatically if it finds the projects). This went a bit heavy for my > Eclipse though. > > Hope this helps, > Yasen > > > > > ________________________________ > From: Tony Su > To: "user@uima.apache.org" > Sent: Friday, November 16, 2012 1:33 AM > Subject: How to enable source in Eclipse? > > The official documentation says there should be an addSourcetoJARS.sh in > the root directory of the source package but is missing. > > I also found a Forums thread in 2008 which speculated/suggested removing > this script-based approach in favor of using Maven only. > > What should be the proper approach? > > TIA, > Tony --bcaec553ff02860d4e04ce99ac1c--