Share

Jalopy Java Source Code Formatter

Tracker: Bugs

1 problems with jalopy.sh, preferences.sh - ID: 592487
Last Update: Settings changed ( marcohu )



Hello,

I'm using jalopy1.0-b8.
The jalopy.sh will not run due to a couple of
problems :
1. I'm running on Linux and jalopy.sh has a line
termination of \r\n instead of \n.
2. jalopy.sh has a problem finding its jar-files when
it is started outside its own directory.
3. It is not necessary to include the CLASSPATH of
the shell were jalopy is started in.

So I changed jalopy.sh :
1. I run dos2unit on jalopy.sh
2. I replaced the line : DIRLIBS=*.jar
into : DIRLIBS=${0%/*}/*.jar
3. I removed the setting of the LOCALCLASSPATH
if the CLASSPATH was set.

All the changes are also applied to preferences.sh
I tested jalopy.sh on Linux and Windows (cygwin).

I attach a zip-file containing jalopy.sh and
preferences.sh.

Thanks for beta8 !

Kees Kuip


Kees Kuip ( keeskuip ) - 2002-08-08 08:08

1

Closed

Fixed

Marco Hunsicker

None

None

Public


Comments ( 2 )

Date: 2002-08-08 21:14
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

You are exceptionally helpful in resolving the bugs you spot. I
will include your fixes with the next release.

Many thanks.


Date: 2002-08-08 08:17
Sender: keeskuip

Logged In: YES
user_id=54746

Sorry,

The jalopy.sh in the previous message contains a
debug statement.

The new jalopy.sh is attached to this comment.

Kees.


Attached Files ( 2 )

Filename Description Download
shell-scripts.zip script files Download
shell-scripts.zip shell scripts (without debugging) Download

Changes ( 7 )

Field Old Value Date By
resolution_id None 2002-11-13 00:03 marcohu
status_id Open 2002-11-13 00:03 marcohu
close_date - 2002-11-13 00:03 marcohu
assigned_to nobody 2002-08-08 21:14 marcohu
priority 5 2002-08-08 21:14 marcohu
File Added 28655: shell-scripts.zip 2002-08-08 08:17 keeskuip
File Added 28654: shell-scripts.zip 2002-08-08 08:08 keeskuip