Eclipse is not Maven, and Maven is not Eclipse - you are kind of
comparing apples to orangutans.

Eclipse makes no differentiation between compile time and run time,
but Maven is different - it's a build tool, not an IDE.

As I understand it, compile time means "what I need to compile this
thing", but runtime means "what I need to run the beast."

An example would be JDBC drivers. I don't need the Oracle JDBC driver
jar to compile my application (unless I did something really deeply
profoundly wrong) but I do need it to *run* my application.

Larry


On 5/16/07, lightbulb432 <[EMAIL PROTECTED]> wrote:

So "runtime" seems very similar to the "compile" scope type. Could somebody
please explain the difference?

The Maven documentation seems to imply something about transitive
dependencies, but I don't understand what it's trying to say.

Thanks.



Larry Meadors-2 wrote:
>
> I'd assume that it's there so that you can run your app from the IDE -
> that's the behavior I'd expect.
>
> Larry
>
>
> On 5/16/07, lightbulb432 <[EMAIL PROTECTED]> wrote:
>>
>> Why are dependencies with a scope of "runtime" added to Eclipse's
>> .classpath
>> file? I thought the point of runtime is that it's not a compile-time
>> dependency; therefore, why the addition to the .classpath?
>>
>> Perhaps someone can correct me, but my understanding of runtime scope is
>> that it is not included in the compile-time classpath, but is added to
>> the
>> JAR or WAR upon packaging - is this an accurate statement?
>>
>> Thanks.
>> --
>> View this message in context:
>> 
http://www.nabble.com/Runtime-dependencies-in-Eclipse-classpath-tf3769914s177.html#a10658508
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/Runtime-dependencies-in-Eclipse-classpath-tf3769914s177.html#a10658694
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to