Patches item #1075912, was opened at 2004-11-30 11:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=1075912&group_id=22866

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alexander Kriegisch (kriegaex)
Assigned to: Nobody/Anonymous (nobody)
Summary: AOP framework: URL comparision problem in compiler

Initial Comment:
Hi!

If the path name of classes to be compiled by the AOP
framework's stand-alone compiler contains special
characters (e.g. spaces), the comparison in

    public void compileFile(File file)

(class org.jboss.aop.standalone.Compiler) will fail.
The compiler says something like:

[warning] Trying to compile C:\Dokumente und
Einstellungen\kriegaex\Eigene
Dateien\java-src\JBoss_AOP\class\BFD\Logging.class and
found it also within
file:/C:/Dokumente%20und%20Einstellungen/kriegaex/Eigene%20Dateien/java-src/JBoss_AOP/class/BFD/Logging.class
will not proceed. 

As the JDK documentation says, special characters will
not be escaped in File.toURL(), so it recommends to use
toURI().toURL() instead. That's what I did, as can be
seen in the patch I am submitting.

Regards


Alexander Kriegisch
Principal Presales Consultant

---------------------------------------------------------
COI GmbH                Phone   +49 9132 82 4281
Erlanger Stra�e 62      Mobile  +49 172 8 65 91 90
91074 Herzogenaurach    Fax     +49 9132 82 4959
http://www.coi.de      
mailto:[EMAIL PROTECTED]    
---------------------------------------------------------
COI - Solutions for Documents
---------------------------------------------------------

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to