C Creideiki Active Member Licensed User Longtime User Sep 10, 2016 #1 I want to include the wrapped jar with SLC. I have to put it in my project in libs to compile it. I have to put it somewhere in additional to include it - but where? I tried additional additional/lib but creating an app with it didn't compile because it didn't find the jar. (Cannot find: E:\Programme\Anywhere Software\Basic4android\libraries\d2xx.jar) When I open my wrapper as zip I can see the jar inside. But B4A doesn't find it. I can copy the jar in my B4A additional library folder, I know... but I want to include it in my wrapper jar.
I want to include the wrapped jar with SLC. I have to put it in my project in libs to compile it. I have to put it somewhere in additional to include it - but where? I tried additional additional/lib but creating an app with it didn't compile because it didn't find the jar. (Cannot find: E:\Programme\Anywhere Software\Basic4android\libraries\d2xx.jar) When I open my wrapper as zip I can see the jar inside. But B4A doesn't find it. I can copy the jar in my B4A additional library folder, I know... but I want to include it in my wrapper jar.
somed3v3loper Well-Known Member Licensed User Longtime User Sep 10, 2016 #2 I can think of finding d2xx source code instead of using compiled version but there is a limit on .java files that can be compiled .
I can think of finding d2xx source code instead of using compiled version but there is a limit on .java files that can be compiled .
Erel B4X founder Staff member Licensed User Longtime User Sep 11, 2016 #3 somed3v3loper said: I can think of finding d2xx source code instead of using compiled version but there is a limit on .java files that can be compiled Click to expand... There is no limit, but it is not needed. Unzip the jar file and copy its content to the additional folder.
somed3v3loper said: I can think of finding d2xx source code instead of using compiled version but there is a limit on .java files that can be compiled Click to expand... There is no limit, but it is not needed. Unzip the jar file and copy its content to the additional folder.
somed3v3loper Well-Known Member Licensed User Longtime User Sep 11, 2016 #4 Erel said: There is no limit, but it is not needed. Unzip the jar file and copy its content to the additional folder. Click to expand... I am sure if I compile a library with many .java files I will get an error message(forgot its content) but will not be able to compile . It might not be a bug in SLC .
Erel said: There is no limit, but it is not needed. Unzip the jar file and copy its content to the additional folder. Click to expand... I am sure if I compile a library with many .java files I will get an error message(forgot its content) but will not be able to compile . It might not be a bug in SLC .
DonManfred Expert Licensed User Longtime User Sep 11, 2016 #5 What error you get? Post the full error
somed3v3loper Well-Known Member Licensed User Longtime User Sep 11, 2016 #6 DonManfred said: What error you get? Post the full error Click to expand... I forgot the message but I believe I have seen a similar thread here where Erel suggested to use .jar and @DependsOn instead .
DonManfred said: What error you get? Post the full error Click to expand... I forgot the message but I believe I have seen a similar thread here where Erel suggested to use .jar and @DependsOn instead .
somed3v3loper Well-Known Member Licensed User Longtime User Sep 19, 2016 #7 Erel said: There is no limit, but it is not needed. Unzip the jar file and copy its content to the additional folder. Click to expand... DonManfred said: What error you get? Post the full error Click to expand... Just faced this issue which I believe was due to many .java files in library .
Erel said: There is no limit, but it is not needed. Unzip the jar file and copy its content to the additional folder. Click to expand... DonManfred said: What error you get? Post the full error Click to expand... Just faced this issue which I believe was due to many .java files in library .
Erel B4X founder Staff member Licensed User Longtime User Sep 19, 2016 #8 I see. It hits Windows path limit. The solution is to compile the source code separately and add the .class files (as I wrote in the 2nd post). Or just reference the jar.
I see. It hits Windows path limit. The solution is to compile the source code separately and add the .class files (as I wrote in the 2nd post). Or just reference the jar.
DonManfred Expert Licensed User Longtime User Sep 19, 2016 #9 Erel said: It hits Windows path limit. The solution is to compile the source code separately Click to expand... Does it not help to use a SHORTER startingpath for the project to compile? Old: C:\some\deeeeeeeeeep\foldername\myprojectusinglongnames\ New: C:\projects\myproject
Erel said: It hits Windows path limit. The solution is to compile the source code separately Click to expand... Does it not help to use a SHORTER startingpath for the project to compile? Old: C:\some\deeeeeeeeeep\foldername\myprojectusinglongnames\ New: C:\projects\myproject
somed3v3loper Well-Known Member Licensed User Longtime User Sep 20, 2016 #11 Erel said: I see. It hits Windows path limit. The solution is to compile the source code separately and add the .class files (as I wrote in the 2nd post). Or just reference the jar. Click to expand... Does such limit exist in linux ? I am thinking of installing it on a VM .
Erel said: I see. It hits Windows path limit. The solution is to compile the source code separately and add the .class files (as I wrote in the 2nd post). Or just reference the jar. Click to expand... Does such limit exist in linux ? I am thinking of installing it on a VM .
DonManfred Expert Licensed User Longtime User Sep 21, 2016 #12 Windows: Technically 260 possible 256 is the documented limit http://stackoverflow.com/questions/1065993/has-windows-7-fixed-the-255-character-file-path-limit Linux: 256 http://serverfault.com/questions/9546/filename-length-limits-on-linux Last edited: Sep 21, 2016
Windows: Technically 260 possible 256 is the documented limit http://stackoverflow.com/questions/1065993/has-windows-7-fixed-the-255-character-file-path-limit Linux: 256 http://serverfault.com/questions/9546/filename-length-limits-on-linux