You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Zhiwu Xie <zh...@gmail.com> on 2005/08/25 07:53:18 UTC
Re[2]: problem with usecases
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?
Thanks,
Zhiwu
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: problem with usecases
Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler wrote:
> On Thu, 2005-08-25 at 07:29 -0600, Zhiwu Xie wrote:
>
>>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."
>>
>
>
> You need to start lenya with:
> ./lenya.sh servlet-debug
>
> and then connect with the debugger.
BTW, make sure to connect at port 8000 and not 8888
(which seems to be a common pitfall).
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Re[2]: problem with usecases
Posted by Thorsten Scherler <th...@wyona.com>.
On Thu, 2005-08-25 at 07:29 -0600, Zhiwu Xie wrote:
> 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."
>
You need to start lenya with:
./lenya.sh servlet-debug
and then connect with the debugger.
HTH
thorsten
--
Thorsten Scherler
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
thorsten.scherler@wyona.com thorsten@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re[2]: problem with usecases
Posted by Zhiwu Xie <zh...@gmail.com>.
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: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: problem with usecases
Posted by Doug Chestnut <dh...@virginia.edu>.
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: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: problem with usecases
Posted by Andreas Hartmann <an...@apache.org>.
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org