• 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
Hudson and Client-Side Classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hudson and Client-Side Classes


  • Subject: Hudson and Client-Side Classes
  • From: David Avendasora <email@hidden>
  • Date: Mon, 15 Jun 2009 13:34:27 -0400

Hi All (mostly Mike, again)

I've gotten all my frameworks and applications to successfully build with Hudson, including fully embedded servlet deployments, except for one.

Of course it is a Java Client project that makes use of some client-side classes from one of my frameworks that is failing. Here's the situation:

I'm using Generics with WO 5.3.3. Normally you'd use Wonder to get Generic versions of com.webobjects.foundation.NSArray and friends, only ERExtensions doesn't create a client-side jar for use with WebStart Java Client apps (WebServerResources/Java/ERExtensions.jar), so I had to create my own framework that does. I've included my BMExtensions.framework on the classpath of my Project and ensured that it loads prior to even ERExtensions.framework. No big deal, and running the Ant build from within Eclipse handles things just fine (I'm guessing it is really looking at the server-side class), but when Hudson tries to build the project, I get:
compile:
    [mkdir] Created dir: /Developer/Hudson/Workspaces/BakeryManagementD2JavaClient/Trunk/bin
[wocompile] Compiling 262 source files to /Developer/Hudson/Workspaces/BakeryManagementD2JavaClient/Trunk/bin
[wocompile] /Developer/Hudson/Workspaces/BakeryManagementD2JavaClient/Trunk/Sources/com/bestmaid/bakeryManagement/client/integration/_ExternalCustomer.java:62: type com.webobjects.foundation.NSArray does not take parameters
[wocompile] 	public NSArray<com.bestmaid.bakeryManagement.client.orderManagement.Customer> bmCustomers() {
[wocompile]                       ^
So it is obviously using JavaFoundation.framework's version of NSArray instead of my custom one, or even the ERExtensions server-side one. How do I override which one it is using to do the compile so it won't fail?

Thanks,

Dave
 _______________________________________________
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: Hudson and Client-Side Classes
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: Migrating WebObjects5.2.4 Application to WebObjects5.4 Application
  • Next by Date: Direct 2 Web - which rule files?
  • Previous by thread: Re: Migrating WebObjects5.2.4 Application to WebObjects5.4 Application
  • Next by thread: Re: Hudson and Client-Side Classes
  • Index(es):
    • Date
    • Thread