Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Orion » can no longer guess file system locations from user file locations?.
can no longer guess file system locations from user file locations?. [message #1833343] Fri, 09 October 2020 13:32
jacky joy is currently offline jacky joyFriend
Messages: 2
Registered: October 2020
Junior Member
Hello,

In dev.cloudfier.com I have a hack for implementing project-wide builds:

1) I run a server side-by-side with Orion (could be merged in one, but that should not matter), so I can access the project contents

2) Implement a validator service that will pass the location of the file being validated to my server (instead of the contents)

3) The server will then construct a file system location by appending the location to the workspace location: https://krogerfeedback.nl/ https://talktosonic.onl/ https://talktowendys.vip/ I get to the relevant user file, can walk up to the containing dir for the project location, etc, so I can build the entire project.

However, 1.0M2 breaks this hack, and I can't at this point move to this version: the locations representing https://whataburgersurvey.onl user files no longer expose the hashes used in the file system storage, so it is no longer possible to map the location a validator gets from Orion to a file system location.

Granted, I was relying on unspecified behavior. But at the same time I am just trying to implement functionality Orion should ideally be providing out of the box.

So, any ideas of how to get out of this situation? Things I thought:

1) Orion file system locations preserved user-chosen names (I guess the goal of the hashes here is to avoid file system limitations for file names?)

2) Orion exposes both user-facing and internal locations (ugly, now there would be two locations for everything)

3) Orion provides a server setting that allows reverting locations to be hashed as pre-M2

4) I implement my own file service that saves data in my own server (which would be unfortunate, as I'd rather not be in the business of file storage - and I guess the user would lose Git support for his files)

5) Orion provides support for project-wide validation (say, the validator is given a parameter that allows it to browse the tree and fetch file contents).

thanks
jackyjoy

[Updated on: Mon, 12 October 2020 09:53]

Report message to a moderator

Previous Topic:Using define in Orion editor plugin
Next Topic:Installing Eclipse Orion behind Apache Web Server with SSL
Goto Forum:
  


Current Time: Sun Apr 11 20:03:51 GMT 2021

Powered by FUDForum. Page generated in 0.02320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top