You are here

Babiloo Portable 0.6.0 Dev Test 4 (Testers, please)

19 posts / 0 new
Last post
rab040ma
Offline
Last seen: 1 month 3 weeks ago
Joined: 2007-08-27 13:35
Babiloo Portable 0.6.0 Dev Test 4 (Testers, please)

Application: Babiloo

Category: Utilities, Office?

Description: Babiloo Portable is a dictionary program. Patrick P likes it. On the Babiloo home page you can find links to dictionaries. Many of them are for translating a word from one language to another. You can find dictionaries with just words and definitions. Place downloaded dictionaries into Data\Dictionaries for easiest access.

Download: (right click won't work). || MD5: b049557eb6656ac160ae4bed00cd4ad3 || 2008-04-09 19:40 EDT.

This is a Java program. It is configured to use the same java settings created for OpenOffice.org Portable.

Test 4: fixed quoted path for IfFileExists
Test 3: fixed quoted path; moved settings to SETTINGSDIR.

roamer
roamer's picture
Offline
Last seen: 8 years 4 months ago
Joined: 2007-02-21 16:01
I'll test it.

Although the pc I'm on now dosen't have java. I'll have to wait till I'm back home.

OliverK> you don't live on a cow
IRC: It brings out the best in all of us...Especially when tired.

Simeon
Simeon's picture
Offline
Last seen: 3 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
cool

Looks useful. Ill test it later.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Patrick Patience
Offline
Last seen: 2 months 6 days ago
DeveloperModerator
Joined: 2007-02-20 19:26
Yippee

Thankayou.

Simeon
Simeon's picture
Offline
Last seen: 3 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
great

I really like it. And I love Common Files!

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Aciago
Aciago's picture
Offline
Last seen: 8 months 2 weeks ago
Joined: 2007-01-24 14:23
Can't download dictionaries

I have been trying to download the dictionaries but all of them goes to 404... is there any alternative location?

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

rab040ma
Offline
Last seen: 1 month 3 weeks ago
Joined: 2007-08-27 13:35
I was just able to download

I was just able to download a couple.

Are you starting on the "Dictionaries" page?

Do you have Javascript enabled, and did you tick off the "I agree" statement?

MC

Aciago
Aciago's picture
Offline
Last seen: 8 months 2 weeks ago
Joined: 2007-01-24 14:23
.

yes, yes, and yes... Sad

EDIT: Ok, this is weird... I clicked on your link which sent me to same place I tried yesterday and now is working... :S

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

capiscuas
Offline
Last seen: 10 years 1 month ago
Joined: 2008-03-24 11:22
Hi, would like to collaborate with you

Hello rab040ma, I'm the creator of babiloo, many thanks for your portable port.
We need something like that to make easier execution of the program.Let's see if we can chat or email each other to collaborate each other.

Best Regards.
Ivan.

rab040ma
Offline
Last seen: 1 month 3 weeks ago
Joined: 2007-08-27 13:35
Hi Ivan Babiloo was

Hi Ivan

Babiloo was relatively easy to make portable.

  • To keep the settings out of %APPDATA%, I basically execute the babiloo.jar file with -Duser.home=[data folder] on the USB drive
  • I use the "portable" Java that John set up for Open Office
  • I think I seed the default properties file so it looks for dictionaries on the USB drive
  • I use the standard "replace in file" technique from John's launchers to fix the drive letter in properties files that use an absolute path, when the USB drive is in a different machine where the drive letter changes

Really, to make it Portable, the idea is to keep the default settings off of the user profile on drive C:, and preferably in a Data directory parallel to the Babiloo app directory (rather than below it). This allows the PAM backup to backup all the portable app settings and data in a consistent way. The -Duser.home= command line parameter seems to do this okay, although it is named .jalingo.

The other issue is what to do when the USB drive letter changes. If the dictionary location or other data pointed to by the properties file uses an absolute path that starts with a drive letter, Babiloo might have trouble finding the dictionary. (Another OS might manifest this problem a different way, e.g. if the USB drive is mounted at one mount point, and the properties file has an absolute path that references a different mount point it used on a previous machine.) If your program could save locations like that using relative paths (relative to the babiloo.jar, for example) rather than absolute, it might make it easier to get things going on a different machine. On a default Windows install, where the properties files are stored in the User Profile on drive C, there may not be a relative path, and that's okay; but if the jar file and properties file and dictionaries and so forth are all stored in the same directory tree on a USB Drive, relative paths would be a fairly elegant solution.

I have seen several Java launchers for Windows -- they create a custom windows .EXE file that finds and validates the JVM and makes sure the java program it launches can find all the classes it needs. The NSIS launcher does that, although in a less sophisticated way than some. It also does some stuff that sets things up for John's Portable Apps Platform, but that shouldn't get in the way too much if someone is running it by itself.

If you can't unpack the Babiloo_Portable...paf.exe file (which includes the source), I could send you a copy of the NSIS script, which is fairly straightforward.

MC

Travis Carrico
Offline
Last seen: 9 years 4 months ago
Developer
Joined: 2006-10-22 00:30
error

i get an error when trying to launch the program. "Unable to access jarfile C:\Documents". This could be because i'm being forced to use Java 1.5u4 because a site i need only supports that one. Even so, i would think this should work on older Javas too.

rab040ma
Offline
Last seen: 1 month 3 weeks ago
Joined: 2007-08-27 13:35
Thanks for finding that. Did

Thanks for finding that.

Did you try to Portablize that version or any other?

Dev Test 3 should fix that error message, at any rate.

MC

Travis Carrico
Offline
Last seen: 9 years 4 months ago
Developer
Joined: 2006-10-22 00:30
nope

no, i didn't try to portablize anything. i thought the installer or something would. if there's something the user has to do to run this program, then it should be messageboxed to tell them or something.

Edit:

ok i tried dev test 3 and now i get "Babiloo Portable cannot be started. The Java Runtime Environment can not be found. (Looking in "C:\Program Files\Java\jre_1.5.0_07\bin")" I think it's looking in the right folder since that's the only folder in the Java folder (i guess i have 1.5u7, not 1.5u4). Is there any information i can give you to help you figure this one out?

rab040ma
Offline
Last seen: 1 month 3 weeks ago
Joined: 2007-08-27 13:35
re: Portablizing java --

re: Portablizing java -- that's something John introduced as an option with OOoPortable; what it does is set up a Java on your stick. One of the benefits of that option is that you get to take a version with you that is likely to work, so you are less dependent on whatever is installed on the machine. It is just an option, so you aren't expected to do it; but if you were to try it and it did work, it would prove the benefit of using that option. On the other hand, I suppose we should make it work with whatever odd configurations people have, in addition to providing an option that might make it work even more consistently.

The message you are seeing means that it does not see javaw.exe in that directory. Can you confirm that there is a javaw.exe in that jre_1.5.0_07\bin directory?

There is a debug section in the BabilooPortable\Data\settings\BabilooPortableSettings.ini file, but if it bailed out at that point, you'll just have something from a previous working install there.

MC

Travis Carrico
Offline
Last seen: 9 years 4 months ago
Developer
Joined: 2006-10-22 00:30
yes, i do have javaw.exe in

yes, i do have javaw.exe in that directory. also i don't know if it makes a difference but i'm trying to run it from my desktop, not a PortableApps folder on my flash drive or anything. OOoPortable has it as an option because it isn't needed for OOo. i would think for an app like babiloo where it is required, the java portablizer should run automatically on install.

rab040ma
Offline
Last seen: 1 month 3 weeks ago
Joined: 2007-08-27 13:35
Okay, give test 4 a try (as

Okay, give test 4 a try (as soon as the mirrors catch up).

It looks like IfFileExists doesn't like you to include quotes, even though Exec does.

Test 4 should let you figure out whether the Desktop location will work ... it should, but I didn't test it, so you can be the first!

Thanks.

MC

Travis Carrico
Offline
Last seen: 9 years 4 months ago
Developer
Joined: 2006-10-22 00:30
still problems

sorry to be so problematic, but now with Dev Test 4, installing to desktop without doing Java Portablizer, i get "Could not find the main class. Program will exit." again, i don't know much about the java portablizer, but wouldn't it clear up errors if you just portablize java on install?

Edit: maybe there are just problems with my pc. i just tried to install OpenLaszlo and it couldn't detect my java installation. i'm just gonna upgrade my java and hope the site i need won't cause problems again with me using the latest version. i'll post back to let you know if Babiloo works right after my upgrade

Edit Again: Babiloo now works after upgrading to the latest version of Java

rab040ma
Offline
Last seen: 1 month 3 weeks ago
Joined: 2007-08-27 13:35
Well, the "Program will

Well, the "Program will exit" message is coming from Java, so we at least got Java to work. I'm not sure why older Java can't find the main class. It's not like there is more than one jar file.

Once you find a version of Java that works for you, you might want to portablize it, so you can have it with you.

Is OpenLaszlo something that should be made Portable?

MC

Travis Carrico
Offline
Last seen: 9 years 4 months ago
Developer
Joined: 2006-10-22 00:30
idk

idk, i haven't gotten a chance to use OpenLaszlo yet. i read about it from the Open Source Alternative website since it does flash and dhtml etc (web app creation). It seems like it should be a pretty good program but like i said, i've never used it.

Log in or register to post comments