• 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: True war deployment and WebServerResources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: True war deployment and WebServerResources


  • Subject: Re: True war deployment and WebServerResources
  • From: Alexis Tual <email@hidden>
  • Date: Tue, 4 Aug 2009 11:15:28 +0200

Hello Andrew,

Le 3 août 09 à 23:41, Andrew Lindesay a écrit :

Hello Alexis;

(3.aug.2009)
Andrew Lindesay faces the same issue with his message "War / Maven / Jar Build – How Does it Work wi th Eclipse's "Build Automatically"?"

I have lodged an issue with Apple about this and they are aware of it. The problem is that there are two ways for a servlet's classpath/bundle to work and this is controlled by the "WOJarBundle" context-param in the deployment descriptor. If this is "NO" then WebObjects falls back to old-school class paths and expects WebObjects to be installed in places such as "/System/Library/ Framework" etc... probably not workable. If this is "YES" then WebObjects expects that the "main bundle" which contains your application and resources is in a jar file within the servlet. All well and good, but Eclipse can't incrementally create a jar file so this doesn't work. I hope Apple can do something about resolving this issue.


Attached is a PDF illustrating the issue.

Thanks for logging this issue, while waiting for this issue to be solved (let's be optimistic), i think we could use a workaround :


In eclipse, you can add a custom builder : projet > properties > builders > New
the builder would be a simple ant task that jars the classes directory and put them somewhere in the classpath ahead of the classes directory (is this even possible ?)... I've not tested this, it's just a thought.


Cheers,

Alexis _______________________________________________
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


  • Follow-Ups:
    • Re: True war deployment and WebServerResources
      • From: Andrew Lindesay <email@hidden>
References: 
 >True war deployment and WebServerResources (From: Alexis Tual <email@hidden>)
 >Re: True war deployment and WebServerResources (From: Alexis Tual <email@hidden>)
 >Re: True war deployment and WebServerResources (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: Help me get unstuck with this error: unable to increment snapshot count for object with global ID
  • Next by Date: Re: Many to many relationship... some problem
  • Previous by thread: Re: True war deployment and WebServerResources
  • Next by thread: Re: True war deployment and WebServerResources
  • Index(es):
    • Date
    • Thread