(Category) (Category) FAQ-O-Matic :
JBuilder 7 General
General questions about JBuilder 7 not specific to a particular platform.
Subcategories:

Answers in this category:
(Answer) When you run the JRun Deplyment Wizard for the first time, it will add a menu for it in JBuilder on the Tools menu. However, the way it does it causes an error.
(Answer) Why doesn't the Tab key work anymore in JBuilder 7?
(Answer) How can I set VM parameters for an application generated by the Native Executable wizard?
(Answer) CVS + SSH + JB7

[Add a New Answer in "JBuilder 7 General"]
gyles19@visi.com, spam@gillmerderge.com
2006-Feb-05 7:01pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 7 General :
When you run the JRun Deplyment Wizard for the first time, it will add a menu for it in JBuilder on the Tools menu. However, the way it does it causes an error.
Jack Frosch writes:

Here's how to fix it:

In bin/JBuilder.config, the following lines are added:

  # JRun config
  include jrun.config

JRun.config contains the following lines:

  #
  # JRunWizard : JRun Integration for JBuilder  
  #
  # JRUNWIZARD_HOME - location where the wizard is installed
  # JRUN_HOME - location where JRun is installed
  #
  vmparam "-Djrunwizard.dir=D:\swdev\Borland\JBuilder7\projects\jrunwizard"
  vmparam "-Djrun.home=D:\swdev\Macromedia\JRun4.0"
  vmparam "-Dejipt.home=D:\swdev\Macromedia\JRun4.0"
addjars D:\swdev\Macromedia\JRun4.0\lib addjars D:\swdev\Macromedia\JRun4.0\servers\lib addjars D:\swdev\Macromedia\JRun4.0\lib\ext addjars D:\swdev\Borland\JBuilder7\projects\jrunwizard\jbuilder-jrunwizard.jar

The problem is, the quotes around the terms after the vmparam tag. Change these to:

  vmparam -Djrunwizard.dir=D:\swdev\Borland\JBuilder7\projects\jrunwizard
  vmparam -Djrun.home=D:\swdev\Macromedia\JRun4.0
  vmparam -Dejipt.home=D:\swdev\Macromedia\JRun4.0

and the JBuilder will launch normally. Under the Tools menu, you'll see a JRun EJB Wizard menu item. Selecting it launches the JRun deployment wizard as expected.

It's not quite the seamless integration I'd like to see JBuilder 7 have with JRun 4, but it's a start.

[Append to This Answer]
gyles19@visi.com
2002-Jun-10 9:48am
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 7 General :
Why doesn't the Tab key work anymore in JBuilder 7?
The Tab key's action has been changed from "indent" to "format-code." When you press Tab it attempts to reformated the selected lines according to standard Java indentation conventions.

There are several problems with this. First, most non-emacs users find this to be an unintuitive use of Tab. Second, this only works with Java files, so for HTML, JSP's, XML, etc. the Tab key has been rendered useless. Third, even in Java files the indentation isn't always perfect (but it's pretty good).

One simple solution to this is to rebind Tab back to its old "indent" action, and put "format-code" on F2 which is bound to "indent" by default. In other words, exchange the actions of Tab and F2. Another option is to simply get used to the new Tab behavior and use F2 for what used to be called Tab.

An OpenTool that switches the Tab and F2 bindings can be found at:

http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=18294

[Append to This Answer]
spam@gillmerderge.com
2002-Jul-11 4:43pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 7 General :
How can I set VM parameters for an application generated by the Native Executable wizard?
There was an old thread on borland.public.jbuilder.ide that discussed this in some detail. The URL below refers to the first article in the thread, but there are several articles in the thread that contain useful information.

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF8&selm=3cfec508%241_2%40dnews

[Append to This Answer]
spam@gillmerderge.com
2002-Jul-17 8:13am
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 7 General :
CVS + SSH + JB7
JB7's documentation simply tells you that as long as you can use ssh without a password, JB7 will not "frieze" when tring to commit in CVS. This is not completely accurate. If you are using ssh-agent to keep from entering ssh passwords, JB7 will still appear to frieze because now ssh-agent is asking for a password instead of the remote ssh session.

A highly useful resource for getting SSH to work can be found at:

http://mah.everybody.org/docs/ssh

The above page explains how to set up ssh-agent, which like I said, won't help with JB7. But it does get you half way there. Once you've got ssh-agent working, you just need to tell ssh to use the same private key ssh-agent does. By default, ssh looks at ~/.ssh/identity, but ssh-keygen usually creates keys called ~/.ssh/id_dsa or ~/.ssh/id_rsa. So if you don't already have ~/.ssh/identity, try this command:

ln -s ~/.ssh/id_dsa ~/.ssh/identity

If you use id_rsa, use it instead. Then, make sure the permissions for .ssh and everything in it are readable only by your login (600).

So, to test, make sure ssh-agent is not running and try to ssh to the remote system. If that works, JB7 will work too.
2006-Feb-05 6:58pm inertia186@mac.com, gyles19@visi.com

[Append to This Answer]
2006-Feb-05 7:01pm
Previous: (Category) JBuilder 8 General
Next: (Category) JBuilder 7 Known Bugs
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=411
[Search] [Appearance] [Show Top Category Only]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]