+1 on including every jar in the full distribution...

debugging in IntelliJ works perfectly fine for me, your problem sounds
as if you would use source-files which do not match the respective
class files... have you checked if you maybe got several myfaces jars
on the class-path?

regards,

Martin


On Wed, 17 Nov 2004 18:27:45 -0600, Heath Borders-Wing
<[EMAIL PROTECTED]> wrote:
> Ok, I finally got ant to run all the way through on the source build.
> Is there some way that we could include all of the required jars in
> the lib directory?  I'm talking specifically about the
> catalina-ant.jar.  I don't run tomcat (I run WSAD), so I don't have
> the tomcat jars in my classpath by default.
> 
> It seems like it would just be easier if the source came packaged with
> everything it needed to do a full build assuming that there was a
> correct Ant install on the machine.  (For windows, that means just
> having the ant scripts in your path and the ant lib and java tools.jar
> in your classpath).
> 
> 
> 
> 
> On Wed, 17 Nov 2004 11:11:18 -0800, Korhonen, Kalle <[EMAIL PROTECTED]> wrote:
> > Yes, if I attach the source folder for myfaces classes, I'm able to step
> > through the code.
> >
> >
> >
> > Kalle
> >
> > > -----Original Message-----
> > > From: Heath Borders-Wing [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, November 17, 2004 10:51 AM
> > > To: MyFaces Discussion
> > > Subject: Re: Building/Debugging MyFaces
> > >
> > > But I mean are you actually using the eclipse debugger to
> > > step through code?
> > >
> > >
> > > On Wed, 17 Nov 2004 10:09:46 -0800, Korhonen, Kalle
> > > <[EMAIL PROTECTED]> wrote:
> > > > When testing the new component on a page, I'm simply
> > > running the Ant
> > > > script to build a new myfaces.jar. Another (web) project
> > > and Tomcat is
> > > > set up so that the new myfaces.jar is in their classpaths. Tomcat
> > > > picks up the change in the jar and reloads the context
> > > automatically..
> > > > Maybe not the most optimized way, but works for now. And
> > > did I mention
> > > > that this is a really simple component... Sort of a
> > > combination of a
> > > > panelStack and a tabbed pane. The first version kind of
> > > works with a
> > > > html button and without a proper layout, but I want to make
> > > it a link
> > > > with a graphic indicator of the state. It's just progressing really
> > > > slow, because of all the learning and different things I'm
> > > trying out
> > > > at the same time. For now, I'm just happy to be able to render
> > > > something visible and functional on the page :)
> > > >
> > > >
> > > >
> > > > Kalle
> > > >
> > > > > -----Original Message-----
> > > > > From: Heath Borders-Wing [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, November 17, 2004 9:07 AM
> > > > > To: MyFaces Discussion
> > > > > Subject: Re: Building/Debugging MyFaces
> > > > >
> > > > > I'm working on doing the same thing.  I have a project
> > > that has the
> > > > > MyFaces source in it, but I can't create a web-project
> > > and have the
> > > > > web project use the MyFaces code.
> > > > > it has problems finding the tld's.
> > > > > How did you get around this problem?
> > > > >
> > > > >
> > > > > On Wed, 17 Nov 2004 09:03:11 -0800, Korhonen, Kalle
> > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > Building my own versions and debugging unit tests. Just
> > > > > working on a
> > > > > > new component... A collapsible panel. Haven't needed to
> > > >
> > > >
> > > > > attach the source.
> > > > > >
> > > > > > Kalle
> > > > > >
> > > > > >
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Heath Borders-Wing [mailto:[EMAIL PROTECTED]
> > > > > > > Sent: Wednesday, November 17, 2004 8:54 AM
> > > > > > > To: MyFaces Discussion
> > > > > > > Subject: Re: Building/Debugging MyFaces
> > > > > > >
> > > > > > > I'm using WSAD.  What source did you attach to your jars?
> > > > > > >
> > > > > > > I'm attaching all the jars to the
> > > MyFaces-1.0.7-SRC/src directory.
> > > > > > >
> > > > > > > It seems to find some things ok, but it sometimes interprets
> > > > > > > step-into's and step-overs as a 'play' call.
> > > > > > >
> > > > > > >
> > > > > > > On Wed, 17 Nov 2004 08:50:11 -0800, Korhonen, Kalle
> > > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > > > -----Original Message-----
> > > > > > > >
> > > > > > > >
> > > > > > > > > From: Heath Borders-Wing [mailto:[EMAIL PROTECTED]
> > > > > > > > > Subject: Building/Debugging MyFaces I'm using Ant
> > > to build
> > > > > > > > > MyFaces and it builds the 3 jars
> > > > > > > just fine,
> > > > > > > > > however, it always fails when it gets to the javadoc.
> > > > > > > >
> > > > > > > > Mine builds javadoc too just fine, but fails on class
> > > > > > > > org.apache.catalina.ant.ReloadTask cannot be found - if I
> > > > > > > don't have
> > > > > > > > catalina-ant.jar anywhere in the classpath or in
> > > $ANT_HOME/lib.
> > > > > > > >
> > > > > > > > > Additionally, I have never been able to easily debug
> > > > > > > through MyFaces
> > > > > > > > > code.  That is, occassionally, my debugger will enter a
> > > > > > > method, but
> > > > > > > > > the line numbers will be off.  This makes using the
> > > > > debugger in
> > > > > > > > > these methods useless.  Is the standard MyFaces build
> > > > > building
> > > > > > > > > without line numbers?
> > > > > > > >
> > > > > > > > Sorry, can't help there. I'm using Eclipse and have no
> > > > > > > > problems debugging it.
> > > > > > > >
> > > > > > > > Kalle
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > If you don't have a GMail account, I probably have 5 invites.
> > > > > > >  Just ask!
> > > > > > > -Heath Borders-Wing
> > > > > > > [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > If you don't have a GMail account, I probably have 5 invites.
> > > > >  Just ask!
> > > > > -Heath Borders-Wing
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > If you don't have a GMail account, I probably have 5 invites.
> > >  Just ask!
> > > -Heath Borders-Wing
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> 
> 
> --
> 
> 
> If you don't have a GMail account, I probably have 5 invites.  Just ask!
> -Heath Borders-Wing
> [EMAIL PROTECTED]
>

Reply via email to