One thing that I did not mention is that you need to tie (or connect)
the slide source you downloaded to the slide jars tomcat is using
(slide-kernel, slide-webdavservlet, and slide-stores are the jars I am
interested in).  There are a few different ways to do this.  The
easiest is to right click on your jars in your project, select
properties, and then modify the java source attachment property to
point to the source code you downloaded.  If you have a project in
Eclipse where the source for slide is, then the location will be
something like /jakarta-slide-server-src-2.1/src.  When you do this,
then the breakpoints should be fine.

Let me know if you have any problems.

-Brice

On 8/4/06, aslam bari <[EMAIL PROTECTED]> wrote:
Thanks Brice,

  I have successfully setup the slide/Tomcat bundle which you have told me. 
Then i made a new tomcat project and add slide source to it, but it does not 
stop on the break point. Also there is a exception comes, (Unavailable 
Exception) JDOMException class. Yet it is availble in the slide as slie-jdom.1 
jar. I think there is something wrong when i am integrating slide source to 
project. Plz give me direction how to attach slide source to NewTomcatProject.

  Thanks..

Brice Giesbrecht <[EMAIL PROTECTED]> wrote:
  Hi Aslam. If your goal is to setup slide and have it run in a
container and debug it via Eclipse, I would recommend you download the
slide/tomcat bundle (2.1 server Tomcat 5 bundle) from
http://jakarta.apache.org/site/downloads/downloads_slide.cgi. Set it
up to run (outside of eclipse). AFTER you have verified your
installation works, setup eclipse to use your new tomcat installation.
If you are using the sysdeo plugin, it will be a snap.

Once that is done, download the slide source code. I have created a
separate project for slide source and just use it as the source for my
slide jars.

You can then set breakpoints in the slide source code.

IMPORTANT! Don't just start tomcat via the icon provided by the
sysdeo plugin! Create a debug launch profile. If you start tomcat
via the start button, your app will not be in debug mode and will
blast past any breakpoints you have set.

If there is an Eclipse guru on the list (which I am not), maybe they
can offer some suggestions or correct anything that I have said that
is wrong or misleading. I do have Slide running in tomcat out of
eclipse and I am able to debug slide.

HTH

-Brice


On 8/3/06, aslam bari wrote:
> Hi,
> But i really don't know how to build project by using Build.xml. Is there is 
any documentation for this?
>
> "Pankaj Mandal -X (pmandal - Ahura Inc. at Cisco)"
wrote:
> That is correct.
>
> Thanks
> Pankaj
>
> -----Original Message-----
> From: aslam bari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 03, 2006 5:34 AM
> To: Slide Users Mailing List
> Subject: RE: Setup Slide in Eclipse
>
> Do you mean by Build.xml?
> I am new to this era? Plz help me.
>
> "Pankaj Mandal -X (pmandal - Ahura Inc. at Cisco)"
>
> wrote:
>
>
> I downloaded it from subversion and it was right under slide directory.
>
> Thanks
> Pankaj
>
> -----Original Message-----
> From: aslam bari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 03, 2006 4:18 AM
> To: Slide Users Mailing List
> Subject: RE: Setup Slide in Eclipse
>
> Hello Pankaj
> Thanks for reply.
>
> I have downloaded the slide-server-src-2.1. I have successfully setup
> the Tomcat in eclipse and it is running without any exception. I could
> not find the any ant file. Will you plz give me some guidlines how to
> setup "Slide" and debug slide.
> Thanks...
>
> "Pankaj Mandal -X (pmandal - Ahura Inc. at Cisco)"
>
> wrote:
> Hi Aslam
>
> Try to build your project in eclipse using the ant file that comes with
> slide.
>
> Thanks
> Pankaj
>
> -----Original Message-----
> From: aslam bari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 03, 2006 3:44 AM
> To: [email protected]
> Subject: Setup Slide in Eclipse
>
> Dear Users,
> I tried a lot but could not be able to setup slide in eclipse
> successfully. i want to debub the slide by using eclipse. Does any body
> help me?
>
>
> ---------------------------------
> Here's a new way to find what you're looking for - Yahoo! Answers
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------
> Here's a new way to find what you're looking for - Yahoo! Answers
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------
> Here's a new way to find what you're looking for - Yahoo! Answers
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------
> Here's a new way to find what you're looking for - Yahoo! Answers
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------
 Here's a new way to find what you're looking for - Yahoo! Answers


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to