Java Question Filename or extension too long

attenzi0ne

Member
Licensed User
Longtime User
While compiling a library with SLC i get this error

System.ComponentModel.Win32Exception: The filename or extension is too long


how can I avoid this?

Thanks in advance
 

attenzi0ne

Member
Licensed User
Longtime User
I am attaching the error
project is located right in the root c:/xmpp

I am trying to make a wrapper for asmack library
 

Attachments

  • error.jpg
    error.jpg
    60.5 KB · Views: 509

attenzi0ne

Member
Licensed User
Longtime User
well I couldnt get to the B4A part yet, still need to compile this so I can have the jar/xml

as far as I found on web, this might be caused by a long command trying to be executed from cmd.exe
I dont know how exactly SLC works but if it is executing javac.exe from cmd this might be the reason since the asmack library has over 500 individual java files and that might create a long command which is over the cmd limit of 8191 characters (http://support.microsoft.com/kb/830473)

if you want you can try it for yourself

https://github.com/flowdalic/asmack
 
Top