harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tharindu Mathew" <mcclou...@gmail.com>
Subject Re: source code into eclipse
Date Thu, 03 Apr 2008 10:46:06 GMT
Everything works in eclipse now, and can debug... ALll ready to start
digging into the problem

On Wed, Apr 2, 2008 at 3:11 AM, Alexei Fedotov <alexei.fedotov@gmail.com>
wrote:

> Tharindu,
>
> Setting the project jdk to HDK resolves debugging problem as well
> library problems. For example, if I live in 94/trunk, I go into build
> path configuration -> jre system library -> installed jres -> add new
> jre -> specify the jre dir 94/trunk/target/hdk/jdk (this adds all jars
> including icu jar) -> roll the process back. The default project jre
> in a debug dialog becomes the project jre.
>
> When I need to update a project jre with newly developed code, the
> following trick works:
> working_classlib$ ant -Dbuild.module="<my module>" -Dhy.jdk="<full
> path>/94/trunk/target/hdk/jdk/"  test
>
> Thanks.
>
>
> On Wed, Apr 2, 2008 at 1:18 AM, Tharindu Mathew <mccloud35@gmail.com>
> wrote:
> > I want to run a jar file on hdk, and debug it inside Eclipse. Basically
> I
> >  kind of want to setup something similar to a remote debugging scenario
> when
> >  using tomcat, but this time i want to debug hdk while running a .jar
> file...
> >  can this be done.. if so, can u give me an idea about the runtime
> config
> >  that has to be created?
> >
> >
> >
> >  On Wed, Apr 2, 2008 at 2:23 AM, Tim Ellison <t.p.ellison@gmail.com>
> wrote:
> >
> >  > Tharindu Mathew wrote:
> >  > > yes, i needed the icu4j jar and needed add the hdk as a library as
> well.
> >  > > Also since this caused problems with duplicate entries in the
> plugin
> >  > > dependencies, I had to remove those and reference the relevant
> projects
> >  > on
> >  > > the build path.
> >  >
> >  > Nah, reload TEXT module and the Bidi issue will be resolved.  But I'm
> >  > still working through the issues with SWING.
> >  >
> >  > > I had to add jetty, jetty-util and the servlet jars to build the
> support
> >  > > module. Should these be included or the .classpath files changed in
> the
> >  > > relevant modules?
> >  >
> >  > I think it's better to make Jetty a real bundle that we can pick up
> as a
> >  > dependency.  I'll do it unless somebody beats me to it (I'll fix
> SWING
> >  > first).
> >  >
> >  > Regards,
> >  > Tim
> >  >
> >  > > On Wed, Apr 2, 2008 at 12:23 AM, Gregory Shimansky <
> >  > gshimansky@apache.org>
> >  > > wrote:
> >  > >
> >  > >> On 1 April 2008 Tharindu Mathew wrote:
> >  > >>> Everything builds except swing and support. Support needs the
> jetty
> >  > jar.
> >  > >>> But I can't resolve the swing problem.
> >  > >>>
> >  > >>> Severity and Description    Path    Resource    Location
>  Creation
> >  > >> Time
> >  > >>> Id
> >  > >>> The type com.ibm.icu.text.Bidi cannot be resolved. It is
> indirectly
> >  > >>> referenced from required .class files
> >  > >>> swing/src/main/java/common/javax/swing/text
>  AbstractDocument.java
> >  > >>> line 1504    1207072096416    84608
> >  > >> Probably you need icu4j-3.8.jar from either class library
> dependency
> >  > >> location
> >  > >> working_classlib/depends/jars/icu4j_3.8/icu4j-3_8.jar or from a
> built
> >  > HDK.
> >  > >>
> >  > >> --
> >  > >> Gregory
> >  > >>
> >  > >
> >  > >
> >  > >
> >  >
> >
> >
> >
> >  --
> >  Regards,
> >
> >  Tharindu
> >
>
>
>
> --
> With best regards,
> Alexei
>



-- 
Regards,

Tharindu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message