07-21-2007 03:07 PM
07-21-2007 03:27 PM
07-21-2007 08:27 PM
Package org.alfreco.foobar has classes a, b, c, and d.
Classes a & b are in project ab, and go into ab.jar, while
classes c & d are in project cd, and go into cd.jar. Due
to some security/classloader/bundling reason, ab.jar and
cd.jar must reside in different locations.
07-21-2007 09:12 PM
Good topic Russ!
Before we get too deeply into the fine points of Ant versus Maven II,
I think it's worth stepping back and defining our needs. This way, we'll
be in the much better shape to identify the best way to proceed
(or at least to weight tradeoffs with a checklist in hand).
…
07-21-2007 09:36 PM
Good topic Russ!
Here's what I'd like to see regardless of our choice of build framework:…
- Remove inter-project dependency issues for good
- Remove all .classpath issues in Eclipse for good
- Make the source tree reflect the java package organization
- Default: one jar per java package; build others as-needed.
- All build output can be configured to go outside the source tree
- Make Javadoc build better docs & overall indices w/o special tweaking
- Improve build speed
- Allow builds to occur directly from read-only source archive
07-21-2007 11:50 PM
This doesn't seem to be a build harness question per se, but rather a packaging question.It's not just about the packaging. Structuring things so that one big
class X needs to be built before Y, but it needs class P
which must be put in location Q but then that generates a circular
dependency that Ant can handle but Eclipse can't… unless you
sprinkle lazy inits here and there in various spring config files…
and then muck around with .classpath files used by the continuous
builds done by IDEs such as Eclipse… and… and….
> Make the source tree reflect the java package organizationIt depends on the underlying capabilities of that harness.
This is independent of the build harness correct?
07-22-2007 12:07 AM
07-22-2007 01:06 AM
The inter-project dependencies are a needless pain in the neck
for developers. It ends up forcing certain things to live in
places because of when they're built, rather than what would
be the ideal logical organization. In at few cases, it forces
us to do lazy-init within spring…etc. Cruft like this only gets worse
over time, so I'd like us to fix now while it's still relatively easy.
This is a developer's perspective, not a user's… but that matters too!
07-22-2007 02:48 AM
I've always liked the idea of keeping things in separate projectsI think taking over any of these dependencies just invites brittleness,
and using maven to include what needs to be included. I tend to
think of it as a virtue that each piece only gets compiled with what
it needs and what it needs
So if I get what you are saying: you would like packages to be atomic
so that they can be individually built and deployed as a patch, but that
the whole project can also be built in one javac.
08-15-2007 05:57 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.