Hi list,
this is really a beginner question...most probably because I'm still a beginner;)

I'd like to share some code between different applications, so I was thinking about creating "something" that would holds my shared code. So here's a few question if someone can point me to the correct resource or give me the answer: -Which type of project should I choose: a "WebObject Framework" or an "Ant-based Java Library"? I'm pretty sure there's different goal using one or the other, but I don't actually get all of them
-Where could I found a beginner "how to" about this?

Here's what I tried so far, creating an ant-based java library:
I wanted to use some of Apache Commons Lang method, so I imported "import org.apache.commons.lang.*;" but when I try to use the method, it doesn't compile saying the method doesn't exist...But I'm actually using them directly in my WO application and it works.

So I tried copying the entire method inside my own code to see if it would work, but it won't compile! If I add the entire Java file from Commons Lang, it fails compiling only on my own class, and not on the Apache one...I only copied and pasted!


So I may not doing it  the correct way:(

Can someone point me to some resources about creating java libraries (ideally using Xcode;))?

Thanks a lot

Xavier

_______________________________________________
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