"Project References" property [message #540747] |
Thu, 17 June 2010 09:07 |
vlad.balan Missing name Messages: 45 Registered: June 2010 |
Member |
|
|
Hello,
i hope someone will clear me on this one.
1. I never saw what is the difference between "Project References" and "J2EE Module Dependencies".
To me they seem to do the same thing.
In fact what is "Project References" for? What is the subtle feature it covers that "Java Build Path/Projects", "Order and Export " or "J2EE Module Dependencies" do not cover?
2. Also, for a standard Java project, is there a difference between adding another Java project in "Project References" or adding it to "Java Build Path / Projects"?
These also seem the identical to me. What is the subtle difference?
Thanks a lot.
[Updated on: Thu, 17 June 2010 09:10] Report message to a moderator
|
|
|
Re: "Project References" property [message #541751 is a reply to message #540747] |
Tue, 22 June 2010 12:29 |
Mauro Molinari Messages: 285 Registered: July 2009 |
Senior Member |
|
|
Il 17/06/2010 11.07, vlad.balan ha scritto:
> Hello,
>
> i hope someone will clear me on this one. I never understood what is the
> difference between "Project References" and "J2EE Module Dependencies".
As I said in the other post, projects selected in J2EE Module
Dependencies are aslo deployed as JARs in the WEB-INF/lib folder of the
dependent project.
If you select a JAR there, it will also be copied to WEB-INF/lib of the
dependent project.
I've never used "Project References" (see below).
> Also, for a standard Java project, is there a difference between adding
> another Java project in "Project References" or adding it to "Java Build
> Path / Projects"
> ?
If think there's no difference for Java Projects. I think "Project
References" are generic dependencies among projects. For Java Projects
in particular, dependencies are usually meant to be build path
dependencies, so the more specific way to add such a dependency is
through "Java Build Path | Projects".
It may be that, for other kinds of projects that do not refer to Java,
the "Project References" were a way to estabilish a relationship between
projects.
Mauro.
|
|
|
Powered by
FUDForum. Page generated in 0.02172 seconds