Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 39864 invoked from network); 30 Oct 2006 17:14:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2006 17:14:30 -0000 Received: (qmail 19666 invoked by uid 500); 30 Oct 2006 17:14:28 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 19634 invoked by uid 500); 30 Oct 2006 17:14:28 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 19583 invoked by uid 99); 30 Oct 2006 17:14:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 09:14:28 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of sianjanuary@googlemail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 09:14:13 -0800 Received: by ug-out-1314.google.com with SMTP id y2so1455312uge for ; Mon, 30 Oct 2006 09:13:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=iSaXAo2dDzBbwIsXAaN9uWmTfz2S57CportZO3rS0d5sX4bydj8x4sVciWrYRWXxdHJfIV54j00WPV8Y9JppyzVp73HDlkXDJDnncqJOTl28ba+G28hh3BCLBA8CUjIDB3kxFlLjk7pTHmXHeB6dXkI71NIv85agN64nQxvOpMo= Received: by 10.78.136.9 with SMTP id j9mr5243128hud; Mon, 30 Oct 2006 09:13:51 -0800 (PST) Received: by 10.78.178.19 with HTTP; Mon, 30 Oct 2006 09:13:51 -0800 (PST) Message-ID: Date: Mon, 30 Oct 2006 17:13:51 +0000 From: "Sian January" To: harmony-dev@incubator.apache.org Subject: Re: [build] Building on Eclipse - FYI In-Reply-To: <32CD23D8C6B1454C9120C1525D521D6765C34C@nnsmsx411.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_65446_13073958.1162228431081" References: <32CD23D8C6B1454C9120C1525D521D6765C34C@nnsmsx411.ccr.corp.intel.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_65446_13073958.1162228431081 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sveta, Thanks for doing that - I have had a look through your patch and it looks really good. Your suggestions for changes to the DRLVM document look good too. I couldn't really find any good links for getting started with Java programming in Eclipse on their website, the only thing that came close was this - http://help.eclipse.org/help32/index.jsp, which has some getting started tutorials within the page. There might be some better articles out there on other sites though, or we could just direct people to the help system or 'cheat sheets' within their Eclipse installation. Thanks, Sian On 30/10/06, Konovalova, Svetlana wrote: > > Sian, > > Taking into consideration your comments, I've opened a new JIRA issue > [http://issues.apache.org/jira/browse/HARMONY-2009] and have created a > patch for the page "Developing Apache Harmony Class-library Code with > Eclipse". Would be great, if you find a chance to look it through. > Hope we'll continue working at developing this aspect of documentation. > :) > > Cheers, > Sveta > > -----Original Message----- > From: Sian January [mailto:sianjanuary@googlemail.com] > Sent: Friday, October 27, 2006 3:34 PM > To: harmony-dev@incubator.apache.org > Subject: Re: [build] Building on Eclipse - FYI > > Hi Sveta, > > That sounds like a great idea. I think the two main things you need to > do > extra on Eclipse on Windows are as follows: > > 1. Make a copy of vsvars32.bat from your Visual Studio install > directory. > If you have chosen the defaults when installing you will find it in > "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools". > Copy it > to somewhere convenient such as the desktop and add the following line > (just > below the last line that begins "@set..."): > start C:\...\eclipse\eclipse.exe -vmargs -Xmx512M > (where ... is the path to your eclipse installation). NB. using > "-vmargs > -Xmx512M" is optional, but helpful to stop Eclipse running out of > memory. > Now just double click on this file to start Eclipse. > > 2. After you have started Eclipse and checked out Harmony from SVN, copy > ecj_3.2.jar into ..\eclipse\plugins\org.apache.ant_1.6.5\lib and change > the > Ant settings to include this jar (Window > Preferences > Ant > Runtime > then > select 'Global Entries' then 'Add External Jars' and add ecj_3.2.jar > from > the org.apache.ant_1.6.5\lib directory). > > If you're happy to add that to the document that would be great. > > On Linux you will also need to do 2, but I'm not sure if there's an > equivalent to 1 or not. Has anyone else tried building in Eclipse on > Linux? > > Thanks, > > Sian > > > On 26/10/06, Konovalova, Svetlana wrote: > > > > Folks, > > > > I see that we do need one more building doc describing Eclipse > > specifics. > > The main doc containing building instructions now is the "Getting > > Started for Contributors" page. > > [http://incubator.apache.org/harmony/quickhelp_contributors.html]. > > My suggestion is to add one more section to it describing building > > instructions for Eclipse. How about that? > > > > If you need my help, I'll be glad to manage the doc creation:) > > > > Cheers, > > Sveta > > > > -----Original Message----- > > From: Sian January [mailto:sianjanuary@googlemail.com] > > Sent: Thursday, October 26, 2006 4:06 PM > > To: harmony-dev@incubator.apache.org > > Subject: Re: [build] Building on Eclipse - FYI > > > > Hi Nathan, > > > > Yes - I was trying to run the enitre build in Eclipse and this is > always > > my > > preferred method of building. There is at least one other extra step > > apart > > from the one discussed in this thread so I think some additional > > documentation would be useful. > > > > Thanks, > > > > Sian > > > > > > > > On 25/10/06, Nathan Beyer wrote: > > > > > > Are you referring to running the build scripts via Eclipse? Just > > > wanted to make sure I understand. > > > > > > Personally, I only import the module projects one at a time and run > > > the full builds outside of Eclipse, so I've never tried this. > Perhaps > > > some additional documentation on using Eclipse in this fashion. This > > > might be helpful additionally. > > > > > > On 10/24/06, Sian January wrote: > > > > Hello, > > > > > > > > I encountered a problem today building on Eclipse, and I just > > thought > > > I'd > > > > post about it here in case anyone sees the same problem in the > > > future. I > > > > was getting the error: > > > > > > > > > > > > BUILD FAILED > > > > * > > > > > > > > C:\eclipse32harmony\eclipse\workspace\Harmony\build.xml:108: The > > > following > > > > error occurred while executing this line: > > > > > > > > > > C:\eclipse32harmony\eclipse\workspace\Harmony\make\build-java.xml:127: > > > The > > > > Eclipse compiler class for Ant could not be found. Please place > the > > ECJ > > > JAR > > > > in ANT_HOME/lib. The JAR can copied from > > > CLASSLIB_TRUNK/depends/jars/ecj_3.2 > > > > folder after the fetch-depends target has been run. > > > > * > > > > > > > > The solution to this is to copy ecj_3.2.jar into > > > > ..\plugins\org.apache.ant_1.6.5\lib and *also* change the Ant > > settings > > > to > > > > include this jar (Window > Preferences > Ant > Runtime then select > > > 'Global > > > > Entries' then 'Add External Jars' and add ecj_3.2.jar from the > > > > org.apache.ant_1.6.5\lib directory). > > > > > > > > I don't know if many people build on Eclipse, and I know there > have > > been > > > > some conversations about having too many instructions on the > > website, > > > but > > > > since the steps are slightly different for Eclipse I wondered if > it > > > might be > > > > worth augmenting the instructions or adding some Eclipse-specific > > ones > > > at > > > > some point? > > > > > > > > Sian > > > > > > > > -- > > > > Sian January > > > > > > > > IBM Java Technology Centre, UK > > > > > > > > > > > > > > > > > > > -- > > Sian January > > > > IBM Java Technology Centre, UK > > > > > > -- > Sian January > > IBM Java Technology Centre, UK > -- Sian January IBM Java Technology Centre, UK ------=_Part_65446_13073958.1162228431081--