Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Resource Variable Task - Browse-Button
Resource Variable Task - Browse-Button [message #1692702] Fri, 17 April 2015 11:56 Go to next message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
https://raw.githubusercontent.com/thSoft/elysium/master/Elysium.setup has a VariableTask of type Resource for storing the path to an executable file that has to be installed apart from the Eclipse infrastructure.

On my Windows machine, I get a button opening a browser (alas, for a folder not for a file), on my Mac there is only a text field and no button at all. I think, some time back I got a File selection dialog for this variable task.

Is this a bug, or is it the wrong VariableTask type?

Alex

P.S.: In fact, I got the folder browser button, because the variable's value was stored in the user.setup.
If I declare a new variable of type File or Resource, there is no button at all. I guess this is indeed a bug.


Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de

[Updated on: Fri, 17 April 2015 12:45]

Report message to a moderator

Re: Resource Variable Task - Browse-Button [message #1692752 is a reply to message #1692702] Fri, 17 April 2015 14:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
Alex,

That doesn't sound quite right. I don't have the source available while
traveling, but so I don't recall what other type alternative you might
try, is there file? I wouldn't expect behavior differences between the
platforms. I know folder works on all the platforms, but we've had not
need for entering a file as of yet. So it sounds like a bug...


On 17.04.2015 13:56, Alexander Nittka wrote:
> https://raw.githubusercontent.com/thSoft/elysium/master/Elysium.setup
> has a VariableTask of type Resource for storing the path to an
> executable file that has to be installed apart from the Eclipse
> infrastructure.
>
> On my Windows machine, I get a button opening a browser (alas, for a
> folder not for a file), on my Mac there is only a text field and no
> button at all. I think, some time back I got a File selection dialog for
> this variable task.
>
> Is this a bug, or is it the wrong VariableTask type?
>
> Alex


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Resource Variable Task - Browse-Button [message #1692760 is a reply to message #1692752] Fri, 17 April 2015 15:28 Go to previous message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
submitted https://bugs.eclipse.org/bugs/show_bug.cgi?id=464901

Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
Previous Topic:Git Clone Task - redirect to private fork
Next Topic:Folder copying with Oomph
Goto Forum:
  


Current Time: Sat Dec 07 02:21:32 GMT 2024

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

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

Back to the top