Next issue.

When I add a web component, it fails to compile??

Steps I took:

Right-Click on Web Components in the Groups/Files panel.
Select Add->New File
Select WebObjects->Component
Click Next
Name it (ie Publishers)
Location is ~/metropolisadmin
Add to project: metropolisadmin
All Three targets selected (I have also tried just metropolisadmin target selected)
Click Finish
When XCode finishes what it is doing, I select Build and Go.

Here is the class file created:

//
// Publishers.java: Class file for WO Component 'Publishers'
// Project metropolisadmin
//
// Created by jeffreypearson on 3/22/06
//

import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eoaccess.*;

public class Publishers extends WOComponent {

    public Publishers(WOContext context) {
        super(context);
    }

}


Get errors:

Publishers.java:9: package com.webobjects.appserver does not exist

Publishers.java:11: package com.webobjects.eoaccess does not exist
Publishers.java:13: cannot resolve symbol (which is the public class Publishers extends WOComponent line) Publishers.java:15: cannot resolve symbol (which is the Public Publishers(WOContext context) line)


How can this be erroring with the template file that is autogenerated?


Jeff



_______________________________________________
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