• 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: wolips / webobjects build question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wolips / webobjects build question


  • Subject: Re: wolips / webobjects build question
  • From: Lachlan Deck <email@hidden>
  • Date: Tue, 11 Dec 2007 12:12:30 +1100

On 11/12/2007, at 8:47 AM, Ricardo Parada wrote:

I'm trying to figure out how to do the following. Basically I have a webobjects framework that builds using ant. The framework really has no code.

http://wiki.objectstyle.org/confluence/display/WOL/Tutorials

It just has two .jar files that are combined into one. For example, the following ant snippet from the build.xml file does the work:

<unjar src="foo1.jar" dest="${build.dir}" />
<unjar src="foo2.jar" dest="${build.dir}" />
<mkdir dir="Java" />
<jar destfile="Java/foo.jar" basedir="${build.dir}" excludes="META-INF/SUN_MICR.*" />


This builds into a Foo.framework which contains foo.jar. And foo.jar is basically foo1.jar and foo2.jar combined.
I then have other normal WebObjects frameworks that reference the Foo framework project.

Recommendation: don't combine jars. Just add them to the build path of your project and adjust your project's build path settings to make these available for projects that depend on that project.


I'm trying to convert this Foo framework project to build with Eclipse / WOLips standard build files and get away from using my custom build.xml file.

So using WOLips/Eclipse I created a WebObjects Framework project called Foo. I then dragged and dropped the foo1.jar and foo2.jar into the Libraries folder under the Foo project in the Eclipse package explorer view.

The problem I have is that other frameworks that reference project Foo are still not able to import and use the classes in the Foo jars.

Go to Project > Properties > Build Path > Order and Export and tick the boxes next to the ones you want to make available to subprojects.


with regards,
--

Lachlan Deck



_______________________________________________
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


References: 
 >wolips / webobjects build question (From: Ricardo Parada <email@hidden>)

  • Prev by Date: Re: EO Caching
  • Next by Date: WOCheckbox strangeness
  • Previous by thread: wolips / webobjects build question
  • Next by thread: Re: wolips / webobjects build question
  • Index(es):
    • Date
    • Thread