>>>>> On 28 Mar 2003 19:37:02 +0000, "Mark H. Wilkinson" <[EMAIL PROTECTED]> said:
> In Eclipse if you have a number of separate projects open in your
> workspace you can specify dependencies between them, so you can say
> that project 'foo' depends on project 'bar' in the same
> workspace. This results in bar being on the classpath when foo is
> compiled. It also helps to tie together the internal model that
> Eclipse uses - you can click on a symbol in the foo project and
> it'll take you to the source in the bar project or show you the
> javadoc for example. If you were depending on a jar file you'd have
> to associate a source directory with the jar file to get this to
> work.
Right, I understand that. I was wondering if you had a project
dependency and a jar dependency to the same project defined if eclipse
would use the project classes before going to the jar. It was a real
quick and ugly way of maybe making it work.
> What I tend to do is break a system down into modules, each of which
> is a separate project with (typically) one source tree in each
> project. I would then use Eclipse's classpath editor to specify for
> each project which other projects were required.
> At the moment there doesn't seem to be a way to model this kind of
> dependency in the maven project model - dependencies are
> more-or-less assumed to be versioned jar files. I think it would be
> useful to have a way to model this kind of dependency hierarchy, if
> only so project files for IDEs work more cleanly.
Interesting, I've always thought of maven as a command-line IDE.
There was some talk awhile back, around the time jar override
functionality was added to maven, that we could depend on the classes
of other projects, not just the artifacts. I don't think anything but
talking about happened though.
> I don't know whether this kind of dependency information would be of
> use when building multiple projects under reactor - presumably that
> can work with jar file dependencies?
The jar dependencies are there now in the reactor. Maybe we need pom
dependencies between reactor'd projects.
--
=====================================================================
Jeffrey D. Brekke [EMAIL PROTECTED]
Wisconsin, USA [EMAIL PROTECTED]
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]