Hi Ron,
When I wrote the steps on the wiki, I already had lenya built on my computer (and cocoon)

I think that there is a way to build lenya in eclipse, but I haven't had the time to try it out. I just build from the command prompt like instructed in http://lenya.apache.org/1_4/installation/source_version.html

I added a few lines to the wiki. Please add any helpful steps to the wiki when you get it figured out :).

Building Lenya with the eclipse-project target should be a better way of setting up lenya in eclipse, but I couldn't get it to work. If you can get it to work feel free to replace the clunky docs on the wiki :)

--Doug

Ron Wheeler wrote:
Tried to follow the instructions for doing it outside but they did not work either.

Did you follow the instructions exactly or were there any additional steps that you needed to do?

Ron

Doug Chestnut wrote:

I build lenya from the cmd prompt (outside of eclipse).

Ron Wheeler wrote:

I do not have a lenya/build folder after following the install part of http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger.

I did not perform the svn section of the installation but I am not yet trying to share this and I would be using CVS since I do not have subversion on my server.

There were no fatal errors on the automatic build but if I try to execute the build.xml, I get a class not found error.

Any idea about what I might have missed? Where does the automatic build put the output jars (if it builds them)?

The error message in the console window at the end of the debugging instructions follows. http:127.0.0.1:8888 does generate a 404 which indicates that Jetty started OK and is doing its best.

-------------------- Loading --------------------
Processing repository: .\tools\jetty\lib
Adding jar: .\tools\jetty\lib\jetty-4.2.23.jar
Adding jar: .\tools\jetty\lib\servlet-2.3.jar
Processing repository: .\lib\endorsed
-------------------- Executing -----------------
Main Class: org.mortbay.jetty.Server
14:18:01.571 EVENT  Checking Resource aliases
14:18:02.522 EVENT  Starting Jetty/4.2.23
14:18:02.552 WARN!! Web application not found ./build/lenya/webapp
14:18:02.552 WARN!! Configuration error on ./build/lenya/webapp
java.io.FileNotFoundException: ./build/lenya/webapp
at org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:249) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
  at org.mortbay.http.HttpServer.start(HttpServer.java:663)
  at org.mortbay.jetty.Server.main(Server.java:429)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at Loader.invokeMain(Unknown Source)
  at Loader.run(Unknown Source)
  at Loader.main(Unknown Source)

14:18:02.773 EVENT  Started SocketListener on 0.0.0.0:8888
14:18:02.783 WARN!!
org.mortbay.util.MultiException[java.io.FileNotFoundException: ./build/lenya/webapp]
  at org.mortbay.http.HttpServer.start(HttpServer.java:640)
  at org.mortbay.jetty.Server.main(Server.java:429)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at Loader.invokeMain(Unknown Source)
  at Loader.run(Unknown Source)
  at Loader.main(Unknown Source)
[0]=java.io.FileNotFoundException: ./build/lenya/webapp
at org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:249) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
  at org.mortbay.http.HttpServer.start(HttpServer.java:663)
  at org.mortbay.jetty.Server.main(Server.java:429)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at Loader.invokeMain(Unknown Source)
  at Loader.run(Unknown Source)
  at Loader.main(Unknown Source)

14:18:44.893 EVENT  Started HttpContext[/]




---------------------------------------------------------------------
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]





---------------------------------------------------------------------
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]

Reply via email to