• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Common library, how to
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Common library, how to


  • Subject: Re: Common library, how to
  • From: email@hidden
  • Date: Tue, 24 Jan 2006 08:40:09 +1300

Hello Xavier;

I'd like to share some code between different applications, so I was thinking about creating "something" that would...

I have a project that builds a library for some material that I need to share between J2SE projects and WebObjects projects. The build product for this library is a "jar" file which can easily be used in both J2SE and WO projects. I also have a framework that comprises of WO components and other WO-specific material. This needs to be a framework because it's layout is specific to what the WO runtime is expecting to see. When I build the framework, I merge the library jar file into the framework (this is an option in X-Code) and thus I get both the library and the framework ready to roll in my WO project by just including the framework. I then bundle the framework into the WO app build product (using some scripts) and this then means that the WO build product is bound to that version of the framework. It all seems to work quite well.


I have also used other libraries as jar files by merging them into the WO build product and this works quite well too.

cheers.

___
Andrew Lindesay
www.lindesay.co.nz



_______________________________________________
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


  • Prev by Date: Re: File upload as longresponse page
  • Next by Date: Re: How to programmatically send a form (Dev WO)
  • Previous by thread: Re: Common library, how to
  • Next by thread: Implementing an ordered tree
  • Index(es):
    • Date
    • Thread