I'm having problems with JBOSS under Windows when I install
to paths that include spaces in directory names such as:
C:\Documents and Settings\user\Desktop\New Folder (4)\
It gives me javac errors when it tries to compile my initial
JSP page (index.jsp) b/c it interprets C:\Documents and Settings\
as C:\Documents (cuts everything after the space out).
Is there any way to install to a directory with spaces in it's name?
The error i'm getting is below:
2004-11-11 10:52:45,871 INFO [org.jboss.web.localhost.Engine] Error compiling file: C:\Documents and Settings\riwlin\Desktop\New Folder (4)\jboss-3.2.3\server\default\work\MainEngine\localhost\xlm\/index_jsp.java [javac] Compiling 1 source file
[javac] javac: invalid flag: C:\Documents
[javac] Usage: javac <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath Specify where to find user class files
[javac] -sourcepath Specify where to find input source files
[javac] -bootclasspath Override location of bootstrap class files
[javac] -extdirs Override location of installed extensions
[javac] -d Specify where to place generated class files
[javac] -encoding Specify character encoding used by source files
[javac] -source Provide source compatibility with specified release
[javac] -target Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
Just for help,
I do not think that you can start a "java.exe" with a parameter containing a "blank" (this is the next parm) and I think JBoss follow this strange $MS implemetation...