Am 30.12.2008 um 11:38 schrieb Lachlan Deck:
On 30/12/2008, at 9:29 PM, ute Hoffmann wrote:
Am 30.12.2008 um 11:17 schrieb Lachlan Deck:
(keep on list .. i.e., reply-all)
On 30/12/2008, at 8:40 PM, ute Hoffmann wrote:
I tried everything you gave me, but to no avail. I have a clean Hello World project for testing how to wonderize and
this project still does not compile.
That suggests you've linked the frameworks against the wrong target in Xcode (or your java code is linked against the wrong target).
The Frameworks are in the right target. I just checked. They are in 'Application Server' target.
Hmm.
Perhaps they need to be in a special order?
Not really - but if you want generics with NSArray then you can attempt to change the order by having ERExtensions first.
Is it right to unlink the WOExtensions framework coming with WebObjects (System/Library/Frameworks)
or do I need both (Wonder's and WO's) WOExtensions Frameworks linked in?
You need the one from Wonder if you're using Wonder. It's supposedly a drop-in replacement of the original.
What's your import statement for ERXApplication?
I do have no import statements at all in my Application class (besides from the usual ones)... the tutorial did not mention them...
Though I thought I might want them.
What am I to import: er.????
That is what is in my application class:
//
// Application.java
// Project testWonder
//
// Created by utehoffmann on 29.12.08
//
import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
public class Application extends ERXApplication {
/* public static void main(String argv[]) {
WOApplication.main(argv, Application.class);
}*/
public static void main(String argv[]) {
ERXApplication.main(argv, Application.class);
}
public Application() {
super();
System.out.println("Welcome to " + this.name() + "!");
/* ** Put your application initialization code here ** */
}
}