os-js / OS.js-submissions

OS.js (v2) - Submitted Packages
3 stars 4 forks source link

New Package(s) from My Repository #2

Open RossComputerGuy opened 7 years ago

RossComputerGuy commented 7 years ago

Hey, I'm submitting all of my packages from https://github.com/SpaceboyRoss01/OS.js-universe to this repository.

Here is the wiki: https://github.com/SpaceboyRoss01/OS.js-universe/wiki The wiki stores info on packages there

Packages:

andersevenrud commented 7 years ago

Hi,

Thanks for checking in. I'll have a look at this after work today.

andersevenrud commented 7 years ago

Hi,

Sorry for late reply. I see that you're making a Store application (and update functionality). That's pretty cool! :) I'll give it a closer inspection to see if there's something I can make use of in the official stuff I am working on (which is going really slow... I have so much stuff to do).

RossComputerGuy commented 7 years ago

@andersevenrud I've created a new repository with new packages, here it is https://github.com/Ross-Software/OSjs-repository The java package allows running jar files but it's still work in progress. Tell me if there is anything that needs to be changed for the OSjs java library.

andersevenrud commented 7 years ago

I'll give it a try when I get back from work :)

andersevenrud commented 7 years ago

I just had a quick peek while drinking my coffee. I saw this:

      JavaPoly.addClass("/packages/rosssoftware/Java/classpath/"+(p.split(".").join("/"))+".java");

You can change this to:

      JavaPoly.addClass(app._getResource("classpath/"+(p.split(".").join("/"))+".java"));
andersevenrud commented 7 years ago

I can't get this to run properly. I some questions:

  1. Why is it defined as an extension when it is an application ?
  2. I'm not sure I understand what this javapoly stuff is
  3. Also, can you send me a hello world .jar or something to test with ?