Thanks again, putting everything in the default package solved it for
now. App and Frameworks see each other.
I will work into the notion of namespaces and packages but for now I
will continue with this solution, Just to make sure everythings runs.
I by the way now get a error with my model files. They have a
"default" in the framework and the "default" is filled with data in
the Application class of
the Application. Having 2 Models with the same connection dicionary
seems to be no longer valid:-(
Am 04.02.2013 um 15:46 schrieb Bogdan Zlatanov:
Glad I could help.
If all other frameworks and/or applications also use the default
package, then yes, they all see the classes of each other. The
moment you start using packages in one of them, you get to see the
issues that you faced today.
Generally speaking, not using packages in Java is a bad idea. In
the Xcode world everything used to be in the default package and
because most people working with WebObjects used to do so in
Objective-C ( WebObjects up to version 4.5 I would say) where
there's no notion of namespaces, most projects in the old days
developed with Xcode did not use packages.
Best regards,
Bogdan
On 4 Feb 2013, at 15:32, ute Hoffmann wrote:
Thanks a lot. That is exactly the case. With other frameworks it
does work and they see classes in the default package of other
frameworks, only the Application does not. Very interesting. I
will create a package now and move the classes into the package.
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-
d...@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