• 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: Two questions about latest build system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two questions about latest build system


  • Subject: Re: Two questions about latest build system
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Mon, 24 Nov 2008 14:28:45 -0400

On Nov 23, 2008, at 06:46, Paul Hoadley wrote:

I have an application project that depends on a framework project (actually, more than one). I'm back to using the incremental build system for development, in which case it seems like (after running Project > Clean... on everything) it's sufficient to run Project > Build Project on the application. Everything else builds, and the application runs. Using Ant to create a WOA (or WAR) for deployment, though, I seem to need to run the 'install' target on all the dependencies (and on any of their dependencies, in the correct order).

I was fussing with this a while ago. The subant task was (IMO) the way to deal with this. I mean, you still run the 'install' target on all your frameworks, but it is automated from your main project's build.xml using something like this:


	<target name="install.projects">
		<subant target="install">
			<dirset dir="${projects.root}">
				<includesfile name="woproject/ant.frameworks.projects" />
			</dirset>
		</subant>
	</target>


The ant.frameworks.projects includesfile contained:

WOPrototypes
DvisWOModel
WOJCKit
WOVaGen
...

Which are the names (base directories) of framework projects that my main project is using. Naturally, each of them contains a WOLips ant build file, containing the 'install' target.

The ${projects.root} variable is the Eclipse workspace in which all these projects are contained.



Uhm, I think it works, I can't recall exactly. But lately everything is always up-to-date and embedded in my main project's final build, so I guess it does :D

Also, I thought Mike's new hotness deals with all this (though I haven't switched to it, as I find myself happy enough with my current building setup). Well, I guess I'll have to check it out sometime soon...

HTH
F

p.s. - Mike, this should be easy to integrate into the existing WOLips ant stuff, no?
_______________________________________________
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: 
 >Two questions about latest build system (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Backtracking error while using Wonder Ajax components
  • Next by Date: Re: EOF - rows inserted in to database in random order on ec.savechanges()
  • Previous by thread: Re: Two questions about latest build system
  • Next by thread: Re: versions
  • Index(es):
    • Date
    • Thread