ok, I do not really understand it yet, probably.

Putting all java Files into a package means:
the Files will no longer be seen by components in the same framework

the classes are no longer visible for other frameworks by only importing the Library

the classes are still not visible in the Application.

Can you please explain the system in WOLips development (and Deployment) of packages and Frameworks? This was much easier in XCode development. Ypu just created a Framework and linked that into other frameworks and Apps and that was it.


Am 04.02.2013 um 15:05 schrieb Bogdan Zlatanov:

Just to clear any confusion, what I mean by default package is no package at all (see attached screenshot).

<DefaultPackage.png>

If that's the case, then create a package and put your classes in it. Then your application will successfully import your FrameworksApplication class and all will be well.

Cheers

On 4 Feb 2013, at 14:54, ute Hoffmann wrote:

It is in the default package that is created when I create a Wonder Framework. In the sources there is a default package and I put all Java Classes
into this - was that wrong?

Am 04.02.2013 um 14:42 schrieb Bogdan Zlatanov:

Mentioning Xcode development - is your FrameworkApplication class within a package or is it in the default package?

On 4 Feb 2013, at 14:13, ute Hoffmann wrote:

Error: FrameworkApplication cannot be resolved to a type.

The class FrameworkApplication extends ERXApplication, it is inside a Framework which installs without error.
The Framework is linked in the Applications via Libraries.

Am 04.02.2013 um 12:01 schrieb Bogdan Zlatanov:

Hi,

What's the red error mark description? What's the exact error that you see?

Cheers

On 4 Feb 2013, at 11:45, ute Hoffmann wrote:

Hi,
I have now imported my framework into Eclipse and installed it.

Then I created a wonder App and tried to use my framework in that app. I did import the
WebObjects Libraries of the Framework into tha Application.

I have this structure which I want to keep:

Framework has an Application Class that extends ERXApplication.
Application is a mere stub, extending the Application Class (and Session and DirectAction Class) in the
framework.

What have I to do to make this work? As soon as I extend the Application class in the Application to the Application Class in the framework
I get a red error mark.

Other elements in the framework are not found in the application class either.

Any idea what went wrong here. Is there a concept in WOLips development which is different from XCode development which I miss?

Regards,

Ute


_______________________________________________
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:
https://lists.apple.com/mailman/options/webobjects-dev/ bogdan.zlatanov%40gmail.com

This email sent to bogdan.zlata...@gmail.com






 _______________________________________________
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to