Woof! On Thu, 24 Dec 2009 10:33:43 -0500, Scott Lawrence <[email protected]> wrote:
> One thing that I'd like to see in all the wrapper scripts for java is > changing how the classpath is set. The current scripts all do it from > the command line with '-cp', which produces ungodly long command lines > when you're looking at process displays (ps -ef or ps auxw). > > My understanding is that you could put the same value in the CLASSPATH > environment value and not use the command line option, which would make > them _much_ shorter. Is there any reason why we don't do this? Historically, -classpath and -cp and CLASSPATH did not always have the exact same behavior. They do now. If you are gonna change this, consider that as of Java 6 the classpath can finally accept wildcards to find .jar files. Thus all the directory manipulation that is done explicitly in those shell scripts can be replaced with a simple wild card match, which should simplify the scripts significantly. http://java.sun.com/javase/6/docs/technotes/tools/solaris/classpath.html --Woof! _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
