| View previous topic :: View next topic |
| Author |
Message |
thufir Guest
|
Posted: Thu Jan 13, 2005 10:38 am Post subject: Tidy: can't open file "stdin" |
|
|
based on <http://jtidy.sourceforge.net/howto.html>, I'm
doing the following from windows 2000:
C:Documents and
SettingsAdministrator/Desktopjtidy-04aug2000r7-devbuild>
java -jar Tidy.jar
Tidy: can't open file "stdin"
some possibilities:
1.) am I in the correct directory?
2.) do I have the correct .jar file?
thanks,
Thufir Hawat
|
|
| Back to top |
|
 |
Andrey Kuznetsov Guest
|
Posted: Thu Jan 13, 2005 11:47 pm Post subject: Re: can't open file "stdin" |
|
|
| Quote: | C:Documents and
SettingsAdministrator/Desktopjtidy-04aug2000r7-devbuild
^^ |
you can:
1) try to use same slash e.g.
C:Documents and
SettingsAdministratorDesktopjtidy-04aug2000r7-devbuild
2) try to put tidy into directory without spaces in path e.g. C:tidy
--
Andrey Kuznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
|
|
| Back to top |
|
 |
Ian Shef Guest
|
Posted: Fri Jan 14, 2005 8:33 pm Post subject: Re: Tidy: can't open file "stdin" |
|
|
"thufir" <thufir.hawat (AT) mail (DOT) com> wrote in news:1105612729.245856.32140
@c13g2000cwb.googlegroups.com:
| Quote: | based on <http://jtidy.sourceforge.net/howto.html>, I'm
doing the following from windows 2000:
C:Documents and
SettingsAdministrator/Desktopjtidy-04aug2000r7-devbuild
java -jar Tidy.jar
|
Did you actually read <http://jtidy.sourceforge.net/howto.html> ?
You left out the options for Tidy. Try:
java -jar jtidy.jar -h
as suggested by the howto.
--
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *
|
|
| Back to top |
|
 |
thufir Guest
|
Posted: Fri Jan 14, 2005 9:44 pm Post subject: Re: Tidy: can't open file "stdin" |
|
|
My fault.
Thanks,
Thufir hawat
|
|
| Back to top |
|
 |
thufir Guest
|
Posted: Fri Jan 14, 2005 9:54 pm Post subject: Re: Tidy: can't open file "stdin" |
|
|
after downloading jtidy-04aug2000r6 and unzipping with 7-zip, I see no
such jar, unfortunately.
Which is why I was using the Tidy.jar file.
--
Thufir Hawat
|
|
| Back to top |
|
 |
|