aboutsummaryrefslogtreecommitdiffstats
path: root/java/javavmwrapper
Commit message (Collapse)AuthorAgeFilesLines
* . Cross reference manvm(1).glewis2006-09-201-0/+1
|
* . The new Diablo JDK release doesn't need -XX:+UseMembar.glewis2006-07-061-2/+0
|
* . Add manvm(1). This is similar to javavm(1), but allows one to view theglewis2006-06-134-175/+362
| | | | | | | manual pages for the different VMs. [1] . Minor code clean ups (white space, redirection). PR: 93099
* . Introduce the JAVAVM_DRYRUN variable. If this is set, then javavm willglewis2006-06-093-6/+50
| | | | | | | | | not invoke any Java programmes, but will instead print out what it would have invoked and some related settings. This work was inspired by the PR, but doesn't use its implementation. PR: 96050
* . Revert previous commit. It was my recollection that javac needed theglewis2006-06-082-2/+1
| | | | | | | | flags when being used to bootstrap the jdk15 port, and this was confirmed by somebody else. However, javac doesn't seem to be happy with it so turn it back off. Submitted by: hq
* . Diablo's javac also needs -XX:+UseMembar.glewis2006-06-072-1/+2
|
* . Restrict the -XX:+UseMembar option to the java(1) programme to prevent itglewis2006-06-062-1/+2
| | | | | | | | | causing problems for programmes such as jar(1). I actually believe it is needed by some of the other programmes, but we'll add it as needed. . Bump PORTREVISION for this change. PR: 98586 Submitted by: Achilleas Mantzios <achill@matrix.gatewaynet.com>
* . ! -z -> -n for clarity.glewis2006-06-041-25/+25
| | | | Suggested by: hq
* . Allow the setting up of command line options to be passed to theglewis2006-06-048-13/+236
| | | | | | invoked Java VM. Reviewed by: hq
* . Bump PORTREVISION for the previous fix.glewis2006-04-271-1/+1
| | | | Suggested by: hq
* . Avoid stomping on environment variables by prefixing variable names withglewis2006-04-271-123/+121
| | | | | | | _JAVAVM_. The notable exception is JAVA_HOME, which is deliberately set by the wrapper. PR: 88048
* . Avoid an infinite loop by ignoring JAVA_HOME if its set to the locationglewis2005-11-032-8/+11
| | | | | | | | of the wrapper script. I'm using a different patch than Herve submitted, but the idea is the same. . Bump PORTREVISION. Submitted by: hq
* . Add a couple of comments.glewis2005-06-211-0/+14
| | | | | . Kick unprivileged users out early in registervm/unregistervm to prevent double error messages.
* . Check the user can read/write the configuration file and that it existsglewis2005-06-212-8/+11
| | | | | | | | | | | | | | | | | before attempting to sort it when running checkvms. This prevents a double error message for an unprivileged user. . When asked to register a VM that is already registered, don't error. Print a warning that the VM is already registered and don't add it to the configuration file (but do check its links and sort the config file still). This prevents problems with 'make install -DFORCE_PKG_REGISTER' erroring out during the post-install stage for the JDK ports. Bump PORTREVISION for this change since it affects the various JDK ports. [2] Reported by: anholt, via hq [2]
* . Update description.glewis2005-04-251-2/+4
| | | | Suggested by: hq
* . Try to clarify that the BUGS section is talking about the Java VMglewis2005-04-191-3/+4
| | | | | | | selection procedure used when ${PORTSDIR}/Mk/bsd.java.mk isn't present. . Fix a typo (JAVA_PREFERRED_PORT -> JAVA_PREFERRED_PORTS). Pointed out by: hq
* . A big mdoc fixup kindly provided by the mdoc police. Any problems shouldglewis2005-04-134-33/+72
| | | | | | | be attributed to my merging of the mdoc fixes with some content changes I had made. Submitted by: simon
* . Yet more clarification of how the selection of the Java VM can beglewis2005-04-131-1/+4
| | | | different depending on whether bsd.java.mk exists on the system.
* . Fix some sentence breaks.glewis2005-04-132-6/+29
| | | | | | . Add some more details on how javavmwrapper selects the VM. [2] Suggested by: hq [2]
* . Document that the environment variables can also be a space delimitedglewis2005-04-121-9/+13
| | | | | | list of values, not just a single value. Pointed out by: hq
* . Install manual pages for javavmwrapper.glewis2005-04-125-1/+318
| | | | | | . Bump PORTREVISION. PR: 27075
* . Ignore errors from the call to registervm, otherwise one sees a wholeglewis2005-04-121-2/+2
| | | | slew of spurious errors when upgrading the port.
* . Separate standard variables from variables local to this Makefile.glewis2005-04-121-1/+2
|
* One more place to reflect existence of jdk 1.5.phantom2005-01-212-5/+8
| | | | Bump PORTREVISION
* Take into account the '-devel' package name suffix when registering CONFLICTShq2004-12-241-1/+1
| | | | | | with java/kaffe-devel Pointy hat to: me
* - Register CONFLICTS with java/kaffe and java/kaffe-develhq2004-12-241-0/+2
|
* . Move pkg-install to files/pkg-install.in since it is modified before use.glewis2004-12-162-2/+3
| | | | | | | This also fixes a problem that when being modified it wasn't specified by absolute path. Reported by: Robert Backhaus <robbak@robbak.com>
* . Run the pkg-install script correctly.glewis2004-12-081-2/+2
| | | | | . Bump PORTREVISION for this change and the previous change to javavmwrapper itself.
* . Some minor comment and formatting fixes (should have probably have beenglewis2004-12-081-7/+31
| | | | | | | | done separately). . Much more stringent checks on VMs that we are trying to register. This prevents most bogus and circular registrations. [1] Suggested by: Josh Elsasser <josh@elsasser.org> [1]
* . javavmwrapper uses PATH to make sure it gets the system version ofglewis2004-11-132-0/+5
| | | | | | | | | | utilities. Unfortunately this overrides any PATH that may have been set by the user and hence affects the ability of java to execute external programmes. So, save the PATH before setting it and then restore it immediately before executing java. . Bump PORTREVISION for this fix. Reported by: Christian Laursen <xi@borderworlds.dk>
* . Usher in javavmwrapper 2.0, a rewrite of the wrapper scripts designed toglewis2004-11-125-36/+512
| | | | | | | | | | | | | | | | | | | | | | | | | | | allow the simple use of multiple VMs. Brief detail of the main changes: . When a VM is registered, symbolic links for its executables are created in ${LOCALBASE}/bin. This allows people to just type 'java', 'javac', etc. without having to add the VM installation directory to their PATH. . The actual 'java' that is executed via one of these symlinks is determined by the order of the (sorted) configuration file ${LOCALBASE}/etc/javavms and by the environment variables JAVA_VERSION, JAVA_OS and JAVA_VENDOR which function to select a VM as they do in the ports framework. . There is a new command, checkvms, to sanity check the configuration and symlinks. . The "javavm" executable is currently retained in its original capacity as a synonym for Java for backward compatibility. However, its use is deprecated. . Temporarily set MAINTAINER to myself to make monitoring any initial bug reports easier. The intent is to convert it to java@ at a later date. This is built on the ideas of znerd, hq and Shelton C. Johnson Jr., with hq and Shelton contributing code and reviews. PR: 27079, 39080 Reviewed by: hq, Shelton C. Johnson Jr. <shelton_c_j@yahoo.com>
* . JAVALIBDIR is more appropriate than JAVAJARDIR now we have it.glewis2004-09-042-4/+4
|
* Add a classpath script.des2004-04-013-3/+23
|
* Let be hohest: I really don't have a time now to properly maintain allsobomax2003-07-291-1/+1
| | | | | these great pieces of software, so that let others with more free time to take over them.
* Clear moonlight beckons.ade2003-03-072-1/+1
| | | | | | | Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
* Long overdue fix: correctly process arguments with spaces.sobomax2002-02-032-5/+4
|
* Revert previous fix - it was not properly thought out.sobomax2001-12-032-3/+4
| | | | Submitted by: ted@tednet.nl (Ted Lindgreen)
* Use "$@" instead of "$*" to pass parameters to a subshell. This ensures thatsobomax2001-11-262-4/+3
| | | | | | | parameters with spaces are passed correctly. PR: 32191 Submitted by: Ben Suffolk <ben.suffolk@orange.co.uk>
* Fix typoroger2001-01-191-1/+1
|
* Whitespace-only:sobomax2000-11-011-2/+2
| | | | Make indentation uniform across my ports.
* Add "unset JAVA_HOME" to make javavmwrapper working with some brain damagedsobomax2000-06-202-1/+3
| | | | software (Adobe AcrobatViewer).
* Fix typo.sobomax2000-06-121-1/+1
|
* Handle comments in all places.sobomax2000-06-121-3/+4
|
* Initial import of javavmwrapper - a simple shell script which would allowsobomax2000-06-125-0/+161
Java-based ports to use any of the Java Virtual Machines installed on the system.