I had to start from scratch yesterday with my lenya/eclipse setup and
followed http://wiki.apache.org/lenya/HowToLenyaInEclipse. I didn't
disable the auto build and had some build errors. I then added some jar
files to the classpath as instructed in
http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger [Creating a
lenya Project in Eclipse]. This got rid of the build errors for me. I
was then able to follow the Running Lenya in the Eclipse debugger
instructions [http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger].
HTH
--Doug
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]