Hello,
   I'm going through the license plate tutorial

http://furfly.typepad.com/wotutorial/downloads/WO-Tutorial-v1.2.pdf

and have hit a bit of a snag. I'm using the latest Eclipse build (3.3.2), latest WOLips build and Leopard. I figured it's time to use EOGenerator, and I've navigated to the Velocity EOGenerator detour:

http://wiki.objectstyle.org/confluence/display/WOL/Velocity+EOGenerator+%28Veogen%29

However, when I get to the step of generating the java files using the eogen file, all I get is the following file and a bunch of errors all pasted below. Also, my project also can't find the log4j logger. Yeah, I can add it easy enough, but I wonder if it's a sign of something I missed in the tutorial? Any ideas on where I've gone wrong?

package com.nhlpm.eo;

import org.apache.log4j.Logger;

public class DisplayBoard extends _DisplayBoard {
  private static Logger log = Logger.getLogger(DisplayBoard.class);
}

Severity and Description        Path    Resource        Location        
Creation Time   Id
WOO Encoding type MacRoman doesn't match Main.wod of UTF-8 nhlpm/ Components/Main.wo Main.woo Unknown 1206418104507 0 The serializable class DisplayBoard does not declare a static final serialVersionUID field of type long nhlpm/Sources/com/nhlpm/eo DisplayBoard.java line 5 1206500296283 78 The import org.apache.log4j cannot be resolved nhlpm/Sources/com/nhlpm/ eo DisplayBoard.java line 3 1206500296283 77 Logger cannot be resolved nhlpm/Sources/com/nhlpm/eo DisplayBoard.java line 6 1206500296283 80 Logger cannot be resolved to a type nhlpm/Sources/com/nhlpm/eo DisplayBoard.java line 6 1206500296283 79 The import org.apache.log4j cannot be resolved nhlpm/Sources/com/nhlpm/ eo _DisplayBoard.java line 9 1206500296300 81 Logger cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 26 1206500296300 83 Logger cannot be resolved to a type nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 26 1206500296300 82 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 41 1206500296300 84 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 42 1206500296300 85 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 52 1206500296300 86 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 53 1206500296300 87 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 63 1206500296300 88 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 64 1206500296300 89 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 74 1206500296301 90 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 75 1206500296301 91 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 85 1206500296301 92 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 86 1206500296301 93 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 96 1206500296301 94 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 97 1206500296301 95 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 107 1206500296301 96 _DisplayBoard.LOG cannot be resolved nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 108 1206500296301 97 The type NSArray is not generic; it cannot be parameterized with arguments <DisplayBoard> nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 125 1206500296301 98 The type NSArray is not generic; it cannot be parameterized with arguments <DisplayBoard> nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 129 1206500296301 99 The type NSArray is not generic; it cannot be parameterized with arguments <EOSortOrdering> nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 129 1206500296301 100 The type NSArray is not generic; it cannot be parameterized with arguments <DisplayBoard> nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 133 1206500296301 101 The type NSArray is not generic; it cannot be parameterized with arguments <EOSortOrdering> nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 133 1206500296301 102 The method fetchDisplayBoards(EOEditingContext, EOQualifier, null) is undefined for the type _DisplayBoard nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 145 1206500296301 104 The type NSArray is not generic; it cannot be parameterized with arguments <DisplayBoard> nhlpm/Sources/com/nhlpm/eo _DisplayBoard.java line 145 1206500296301 103

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
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