Hi,

When IDEA runs / debugs applet, it automaticly includes project's classpath
except for cases when URL starting with http:// is specified in applet
configuration.

Best regards,
Anton Katilin
-----------------------------------------------------------
IntelliJ Software, "Develop with pleasure"
http://www.intellij.com/
-----------------------------------------------------------


----- Original Message -----
From: "Bluntpeak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 4:09 PM
Subject: [Eap-list] Wrong Class files used to debug applet


> Hi,
>
> Win2k, build 515 sun jdk 1.3.1
>
> This is strange but I will do my best to explain.
>
> I am currently developing an applet and use ant builds to create the jar
> file and deploy this on a local web server for testing.
>
> The project is set to use the local webserver html file to run and debug
> the applet in appletviewer. So far so good.
>
> I also use ant <filterset> in a copy command to change parts of the
> source according to production/debug etc. specified as an ant command
> line property. This also works but does mean that the source files
> compiled by ant are in a differing directory to those known and used by
> idea.
>
> This means that when ant detects a compile error it does not correctly
> point out the file / line etc. This too is ok as I would not expect idea
> to be able to cope with this (nice if it did one day though).
>
> Anyway as a result of this setup I use ideas built in compile project to
> check and find compile errors etc. before doing an ant build to create
> and deploy etc.
>
> Now all this works just fine, I can compile, debug run etc. all from
> with idea except when there are class files left from an internal idea
> compile project.
>
> In this case a run command still works fine but debug seems to find the
> class files from idea rather than the jar file specified in the
> launching html.
>
> Very strange. Any thoughts on how to avoid this.
>
> Yes, I know I could delete the idea class files before debugging - it's
> what I have to do at the moment but it seems like this should not be the
> expected behavior.
>
> Is it because idea adds extra entries on the classpath before calling a
> debug session ? If so is there any control over this please ?
>
> An alternative would be to be able to link compile, run and debug
> commands to an ant task for a given run config. This would be very cool.
>
>
> H
>
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to