aboutsummaryrefslogtreecommitdiff
path: root/java/javavmwrapper
Commit message (Collapse)AuthorAgeFilesLines
* . Add a couple of comments.Greg Lewis2005-06-201-0/+14
| | | | | | | | . Kick unprivileged users out early in registervm/unregistervm to prevent double error messages. Notes: svn path=/head/; revision=137787
* . Check the user can read/write the configuration file and that it existsGreg Lewis2005-06-202-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] Notes: svn path=/head/; revision=137785
* . Update description.Greg Lewis2005-04-251-2/+4
| | | | | | | Suggested by: hq Notes: svn path=/head/; revision=134145
* . Try to clarify that the BUGS section is talking about the Java VMGreg Lewis2005-04-181-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 Notes: svn path=/head/; revision=133600
* . A big mdoc fixup kindly provided by the mdoc police. Any problems shouldGreg Lewis2005-04-124-33/+72
| | | | | | | | | | be attributed to my merging of the mdoc fixes with some content changes I had made. Submitted by: simon Notes: svn path=/head/; revision=133176
* . Yet more clarification of how the selection of the Java VM can beGreg Lewis2005-04-121-1/+4
| | | | | | | different depending on whether bsd.java.mk exists on the system. Notes: svn path=/head/; revision=133159
* . Fix some sentence breaks.Greg Lewis2005-04-122-6/+29
| | | | | | | | | . Add some more details on how javavmwrapper selects the VM. [2] Suggested by: hq [2] Notes: svn path=/head/; revision=133155
* . Document that the environment variables can also be a space delimitedGreg Lewis2005-04-121-9/+13
| | | | | | | | | list of values, not just a single value. Pointed out by: hq Notes: svn path=/head/; revision=133152
* . Install manual pages for javavmwrapper.Greg Lewis2005-04-115-1/+318
| | | | | | | | | . Bump PORTREVISION. PR: 27075 Notes: svn path=/head/; revision=133092
* . Ignore errors from the call to registervm, otherwise one sees a wholeGreg Lewis2005-04-111-2/+2
| | | | | | | slew of spurious errors when upgrading the port. Notes: svn path=/head/; revision=133091
* . Separate standard variables from variables local to this Makefile.Greg Lewis2005-04-111-1/+2
| | | | Notes: svn path=/head/; revision=133085
* One more place to reflect existence of jdk 1.5.Alexey Zelkin2005-01-212-5/+8
| | | | | | | Bump PORTREVISION Notes: svn path=/head/; revision=126997
* Take into account the '-devel' package name suffix when registering CONFLICTSHerve Quiroz2004-12-241-1/+1
| | | | | | | | | with java/kaffe-devel Pointy hat to: me Notes: svn path=/head/; revision=125077
* - Register CONFLICTS with java/kaffe and java/kaffe-develHerve Quiroz2004-12-241-0/+2
| | | | Notes: svn path=/head/; revision=125074
* . Move pkg-install to files/pkg-install.in since it is modified before use.Greg Lewis2004-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> Notes: svn path=/head/; revision=124218
* . Run the pkg-install script correctly.Greg Lewis2004-12-071-2/+2
| | | | | | | | . Bump PORTREVISION for this change and the previous change to javavmwrapper itself. Notes: svn path=/head/; revision=123410
* . Some minor comment and formatting fixes (should have probably have beenGreg Lewis2004-12-071-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] Notes: svn path=/head/; revision=123409
* . javavmwrapper uses PATH to make sure it gets the system version ofGreg Lewis2004-11-122-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> Notes: svn path=/head/; revision=121460
* . Usher in javavmwrapper 2.0, a rewrite of the wrapper scripts designed toGreg Lewis2004-11-115-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> Notes: svn path=/head/; revision=121406
* . JAVALIBDIR is more appropriate than JAVAJARDIR now we have it.Greg Lewis2004-09-032-4/+4
| | | | Notes: svn path=/head/; revision=118047
* Add a classpath script.Dag-Erling Smørgrav2004-04-013-3/+23
| | | | Notes: svn path=/head/; revision=105874
* Let be hohest: I really don't have a time now to properly maintain allMaxim Sobolev2003-07-291-1/+1
| | | | | | | | these great pieces of software, so that let others with more free time to take over them. Notes: svn path=/head/; revision=85841
* Clear moonlight beckons.Ade Lovett2003-03-072-1/+1
| | | | | | | | | | Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti. Notes: svn path=/head/; revision=77045
* Long overdue fix: correctly process arguments with spaces.Maxim Sobolev2002-02-022-5/+4
| | | | Notes: svn path=/head/; revision=54146
* Revert previous fix - it was not properly thought out.Maxim Sobolev2001-12-032-3/+4
| | | | | | | Submitted by: ted@tednet.nl (Ted Lindgreen) Notes: svn path=/head/; revision=50967
* Use "$@" instead of "$*" to pass parameters to a subshell. This ensures thatMaxim Sobolev2001-11-262-4/+3
| | | | | | | | | | parameters with spaces are passed correctly. PR: 32191 Submitted by: Ben Suffolk <ben.suffolk@orange.co.uk> Notes: svn path=/head/; revision=50565
* Fix typoRoger Hardiman2001-01-191-1/+1
| | | | Notes: svn path=/head/; revision=37328
* Whitespace-only:Maxim Sobolev2000-11-011-2/+2
| | | | | | | Make indentation uniform across my ports. Notes: svn path=/head/; revision=34558
* Add "unset JAVA_HOME" to make javavmwrapper working with some brain damagedMaxim Sobolev2000-06-202-1/+3
| | | | | | | software (Adobe AcrobatViewer). Notes: svn path=/head/; revision=29708
* Fix typo.Maxim Sobolev2000-06-121-1/+1
| | | | Notes: svn path=/head/; revision=29545
* Handle comments in all places.Maxim Sobolev2000-06-121-3/+4
| | | | Notes: svn path=/head/; revision=29541
* Initial import of javavmwrapper - a simple shell script which would allowMaxim Sobolev2000-06-125-0/+161
Java-based ports to use any of the Java Virtual Machines installed on the system. Notes: svn path=/head/; revision=29536