Patches item #531094, was opened at 2002-03-17 22:56
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=531094&group_id=22866

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stanislav Borutsky (borus)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for classpath for Jikes

Initial Comment:
When you try to use JBoss + embedded Tomcat + Jikes,
Tomcat will 
pass to Jikes the value of java.class.path
And it's OK.

BUT: 
when JBoss fills the classpath using 

MLET CODE = 
"org.jboss.util.ClassPathExtension"

in 
conf/tomcat/jboss.conf

it fills it using the URL.getFile() 
method, which
on Windows will create full paths to files like 
the
following:

/C:/JBoss/lib/ext

This entry is OK for 
Java itself to find it's classes,
but is very bad for Jikes 
compiler on Windows
(on Unix the additional slash doesn't break 
anything)

The attached ClassPathExtension.java is supposed 
to replace the original.
What it does: instead of using 
URL.getFile(),
it converts the above to File and retrieves 
the
path correct for current platform
(and which is good for 
Jikes)
using File.getCanonicalPath()

Please answer me 
whether this patch will be included
and how can I make JBoss use my 
own class without
replacing it inside jboss.jar

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=531094&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to