Uploaded Libraries

3 replies [Last post]
Offline
Last seen: 2 weeks 2 hours ago
Joined: 05/31/2011
Posts:

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?

tim.speed's picture
Offline
Last seen: 18 hours 8 min ago
Joined: 02/24/2010
Posts:
The filename is ignored for

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

Offline
Last seen: 2 weeks 2 hours ago
Joined: 05/31/2011
Posts:
Is there any maximum package

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?

tim.speed's picture
Offline
Last seen: 18 hours 8 min ago
Joined: 02/24/2010
Posts:
I'll add this near the top of

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.

-----------------
Tim Speed
Compilr Developer and CTO