Skip to content

Log fileis not suitable format for windows #72

@RBirdwatcher

Description

@RBirdwatcher

in the file org.xtext.example.mydsl.ide/src/org/xtext/example/mydsl/ide/ServerLauncher.xtend the log file is notsuitable for windows and hard coded to cdietrich.
I can produce a pull request for this.
The timestamp has : in it which is not suitable for windows which can be fixed with (new Timestamp(System.currentTimeMillis)).toString.replaceAll(" ","")**.replaceAll(":","")**

I would be suitable for windows to use the current working directory for logs using

val currentDir = System.getProperty("user.dir")
val stdFileOut = new FileOutputStream(currentDir + "\logs\out-" + id + ".log")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions