Uploaded Libraries
After uploading a jar file I can't find any reference of it in the right hand pane of the IDE, as well I can't see that it can be referenced from code. Am I looking in the wrong spot or was there an issue with the upload?
Also, will the referenced package be based on the filename of the upload?
Is there any maximum package size or other limits? I'm trying to upload a 5MB file and it fails silently. After hitting upload it thinks for a few seconds and then clears the file upload blank.
Edit: After renaming the jar to a zip, extracting it, and uploading it as several chunks. So far the limit appears to be somewhere around 2MB, can this be made explicit or increased?
I'll add this near the top of our todo list, thanks for reporting this issue. We should have some kind of progress bar for library uploads as well as increasing the uploadable size and displaying the limit.
The filename is ignored for package names, like regular java the internal file structure of the jar archive describes the package names "com.testlib" will still be "com.testlib" in Compilr.
To reference a library you need to right click on "Uploaded Libraries" on the right hand side of the screen, click choose file to select your library, then click upload file, to upload it.
Libraries uploaded in this way are automatically referenced. And this is currently the only way to include libraries/packages.
-----------------
Tim Speed
Compilr Developer and CTO