Re: build failing: package com.webobjects.foundation does not exist
Re: build failing: package com.webobjects.foundation does not exist
- Subject: Re: build failing: package com.webobjects.foundation does not exist
- From: Florijan Stamenkovic <email@hidden>
- Date: Thu, 17 Feb 2005 19:00:58 +0100
Looks to me like your component is inserted into the main application
target, and it should be included only in the Application Server
target... You have to exclude it from the main app target by
deselecting the checkbox that is selected while the app is your active
target (pop up menu in the top left corner of the window).
I think that the thing is that all the main app target does not include
default frameworks.
Cheers
Florijan
On Feb 17, 2005, at 18:26, WebObjects wrote:
Just after adding a new component (Administer) to my project it
suddenly
fails to build. The errors all look like this...
"Administer.java:8: package com.webobjects.foundation does not exist"
Below you can see the imports for my 'Main.java', and the newly created
'Administer.java' - nothing exotic.
What is the 'xcode' secret to find out why this failure exists?
Thanks,
-Bill
// Main.java: Class file for WO Component 'Main'
// Project DataBaseMaint
//
// Created by billreynolds on 2/17/05
//
import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eoaccess.*;
// Administer.java: Class file for WO Component 'Administer'
// Project DataBaseMaint
//
// Created by billreynolds on 2/17/05
//
import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eoaccess.*;
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden