One more JRuby Properties question

View: New views
3 Messages — Rating Filter:   Alert me  

One more JRuby Properties question

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The example shown under the JRuby Properties text box says
-Djruby.objectspace.enabled=true

When I do this, the commad is as follows. Doesn't the -J need to be
added, as in -J-Djruby.objectspace.enabled=true? I assumed by the
example, that the IDE would add the -J. Should I have put
-J-Djruby.objectspace.enabled=true in the text box? Or is the -J not
needed in the command below?

-Djruby.shell="cmd.exe" -Djruby.script=jruby.bat
-Djruby.objectspace.enabled=true org.jruby.Main
-IC:\NetBeansProjects\RubyApplication1\lib
-IC:\NetBeansProjects\RubyApplication1\test
-IC:\NetBeansProjects\RubyApplication1\spec
C:\NetBeansProjects\RubyApplication1\lib\main.rb"


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: One more JRuby Properties question

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kutler wrote:
> The example shown under the JRuby Properties text box says
> -Djruby.objectspace.enabled=true
>
> When I do this

Please, try to Google 'ruby objectspace'.

There is really a lot of good information about ObjectSpace, far better
then I'm able to provide in short email.

, the commad is as follows. Doesn't the -J need to be
> added, as in -J-Djruby.objectspace.enabled=true? I assumed by the
> example, that the IDE would add the -J. Should I have put
> -J-Djruby.objectspace.enabled=true in the text box? Or is the -J not
> needed in the command below?

No, without -J. Exactly as you see in the example.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: One more JRuby Properties question

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin,

I don't want to make extra work for you, so please know that I am not
asking what these do but how to pass them. I know that I need to look
elsewhere for what they do, and I have done so. I am learning how to
tune performance and I am trying to figure out how to pass these options
in the IDE. You have been a great help in figuring this out and I think
I am finally getting it.

Martin Krauskopf wrote:

> Chris Kutler wrote:
>> The example shown under the JRuby Properties text box says
>> -Djruby.objectspace.enabled=true
>>
>> When I do this
>
> Please, try to Google 'ruby objectspace'.
>
> There is really a lot of good information about ObjectSpace, far
> better then I'm able to provide in short email.
>
> , the commad is as follows. Doesn't the -J need to be
>> added, as in -J-Djruby.objectspace.enabled=true? I assumed by the
>> example, that the IDE would add the -J. Should I have put
>> -J-Djruby.objectspace.enabled=true in the text box? Or is the -J not
>> needed in the command below?
>
> No, without -J. Exactly as you see in the example.
>
>     m.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...