You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2006/06/10 20:08:42 UTC

Re: svn commit: r413337 - /incubator/harmony/enhanced/jchevm/libjc/jc_invoke.c

Thanks Archie.  That's one less thing I have to support in the wrapper
script I use to run the classlib tests.

BTW, do you mind if I add some svn:ignore properties for generated files
to the jchevm svn tree?  It helps make the output of "svn status" more
useful.

Regards,
 Mark.

On 10 June 2006 at 17:58, archie@apache.org wrote:
> Author: archie
> Date: Sat Jun 10 10:58:21 2006
> New Revision: 413337
> 
> URL: http://svn.apache.org/viewvc?rev=413337&view=rev
> Log:
> Add support for the -showversion command line flag for JDK compatibility.
> 
> Modified:
>     incubator/harmony/enhanced/jchevm/libjc/jc_invoke.c
> 
> Modified: incubator/harmony/enhanced/jchevm/libjc/jc_invoke.c
> URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/jchevm/libjc/jc_
> invoke.c?rev=413337&r1=413336&r2=413337&view=diff
> =============================================================================
> =
> --- incubator/harmony/enhanced/jchevm/libjc/jc_invoke.c (original)
> +++ incubator/harmony/enhanced/jchevm/libjc/jc_invoke.c Sat Jun 10 10:58:21 2
> 006
> @@ -96,6 +96,8 @@
>  	"Show additional options" },
>      {	'V', "version",		NULL,
>  	"Display version and exit" },
> +    {	'S', "showversion",	NULL,
> +	"Display version then proceed" },
>      {	'?', "help",		NULL,
>  	"Display this help information" },
>      {	0, NULL, NULL, NULL }
> @@ -109,6 +111,7 @@
>      {	"-cp",		"-c",		0,	NULL },
>      {	"-classpath",	"-c",		0,	NULL },
>      {	"-version",	"-V",		0,	NULL },
> +    {	"-showversion",	"-S",		0,	NULL },
>      {	"-help",	"-?",		0,	NULL },
>      {	"-jar",		"-j",		0,	NULL },
>      {	"-mx",		NULL,		0,	"jc.heap.size" },
> @@ -406,14 +409,18 @@
>  				goto done;
>  			break;
>  		    }
> +		case 'S':
>  		case 'V':
>  			jc_print(printer, stdout,
>  			    "JC virtual machine version %s (r%lu)\n"
> -			    "Copyright (C) 2003-2006 Archie L. Cobbs\n"
> +			    "Copyright (C) 2003-2006 Archie L. Cobbs.\n"
>  			    "All rights reserved.\n", VERSION,
>  			    _jc_svn_revision);
> -			rtn = _JC_RETURN_NORMAL;
> -			goto done;
> +			if (opt->sform == 'V') {
> +			    rtn = _JC_RETURN_NORMAL;
> +			    goto done;
> +			}
> +			break;
>  		case 'X':
>  			jc_print(printer, stdout, "Additional options:\n");
>  			jc_print(printer, stdout, "  %-16s", "-Dfoo=bar");
> 



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: svn commit: r413337 - /incubator/harmony/enhanced/jchevm/libjc/jc_invoke.c

Posted by Archie Cobbs <ar...@dellroad.org>.
Mark Hindess wrote:
> BTW, do you mind if I add some svn:ignore properties for generated files
> to the jchevm svn tree?  It helps make the output of "svn status" more
> useful.

Sure thing.. svn:eol-style and svn:keywords are OK too :-)

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org