Some issues with EASE [message #1410726] |
Thu, 21 August 2014 09:21  |
Eclipse User |
|
|
|
This is a followup on http://dev.eclipse.org/mhonarc/lists/eclipse-scripting-dev/msg00142.html and http://dev.eclipse.org/mhonarc/lists/eclipse-scripting-dev/msg00143.html
I had set the Script Location, but set it to a project in my workspace. Apparently that doesn't work: if I point to the same directory, but then using Add File System, it does work and the scripts show up.
I also didn't install the Modules stuff and now that I have they show up.
FYI: based on all the existing pages (https://wiki.eclipse.org/E4/Scripting/... and your blog) I could find on EASE, I never ended up on the page you just provided (https://www.eclipse.org/ease/).
Also noticed that the Script entry in the context menu on the different views provider by EASE never has sub menuitems.
Also I don't get the Ran As > EASE option
Regards,
Paul
|
|
|
|
Re: Some issues with EASE [message #1410853 is a reply to message #1410843] |
Thu, 21 August 2014 16:02   |
Eclipse User |
|
|
|
Hi Christian,
I've tried to upgrade, but there's no new version provided by the update site (current installed version: 0.1.1.v20140619-0751)
Quote:Just to be sure: you've created a workspace project, added some *.js
files to it and registered your project or a folder on the preferences
page. Then you would see some entry like
workspace://<your project>/<optional path>
Afterwards I'd expect scripts to show up in the Script Explorer view.
You could hit the refresh toolbar button there, but this should not be
necessary for workspace paths.
Yup, that is what I did and it doesn't show the scripts. Hitting the refresh button (or restarting Eclipse doesn't do it either). As soon as I add the same directory through the "add file system" option the scripts start showing. I get no errors in the log either. What I did notice was that if I add the directory through the Add file System option, the scripts appear in the Script Explorer, as soon as I hit the Apply button on the preference page. If I then delete the file system entry again and hit apply, the script entries don't disappear. Also when I close the Preference page and hit the refresh button in the SCript Explorer, they don't disappear. Only when I restart Eclipse they disappear.
Wish I could provide better debug info, but cannot think of anything else to check or test
P.
|
|
|
|
|
|
|
Re: Some issues with EASE [message #1415594 is a reply to message #1414145] |
Wed, 03 September 2014 02:26  |
Eclipse User |
|
|
|
I have to admit, I'm lost here. Your configuration files look fine. I also tried to recreate your file structure on my system but could not reproduce the error.
I have one indication which I need to investigate, though: if you add a file system path, I would expect a file URI instead of a workspace URI in your configuration.
Could you open a bug against technology/ease? If possible attach your workspace (export projects into an Archive) to it.
|
|
|
Re: Some issues with EASE [message #1689995 is a reply to message #1410843] |
Thu, 21 August 2014 16:02  |
Eclipse User |
|
|
|
Hi Christian,
I've tried to upgrade, but there's no new version provided by the update site (current installed version: 0.1.1.v20140619-0751)
Quote:
> Just to be sure: you've created a workspace project, added some *.js
> files to it and registered your project or a folder on the preferences
> page. Then you would see some entry like
> workspace://<your project>/<optional path>
> Afterwards I'd expect scripts to show up in the Script Explorer view.
> You could hit the refresh toolbar button there, but this should not be
> necessary for workspace paths.
Yup, that is what I did and it doesn't show the scripts. Hitting the refresh button (or restarting Eclipse doesn't do it either). As soon as I add the same directory through the "add file system" option the scripts start showing. I get no errors in the log either. What I did notice was that if I add the directory through the Add file System option, the scripts appear in the Script Explorer, as soon as I hit the Apply button on the preference page. If I then delete the file system entry again and hit apply, the script entries don't disappear. Also when I close the Preference page and hit the refresh button in the SCript Explorer, they don't disappear. Only when I restart Eclipse they disappear.
Wish I could provide better debug info, but cannot think of anything else to check or test
P.
|
|
|
Re: Some issues with EASE [message #1689996 is a reply to message #1410853] |
Mon, 25 August 2014 17:55  |
Eclipse User |
|
|
|
p Bakker wrote on Thu, 21 August 2014 16:02
> Hi Christian,
>
> I've tried to upgrade, but there's no new version provided by the update site (current installed version: 0.1.1.v20140619-0751)
This is definitely an old version. It is very likely installed from the old e4 repository. I suggest to uninstall all ease components you have currently installed and re-install using p2 locations from http://www.elcipse.org/ease/download.
You should see a version string of 0.1.0.v201408...
HTH
|
|
|
Re: Some issues with EASE [message #1689997 is a reply to message #1412322] |
Wed, 27 August 2014 03:28  |
Eclipse User |
|
|
|
You were right. Reinstalled it now and now I get the proper version:
EASE Core feature 0.1.0.201408252027 org.eclipse.ease.feature.feature.group null
However, this hasn't solved the issue with scripts not being loaded/shown when adding a workspace script location (it does still work if I add the location through the File System option)
Paul
|
|
|
Re: Some issues with EASE [message #1689998 is a reply to message #1689997] |
Fri, 29 August 2014 05:58  |
Eclipse User |
|
|
|
I reworked the codebase for resolving locations (neede for the registered locations) just yesterday. Would you mind giving it a try using the nichtly update site? In case it is still not working:
What OS are you using?
How does the location entry look like in preferences/scripting/Script Locations?
Any special characters used for files stored under that location?
|
|
|
Re: Some issues with EASE [message #1689999 is a reply to message #1413739] |
Sat, 30 August 2014 08:06  |
Eclipse User |
|
|
|
I've updated, but this hasn't resolved the issue unfortunatly.
This is the content of the scripts.repository file on disk:
<?xml version="1.0" encoding="ASCII"?>
<repository:Storage xmlns:repository="repository">
<entries location="workspace://resources/components" recursive="true" default="true"/>
<entries location="workspace://Demo/forms" recursive="true"/>
</repository:Storage>
I'm on Windows 8, running Eclipse 4.3.2 and no special characters in use
As soon as I add the exact same folder but then through the File System option, the .js files in that folder show up in the SCript Explorer as soon as I hit the Apply button. This is what the scripts.repository file looks like then:
<?xml version="1.0" encoding="ASCII"?>
<repository:Storage xmlns:repository="repository">
<entries location="workspace://resources/components/Bootstrap/Button" recursive="true" default="true"/>
<entries location="file:/C:/workspaces/Demos/Servoy%208%20Private%20Beta%20Training/resources/components/Bootstrap/Button/" recursive="true">
<scripts location="file:/C:/workspaces/Demos/Servoy%208%20Private%20Beta%20Training/resources/components/Bootstrap/Button/button.js" timestamp="1408536704611"/>
<scripts location="file:/C:/workspaces/Demos/Servoy%208%20Private%20Beta%20Training/resources/components/Bootstrap/Button/buttonserver.js" timestamp="1408560487375"/>
</entries>
</repository:Storage>
|
|
|
Re: Some issues with EASE [message #1690000 is a reply to message #1414145] |
Wed, 03 September 2014 02:26  |
Eclipse User |
|
|
|
I have to admit, I'm lost here. Your configuration files look fine. I also tried to recreate your file structure on my system but could not reproduce the error.
I have one indication which I need to investigate, though: if you add a file system path, I would expect a file URI instead of a workspace URI in your configuration.
Could you open a bug against technology/ease? If possible attach your workspace (export projects into an Archive) to it.
|
|
|
Powered by
FUDForum. Page generated in 0.04310 seconds