You are here

jEdit Portable 4.2.0 Dev Test 3

13 posts / 0 new
Last post
rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
jEdit Portable 4.2.0 Dev Test 3

Application: jEdit.

Category: Development, Programmer's Editor

License: GPL and Apache (?)

Description: jEdit Portable is a professional text editor.

Download: (right click won't work). || MD5: 37d353dd9e578863357a2036a57c109e || 2008-02-25 19:17 EST.

Release Notes:

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

dev test 2: fixed some problems with AdjustPaths
dev test 3: fixed some references to other programs, tested ini file

stone1343
stone1343's picture
Offline
Last seen: 3 years 8 months ago
Joined: 2006-09-25 12:45
Always looking for the best editor

Thanks, it supports Rexx & Inform, that's a good start...

stone1343
stone1343's picture
Offline
Last seen: 3 years 8 months ago
Joined: 2006-09-25 12:45
jEdit or Babiloo?

Looks like you missed some changes from Babiloo?

is

Other\Source\AppSource.txt
Other\Source\JeditPortable.ini
Other\Source\Readme.txt

App\AppInfo\appinfo.ini

are all unchanged from when you did Babiloo.

I tried and tried, couldn't disable the splash screen, it's annoying when jEdit puts its own up too.

Jeff

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
Thanks for catching that. I

Thanks for catching that. I thought I had gone through that step, but evidently missed it on this one. Shouldn't affect operation.

I'll take a look at the splash screen functionality. I hope to have a new version up within a day or two.

John wants the Portable splash to fade into the app's own splash. You can take it up with him whether that default behavior is annoying. Wink

MC

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
Development test 3 is

Development test 3 is available now. It seems to honor the disable splash screen setting in the ini, and has had those references cleaned up.

MC

Scrape
Offline
Last seen: 6 years 3 months ago
Joined: 2008-08-30 00:07
Cross-platform?

Does the application, as packaged, still function cross-platform? If I went and used it on a Linux system, would it still used the profile in jEditPortable/Data/.jedit ?

Soli Deo Gloria!
- Rob "Scrape" French
http://www.google.com/profiles/rafrench

Scrape
Offline
Last seen: 6 years 3 months ago
Joined: 2008-08-30 00:07
Cross-platform?

Does the application, as packaged, still function cross-platform? If I went and used it on a Linux system, would it still used the profile in jEditPortable/Data/.jedit ?

Soli Deo Gloria!
- Rob "Scrape" French
http://www.google.com/profiles/rafrench

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
Hi Rob, On Linux, the .jedit

Hi Rob,

On Linux, the .jedit directory is normally found in the home directory (e.g. /home/scrape/.jedit). On Windows, the .jedit directory is normally found in Documents and Settings, e.g. "C:\Documents and Settings\Scrape\.jedit" (or maybe in AppDir, it doesn't matter).

jEdit Portable uses a windows launcher to start the program in such a way that it uses a Java runtime found on the USB drive (in the place set up for OpenOffice.org), and redirects the .jedit directory to the place you mention, in the .\Data directory on the USB drive. One particular consideration is that the launcher won't work as a native application under Linux. (It might under Wine, but I'm not sure why you would want to.)

The main trick the launcher uses is to call java(w) with a -D command line option, specifically -Duser.home="$SETTINGSDIRECTORY" as well as -jar "$PROGRAMDIRECTORY\${DEFAULTJAR}". If you can set up a shell script to launch whatever java runtime is available on the linux box, with the -D command line option pointing user.home to the USB drive instead of ~/, and -jar pointing to the jedit.jar file on the USB drive at ./PortableApps/jEditPortable/App/Jedit/jedit.jar, that should do it.

The main trick would be that the USB drive might not be mounted at the same point on different linux machines, so an absolute path might not work. So you'd need a shell script that was able to parse out the correct directory/path and substitute it in the right place, or use relative paths that worked consistently. There's the other tricks too, such as getting around the FAT32 filesystem on the USB drive, which might not mark things as executable.

Next time I have some quality time with a Linux box I'll experiment and see if I can come up with something.

Bottom line: if one makes a shell script to parse out the paths, launch java and tell it to look for the .jedit directory in the right place on the USB drive, that would be be most of what you are talking about. The jar files are cross platform (as far as I know), and the data stored in the .jedit directory is cross platform as well.

MC

usulthemouse
Offline
Last seen: 15 years 4 weeks ago
Joined: 2008-09-16 11:32
How is this going

I installed the JDK to the flash drive
kind of like this page http://www.dreamincode.net/forums/showtopic42544.htm
will this still work or can I change a ini setting?

I do not have openoffice installed since I am trying to save room for all of my
files that I need to lug around with me.

thanks

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
The Java Portablizer

The Java Portablizer described for OpenOffice.orgPortable doesn't require that OpenOffice.org is installed. Sorry if that is not clear. The description there is generic for any program that wants to use Java, and doesn't require you to install OpenOffice.org first. It's set up so you only have to install Java once on your portable drive, and all such programs (including OpenOffice.org) will find and use it. (Unfortunately some programs, like FireFox, insist on looking in the host computer's registry to find Java, and the Java portablizer doesn't mess with the registry, so those programs probably won't use the portablized Java -- but they probably won't find it with dreamincode's setup either.)

If by chance the "kind of like this page" kind of looks the same as the portablized Java described above, jEdit will find and use it; otherwise it will try to use a Java that is installed on the host computer in a more conventional way. In particular, if javaw.exe is found in PortableApps\CommonFiles\Java\bin, it will be used. Anywhere else and it won't.

The source code of the launcher is included with the package; if you'd like to tell it to look somewhere else first for a JRE/JVM, it's probably just a small change to the source code. Compiling the launcher with NSIS is pretty easy, once you get all the required plugins added to the NSIS install.

The main difference between the JavaPortablizer on the OpenOffice.org Portable page and the one at dreamincode.net is that the one on the OpenOffice.org Portable page specifies a path relative to where the PortableAppsPlatform.exe (or menu) is stored, where the dreasmincode one tells you to put it anywhere. In particular, if you create the bat file suggested at dreamincode to point to the Java set up according to the description at the OpenOffice.org Portable page, you'll have your JRE set up the same.

BTW, in the js.bat file described at dreamincode's page, I'd probably add two environment variables: JAVA_HOME and JRE_HOME, in addition to adding Java's bin to the PATH. Doesn't work all the time, but it helps with some programs.

MC

rtcwls
rtcwls's picture
Offline
Last seen: 4 years 6 months ago
Joined: 2008-08-14 09:44
Any further work being done?

Is there any further work being done on this?

If not, I think I would like to chip in and possibly take over.

-- Art

________________________________
Art Cowles

​"When an honest man discovers he is mistaken,
he will either cease to be mistaken or cease to be honest."

freeideas
Offline
Last seen: 12 years 11 months ago
Joined: 2011-04-29 13:07
Any further work being done?

I swapped the jEdit app files in my portable install to upgrade it to 4.3.2. I didn't repackage the installer, though. I will be happy to do that if no one else jumps in, but it sounds like Art is ready to lead and I am ready to follow.

By the way, I have been a fan of jEdit for years, but with the slickness of 4.3.2 and portability, jEdit ROCKS!

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
I tried compiling the nsi

I tried compiling the nsi file, and it failed. I think the "replace in file" function is doing weird things that it wasn't doing before. Of course I have a new machine and OS.

I stopped working on the java programs when it became clear that they weren't going to be included on the site as official releases. Has that changed? I suppose it shouldn't matter if people like using the program in the PortableApps.com environment.

MC

Log in or register to post comments