You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Alexander Pokahr <5p...@informatik.uni-hamburg.de> on 2001/09/27 10:56:13 UTC

Re: Putting an application using Velocity in a jar file: How doyoudo it?

>> Some discussion on this topic can be found here:
>> http://developer.java.sun.com/developer/bugParade/bugs/4356783.html
> 
> This link seems dead. Is the -jar option buggy ?


You have to be logged in to the developer connection,
to access the bug database:
http://developer.java.sun.com/developer/?frontpage-main


No, the -jar option is not buggy. But the evaluation section
offers a nice description of why it is implemented that way:


Synopsis:   Running java.exe with "-jar" ignores the classpath
State:      Closed, will not be fixed

Evaluation:
This feature request (not bug) could be implemented fairly trivially,
but would create backward compatibility issues.  In particular, users
who were (perhaps unknowingly) depending on their classpath NOT
interfering, could see new failures.  This is adequate reason to reject
the change request.


This sounds similar to what Geir mentioned.



Alex