pfpflwho / java-ide-droid

Automatically exported from code.google.com/p/java-ide-droid
0 stars 0 forks source link

Editing .bsh files with TextWarrior makes Beanshell sad #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a file such as 0_build.bsh
2. Make a change to the file (so you can save)
3. Save the file

What is the expected output? What do you see instead?
I expect beanshell to run the script, but instead it starts producing an error 
on line 1 column 1

What version of the product are you using? On what operating system?
JavaIDEdroid 1.3, Android 3.1 on a Thinkpad Tablet

Please provide any additional information below.
I have no idea what is causing it ... so I am just using a different editor for 
.bsh files. This likely isn't really a bug with JavaIDEdroid, but noting it 
might help beginners who take your recomendation and use TextWarrior. Maybe 
suggesting Astro as a starting point would be good: it is capable of zip, text 
edit, app management, and even file browsing so gets a noob running with only 
one extra app.

Original issue reported on code.google.com by log...@gmail.com on 30 Sep 2011 at 5:26

GoogleCodeExporter commented 9 years ago
Yes, you'll have the same problem with the compiler if you edit a .java file.

This is not really a TextWarrior problem - you might have the same problem with 
other editors as well.

The reason is that the .bsh files and the .java files must be saved in ANSI 
(ISO8859-1) format and not in UTF-8.

I have set TextWarrior to save in ANSI format and this works fine.

As for ASTRO: Yes, that's a good starting point, but I find Totalcommander even 
better.

Tom

Original comment by tom.ar...@gmail.com on 30 Sep 2011 at 8:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ah great, I didn't know what format to set it too, thanks.

I have used TotalCommander back on Windows Mobile and really liked it, it
doesn't seem to be available on the app market though.
 On Sep 30, 2011 1:04 PM, <java-ide-droid@googlecode.com> wrote:

ANSI

Original comment by log...@gmail.com on 30 Sep 2011 at 8:09

GoogleCodeExporter commented 9 years ago
Totalcommander is not on the Market yet. 
It is available as 1.0 Release Candidate 1 from the developers site:
http://www.ghisler.ch/board/viewforum.php?f=22&sid=dd9e66574f4ac5ab4afd5b37bb342
124

Tom

Original comment by tom.ar...@gmail.com on 30 Sep 2011 at 8:12