Konovalova, Svetlana wrote:
Nadya,

AFAIU the given page is purely classlib-oriented...though I might be
wrong here. It provides info on how to set up Eclipse to develop Java code in
Harmony and IMHO doesn't include any tips applying to harmony code in
general.
I absolutely agree with you that we should have one page describing how
to work with harmony code in Eclipse. It goes without saying that we
need to update info and the help from engineers' side is of great
importance here. You might know that there is a brief webcast for those
who want to see a step-by-step guide to configuring Eclipse. On the one
hand, it's great, but on the other hand, many screenshots can quickly
become outdated. IMHO it's rather complicated to update the video. What
would you say? Should we keep it as it is?

Is it actually out of date?



Cheers,
Sveta

-----Original Message-----
From: Morozova, Nadezhda [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 6:45 PM
To: harmony-dev@incubator.apache.org
Subject: RE: [build] Building on Eclipse - FYI

Sveta,
I've taken a brief look at the patch, and I like most of your
corrections. The page looks neater this way, and holds important data.

One question: can't we say that some of the tips given on the page apply
to harmony code in general, not just classlib? So a side idea would be
to have one page: how to work with harmony code in Eclipse. What do you
say? Thank you, Nadya Morozova
-----Original Message-----
From: Konovalova, Svetlana [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 6:23 PM
To: harmony-dev@incubator.apache.org
Subject: RE: [build] Building on Eclipse - FYI

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:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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




Reply via email to