Yes I also did that. No build error anymore, but when following http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger and used the 2nd method to debug, I got an error:
"Failed to connect to remote VM. Connection timed out." Did you succeed with this? The first method does work, only it does not give out much useful information. Looks like just the same as those shown in the lenya output window. In that case, why not just follow http://wiki.apache.org/cocoon/LoadInEclipse and build with the Eclipse built-in ant, which is a lot easier? Zhiwu Thursday, August 25, 2005, 6:07:00 AM, you wrote: DC> I had to start from scratch yesterday with my lenya/eclipse setup and DC> followed http://wiki.apache.org/lenya/HowToLenyaInEclipse. I didn't DC> disable the auto build and had some build errors. I then added some jar DC> files to the classpath as instructed in DC> http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger [Creating a DC> lenya Project in Eclipse]. This got rid of the build errors for me. I DC> was then able to follow the Running Lenya in the Eclipse debugger DC> instructions DC> [http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger]. DC> HTH DC> --Doug DC> Andreas Hartmann wrote: >> Zhiwu Xie wrote: >> >>> AH> Robert Goene wrote: >>> >>> AH> [...] >>> >>> >>>>> By starting lenya in jetty (servlet-debug) and attaching Eclipse, i >>>>> guess? Never worked out for me, but i will try. >>> >>> >>> >>> AH> What didn't work? >>> >>> AH> http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger >>> >>> AH> At the very bottom, "2nd way" is sufficient. >>> >>> While compiling, got the errors: >>> >>> The import org.apache.lenya.cms.site.tree cannot be resolved. >>> ... >>> >>> All the other errors are related to this. Any idea? >> >> >> That's probably because your eclipse doesn't find the code >> inside publets. >> >> Did you execute a "build eclipse-project" recently? >> This should create the appropriate project files (close and reopen >> your project in eclipse to apply the changes). >> >> If that didn't help, please send a note to this list or, even >> better, file a bug. >> >> -- Andreas >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
