Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: problem compiling source code
At 7:31 PM +0000 8/8/02, sixth_rule wrote:
I am using javacThere are a couple of libraries that are needed, even during compilation. You should have gotten a "lib" directory when you checked out the source. They're in there, and have to be manually added to the javac command line. But can I suggest using bare javac is a very hard process, and that you'd be better off investing a few minutes installing JBuilder or ant to make this process automatic? They're tools that handle the library paths, deciding what to compile, etc. Depending on what OS you're using, or the other might be easier. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: problem compiling source code
sixth_rule
I am using javac
i moved the jmrix dir into jmri and set the class path things are working now with these classes i am now trying to compile the LocoNetMessage class but run into an error every time i it tries to compile a line with log.error in it like log.error("invalid length in call to ctor: "+len); or static org.apache.log4j.Category log = org.apache.log4j.Category.getInstance(LocoNetMessage.class.getName()); its actually been a while since i've programed so my skills are rusty and i think i know the purpose of these lines there like system.out messages to veiw the error except maybe your trying to keep them in a log :) anyways your patience with my ingnorance is appriciated Chad Spickett --- In jmriusers@y..., Bob Jacobsen <Bob_Jacobsen@l...> wrote: At 5:29 PM +0000 8/8/02, sixth_rule wrote:tryingi have compiled just one class JmriException.javaTo help, I think we're going to need a little more information. to compile? |
Locked
Re: 1.0.3 test installer uploaded
Jim Hanna
Hi Bob:
Downloaded the program and copied it to my JMRI CD Files disk, took it into the train room computer , installed with no difficulty and it works great...and the JMRI.1.0.3 reads out at the top of the opening page. Thanks for all your work on this program. Although I don't know that much about computers(just ask Robin)I will be more than happy to test any of my decoder equipped locos per your instructions if you are in need of feedback on a particular decoder that i might have in my roster. Thanks again, Jim Hanna |
Locked
Re: 1.0.3 control panel questions
Robin Becker
Bob,
Once icons are placed on the control panel, the tooltip says"Alt-click tosee menu, drag with meta key..." On a Mac, with only one button, "alt" is the control or option keys.Tried CTRL or ALT with left and right mouse buttons but nothing causes a menu to pop up. The right mouse button seems to be the "meta" key. Sorry, not sure if you were responding above to the popup menu or the objectCan you view the sensor or turnout number once you place them onthe panel? number question. Robin |
Locked
Re: 1.0.3 control panel
Robin Becker
Bob,
It isn't minimized. Seems to be about 150x150. Resizing one time (small or1. When I create a new control panel and add icons, nothing is visible oneverything is there. larger both work) fixes the problem. Well I created two missing upper-left files, unknown and error, and made a3. When I add a _left_ turnout to the drawing, the initial icondisplayed isa _right_ turnout in unknown state. Once I click on the turnoutit becomesa closed _left_ turnout.This is a bug; I seem to have lost the file for one of the "unknown" new panel. Same problem. However, if I manually edit the panel file and make the changes (upper-left and thrown where appropriate), then it displays correctly. But I recommend you switch to JmriDemo for playing with these panels.When I set it to LocoNet Hexfile the sensor change state as expected. Robin |
Locked
Re: problem compiling source code
At 5:29 PM +0000 8/8/02, sixth_rule wrote:
i have compiled just one class JmriException.javaTo help, I think we're going to need a little more information. How are you doing this? Are you using either the Ant or JBuilder tools described on Or are you using plain javac? If so, in what directory are you trying to compile? Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 control panel
Robin Becker
Jon,
toggle quoted message
Show quoted text
Select a different mirror site. I had the same problem with Telios, but when I switched to another site it worked fine. Robin -----Original Message-----
From: Jon Miller [mailto:atsf@...] Sent: Thursday, August 08, 2002 10:36 AM To: jmriusers@... Subject: Re: [jmriusers] 1.0.3 control panel It came from the net? From sourceforge.net, download server and reads; Could not read file. Go back aug 08, 2002 10:33 Jon Miller AT&SF For me time has stopped in 1941 Digitrax DCC owner, Chief system NMRA Life member #2623 Member SFRH&MS Yahoo! Groups Sponsor ADVERTISEMENT To unsubscribe from this group, send an email to: jmriusers-unsubscribe@... Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. |
Locked
problem compiling source code
sixth_rule
i have compiled just one class JmriException.java
yet i can't compile LocoNetException.java ??? i keep getting the message can't resolve symbol class :JmriException location:package jmri import jmri.JmriException i have touached nothing but can't find the problem?? i have left all the files where they are and i don't know why it won't compile?? Chad Spickett |
Locked
Re: 1.0.3 control panel
At 9:43 AM -0700 8/8/02, Jon Miller wrote:
I just attempted to download 1.0.3 and it wouldn't do it. SomethingDid that message come from the web, e.g. in your browser, or from a partially downloaded file? Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 control panel
At 9:32 AM -0700 8/8/02, Robin Becker wrote:
Arrgh! You're completely correct. I've been getting these names wrong about 50% of the time, and I couldn't figure out why. It's easy to rename them all, so I'll do that. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 control panel
At 9:16 AM -0700 8/8/02, Robin Becker wrote:
Bob,Does the panel start minimized (nothing by header)? Or is it bigger than that. 2. I can change a turnout by clicking on it but I can't change the displayedIt should be. It requires a layout connection to actually work. But see below. 3. When I add a _left_ turnout to the drawing, the initial icon displayed isThis is a bug; I seem to have lost the file for one of the "unknown" turnouts. Will fix. 3a. When I save and then load the panel, all the turnouts are right turnoutsI think that's the same thing. There's a missing file, and code gets confused trying to cope. LocoTools shows this message: Pick an input source from the input menuShort answer: Looks like a bug. Longer answer: Each of the three programs uses its own config file. The JmriDemo and LocoTools programs can _also_ be used without a config file, for example if you want to play with multiple connections at the same time. Or the more common case of trying to debug a connection. So they have "Input" menus from which you can pick a protocol driver. If JmriDemo discovers a config file with a protocol selected, it uses that and disables the input menu. It also posts messages about whether you've been configured from a file, or need to make your own connection from the menu. LocoTools seems to have screwed up that logic. I'll fix it. But I recommend you switch to JmriDemo for playing with these panels. That's because it's configuration file (and input menu) has a "LocoNet Hexfile" option that starts a debugging "layout simulator" instead of a real layout connection. Select this, quit and restart, and I think that your sensors should be animated. And thanks for your patience with these little problems. FYI I installed Java 1.4 and the combo box redraw problem when scrolling aGreat, thanks for trying that. -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: Decoder Pro - WOW!
Mr_Mike_M
Hi Bill-
I am using the LocoBuffer kit from John Jabour (MS-100 compatible). It is connected to an old laptop's serial port with a 9 to 25 pin converter. If you are using Digitrax, you _must_ have either the MS-100 computer interface or the LocoBuffer. Some other DCC manufacturers include a serial port interface on their command stations. You can't hook up the loconet directly to the computer! -Mike M. --- In jmriusers@y..., "billroger" <billroger@c...> wrote: Mike:MS100 (from PR1)? Is it a RJ11 plug to a 25 pin adapter? Can't get mine to see the loco on programming track.
|
Locked
Re: 1.0.3 control panel questions
At 8:52 AM -0700 8/8/02, Robin Becker wrote:
Bob or other control panel guru,Uh, I don't know? On a Mac, with only one button, "alt" is the control or option keys. So to see the popup menu I hold control and click-down on something. "Meta" is the command (a.k.a. Apple) key, so I hold that down to move things around. Maybe control works the same on a Windows box? PS. Bob - hardly worth noting at this point but the readme files show up inWorth noting, as I hadn't noticed. Will fix that, at least for the README file. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: CVP's EasyDCC AD4 Accessory Decoder
Mark Gurries
Bob,
If you need one, I got one to loan you. Bob Jacobsen wrote: I'd like to progran my CVP EasyDCC AD4 Accessory Decoder's viaThe AD4 splits its address across two CVs, which is a bit of a pain Best Regards, Mark Gurries Linear Technology Power Supply & Battery charger Applications Engineer/Manager --------------------------------------------------------- Model Railroad Club and NMRA DCC presentations are at: -------------------------------------------------------- Audio Enthusiast (Love SAE equipment) ---------------------------------------------------------- |
Locked
Re: 1.0.3 control panel
Robin Becker
Bob,
Apologize for the initial sketchy data on #3 in my previous post. When the turnouts were drawn, all would display thrown and closed states by clicking on them. Examination of the panel file shows the problem: the closed and thrown icons for all turnouts except the first one are set to os-upper-right-closed.gif. Here is the data from a test panel file. Turnout #1 was drawn as an upper-right turnout and #10 was an upper-left turnout. They both toggled fine when first drawn. <turnouticon class="jmri.jmrit.display.configurexml.TurnoutIconXml" x="184" y="213" height="32" width="39" closed="resources/icons/smallschematics/tracksegments/os-upper-right-closed. gif" thrown="resources/icons/smallschematics/tracksegments/os-upper-right-thrown. gif" unknown="resources/icons/smallschematics/tracksegments/os-upper-right-unknow n.gif" inconsistent="resources/icons/smallschematics/tracksegments/os-upper-right-e rror.gif" turnout="LT1" /> <turnouticon class="jmri.jmrit.display.configurexml.TurnoutIconXml" x="91" y="209" height="32" width="39" closed="resources/icons/smallschematics/tracksegments/os-upper-right-closed. gif" thrown="resources/icons/smallschematics/tracksegments/os-upper-right-closed. gif" unknown="resources/icons/smallschematics/tracksegments/os-upper-right-unknow n.gif" inconsistent="resources/icons/smallschematics/tracksegments/os-upper-right-e rror.gif" turnout="LT10" /> I think there is a naming issue here with turnouts that might cause confusion (it confused me anyway). Normally a lefthand turnout means the diverging route goes to the left of the main route, so the "upper right" turnout in the control panel is a "lefthand" turnout. Robin 3. When I add a _left_ turnout to the drawing, the initial icon displayed is a _right_ turnout in unknown state. Once I click on the turnout it becomes a closed _left_ turnout. 3a. When I save and then load the panel, all the turnouts are right turnouts in unknown state. I can click on each one and change it to closed, however only one will allow me to toggle it between closed and thrown. |
to navigate to use esc to dismiss