• 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
Building for deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building for deployment


  • Subject: Building for deployment
  • From: Mark Wardle <email@hidden>
  • Date: Sun, 13 Dec 2009 22:00:03 +0000

Hi all,

I'm pulling my hair out trying to get a WOA that contains all embedded
frameworks - including WO54, project wonder and my own.

Naturally, during development, everything just works from within
Eclipse. In particular, I have Project Wonder building from within
Eclipse also.

I assumed it would be a straightforward thing to build a split install
package, but I either end up with a WOA that contains only the WO54
frameworks and nothing else OR compile-errors saying a class can't be
found.

In fact, I've being going around in circles so much that I've lost
track of the different wiki pages I've tried to follow - each
suggesting different changes to a build.xml file (or an entirely
different build file). I've messed with properties I don't understand,
and in fact, think I'm now worse off than when I started. I've even
looked at the documentation covering maven and hudson to see whether
they would simplify things; I've concluded *not*.

Is the information in this wiki page still correct?
(http://wiki.objectstyle.org/confluence/display/WOL/Embedding+WOFrameworks)

I'm using WOLips 3.4.6015 with Eclipse 3.4.2, together with Project
Wonder R10347.

I've now created a new PW application and copied the build.xml and
build.properties back hopefully correcting all my corrections.

What's the recommended way of creating sane builds - particularly
using PW and your own frameworks from source and making everything
work as automatically as possible?

Should I regress to WO53?

Should I give up and stick to swinging a tendon hammer...?

Should I simply hit the bottle...?

example output (now):

[wocompile] /Users/mark/Dev/eclipse/rsdb/Applications/RSNews/Sources/com/eldrix/news/app/Users.java:41:
cannot find symbol
[wocompile] symbol  : class User
[wocompile] location: class com.eldrix.news.app.Users
[wocompile] 	protected boolean checkAccessForUser(User u) {

[wocompile] /Users/mark/Dev/eclipse/rsdb/Applications/RSNews/Sources/com/eldrix/news/components/LinkToViewPatient.java:12:
package er.extensions.components does not exist
[wocompile] import er.extensions.components.ERXStatelessComponent;
[wocompile]                                ^

These errors aren't entirely unexpected - for example, the classes
live in one of my frameworks (RSBusinessLogic) and PW frameworks
(ERExtensions) respectively.

I'm sure WOLips->Ant tools->Install... used to build a WOA, but the
WOA binary was simply not executable because I then had runtime class
problems. If I could at least get back to that point, I could manually
force frameworks to be compile and stick 'em manually into the WOA for
each build... Arrrrghhhh!

Maybe I need to rewrite the build.xml files and make a super-project
ant build file to build my application and the frameworks in a similar
way to that in PW?

Yours in desperation...

Mark



--
Dr. Mark Wardle
Specialist registrar, Neurology
Cardiff, UK
 _______________________________________________
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: Building for deployment
      • From: Mark Wardle <email@hidden>
    • Re: Building for deployment
      • From: Henrique Prange <email@hidden>
    • Re: Building for deployment
      • From: Paul Hoadley <email@hidden>
  • Prev by Date: Re: JUnit test method generation
  • Next by Date: Re: Building for deployment
  • Previous by thread: Re: JUnit test method generation
  • Next by thread: Re: Building for deployment
  • Index(es):
    • Date
    • Thread