Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » "Project References" property
"Project References" property [message #540747] Thu, 17 June 2010 05:07 Go to next message
vlad.balan Missing name is currently offline 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 05:10]

Report message to a moderator

Re: "Project References" property [message #541751 is a reply to message #540747] Tue, 22 June 2010 08:29 Go to previous message
Mauro Molinari is currently offline Mauro Molinari
Messages: 277
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.
Previous Topic:"Java Build Path / Order and Export" propery
Next Topic:Consuming a .net ws in eclipse?
Goto Forum:
  


Current Time: Sat Jul 26 05:16:06 EDT 2014

Powered by FUDForum. Page generated in 0.10947 seconds