Hello Miguel!

The servlet guide is old news. The new way of doing it, is much simpler. Just go to to Properties -> Select WOLips build and check "servlet deploy". Building with (Right click on build.xml -> Run As -> Ant build) (the first), will now make a fully functional servlet.

The catch however is that "WOLips Ant Tools->Replace with latest build.xml" is not working. You will have to use the one from a new project.

Also if you are using Wonder, use the one generated from a new WOnder app, it defers in one place...

Regards
Fredrik Lindgren


20 aug 2008 kl. 20.46 skrev Miguel Angel Torres Avila:

Hi List,

I am new to WOLisp,

Last week I installed it following this tutorial

http://wiki.objectstyle.org/confluence/display/WOL/Install+WOLips+with+Eclipse+Update+Manager

I want to tell you guys that you have done a GREAT job, I have been working with WebObjects since 2000 and I appreciate the effort on doing an alternative ToolSet for WebObjects development.

Said that, today a tried to deploy a test app as a servlet.

I found this tutorial.
http://wiki.objectstyle.org/confluence/display/WONDER/Creating+a+wonder+app+to+deploy+as+a+servlet

I followed it but I did not have any success.

There are a couple of things that does not match for me and I need some help.

The tutorial says
"To get the recent good stuff, you can right click on the build.xml file and choose WOLips Ant Tools->Replace with latest build.xml" The tutorial was last time edited on Sep 30, 2007. So I thought that would not be necessary to do that, I installed WOLisp last week, I assumed that the build.xml generated by default once I created the New WebObjects Application should have that good stuff. I continued with the tutorial but realized that my build.xml file was different. The tutorial says that I should remove the attribute if="${never}" from the ssdd target. I located the ssdd target but something was wrong, it looked like this:

        <!-- ssdd target-->
        <!-- To use this target
        1)  remove the if="${never}" statement
        2)  change embed=true  in the woapp target above
        3)  create the LICENSE in your project directory
        4)  add JavaWOJSPServlet in your WOFrameworks build path
        5)  Edit the build.properties file
        6)     set webXML = true
    -->
        <target name="ssdd" if="servletDeployment" depends="build.woapp">

It does not have the  if="${never}" attribute.

Ok, I followed the instructions
"To get the recent good stuff, you can right click on the build.xml file and choose WOLips Ant Tools->Replace with latest build.xml"

and Voila! I the target ssdd looked like this:

        <!-- ssdd target-->
    <!-- To use this target
        1)  remove the if="${never}" statement
        2)  change embed=true  in the woapp target above
        3)  create the LICENSE in your project directory
        4)  add JavaWOJSPServlet in your WOFrameworks build path
        5)  Edit the build.properties file
        6)     set webXML = true
    -->
    <target name="ssdd" if="${never}" depends="build.woapp">

I followed the tutorial but when I tried to install the project
"right click on your project folder and choose WOLips Ant Tools- >Install"

I got this error

BUILD FAILED
/Users/dev3/Documents/workspace/WOLispTest/build.xml:229: srcdir "/ Users/dev3/Documents/workspace/WOLispTest/src" does not exist!


I looked at the build.xml file and found this in the compile target
   <javac srcdir = "src" destdir = "bin">

But My project does not have a src directory, it has a Sources Directory.
The original build.xml compile target have the following

  <wocompile srcdir="Sources" destdir="bin">


As you can see I am confused, does anybody can help me?

Thanks in advance!

Miguel Torres







_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/frelin%40timeoff.se

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to