Developent IDE GCodeSender?

Shop Forum Everything Else Developent IDE GCodeSender?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9510
    Anonymous
    Inactive

    I want do it simple modification to this program (i not a programmer but i can try), can you help me to setup a develoment enviroment (IDE) ? thanx and sorry for my english i speak spanish.

    #9512
    Dan
    Keymaster

    What do you want to do to the IDE?

    #9514
    Anonymous
    Inactive

    Thank for quick response!.

    The compilated jar not work on LINUX (not find any serial port). I review the source code and find

    public void DetectSerialPorts() {
    if(System.getProperty(“os.name”).equals(“Mac OS X”)){
    portsDetected = SerialPortList.getPortNames(“/dev/”);
    } else {
    portsDetected = SerialPortList.getPortNames(“COM”);
    }
    }

    i think the problem is there.

    thxs

    #9558
    Dan
    Keymaster

    As far as I know you’re the first person to try it on Linux. Hm.

    if(System.getProperty(“os.name”).equals(“Mac OS X”)){

    is definitely the problem.

    String OS = System.getProperty(“os.name”).toLowerCase();
    if(OS.indexOf(“nix”) >= 0 || OS.indexOf(“nux”) >= 0 || OS.indexOf(“aix”) > 0 ) {
    // is Linux
    } else if(OS.indexOf(“mac”)){
    // is Mac
    } else {
    // assume windows, even though it could be solaris
    }

    would work better.

    #9559
    Dan
    Keymaster

    Fix comitted in github.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.