I want to create an Eclipse installer which installs an Eclipse that doesn't show a welcome page.
This blog post suggests to create a settings file with a ResourceCreationTask:
<setupTask
xsi:type="setup:ResourceCreationTask"
id="rtt.suppress.welcome.page"
content="eclipse.preferences.version=1\nshowIntro=false"
targetURL="${workspace.location|uri}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs"
encoding="UTF-8">
<description>Suppress showing of the Welcome page.</description>
</setupTask>
The author then adds a comment that this leads to a problem because ${workspace.location} is undefined during installation. The suggested solution however is to replace ${workspace.location} with ${install.location}/ws. That would create a file in a subdirectory of the install location and doesn't help unless this location happens to be the workspace.
Another suggestion is to targetURL="${osgi.instance.area|file}.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs". That doesn't help either.
Unfortunately I was unable to find a documentation on which variables can be used with Oomph.
Related
I am setting up VSCode for Ada. I typed in a known good test program and tried to "Run -> Start Debugging". In the PROBLEMS (Crtl+Shift+M) window, a message appears:
"No project found in root directory. Please create a project file and add it to the configuration."
I have read the documentation and looked around in the VSCode editor and have not found anything to correct this error. Can someone provide suggestions? Thanks.
The language extension is looking for a project file (.gpr file). Here are some instructions to set that up: https://github.com/AdaCore/ada_language_server/wiki/Getting-Started
I saw some extra procedures inside the extension itself. There were extra steps to complete the setup. I started Ada programming with a simple text editor and the gnat compiler so these additional steps were not anticipated. Sorry for the trouble.
Sorry for this question, but have been trying to figure it out for a while...
I'm trying to install a SIOX for ImageJ using the updater, but the update option (Help > Update imageJ) don't show any option to get plugins directly from the web, only to update ImageJ. and can't find any other link to an "updater" as suggested in the main page.
So, I downloaded a jar file Siox_Segmentation-1.0.5-20160117.192327-11.jar and copied it into plugins/jars, re-open ImageJ... but it didn't work either. I'm working with MacOSX and ImageJ 1.49 installed using home brew.
Thanks for any advice.
Carlos Alberto
The ImageJ updater functionality is part of ImageJ2 (which includes full backwards compatibility to ImageJ 1.x and is also part of Fiji, as you discovered).
You can download vanilla ImageJ2 from here.
Information on how to follow an update site is available on the ImageJ wiki.
For general usage questions about ImageJ, the ImageJ forum is the best place to ask.
I know there are questions like this on SO, but none of the given solutions helped me.
I also tried to ask this question on netbeans forum, but they haven't responded to my questions, probably because they just don't know answers.
SO community is a "bit" bigger than the one on the netbeans forum, so I hope I'll get some clue.
I'm trying to get SASS working in Netbeans 8.0.2 (Ubuntu). I installed sass, it sits in /sur/local/bin/sass. I set up this path in NB options. I set up paths in project properties. And... nothing happens when I save a css file. Shouldn't there be at least a warning message if something's wrong?
Yes, I have "generate extra information (debug)" and "open output on error" checked. The path to the sass executable is also correct.
And yes, I also have "compile Sass files on Save" checked.
In project properties / Input and Output fields I tried relative and full urls. I also tried using ${web.root} variable.
I use Netbeans for PHP, but I don't think it matters.
None of these solutions work for me, especially that most of them is for Windows OS:
How to use SASS with Netbeans 8.0.1
Cannot get SASS to output .css file in Netbeans 8.0
Netbeans - installing SASS
Please help, I've been trying to make it working for the last 4 hours :(
Please tell me at least where can I find an error log or something.
Update:
The log says:
INFO [CPOnSaveHook]: processSavedFile called for Sass type on project
/var/www/html/analytics. INFO
[net.sickill.off.netbeans.NetbeansProject]: fileChanged: ignoring
internal file changes INFO
[org.netbeans.modules.css.prep.process.BaseProcessor]: Not compiling,
file /var/www/html/analytics/src/AppBundle/Resources/scss/admin.scss
not matched within current mappings
[Pair[/var/www/html/analytics/src/AppBundle/Resources/scss,/var/www/html/analytics/web/css]]
But as I said: In project properties / Input and Output fields I tried relative and full urls. I also tried using ${web.root} variable.
I solved my problem.
In the project properties -> css properties -> input/output fields there must not be / (a slash) at the beginning. So it should be e.g. "src/AppBundle/Resources/scss" instead of "/src/AppBundle/Resources/scss" And it should not be a full url (like /var/html/www/project...)
Also, using ${web.root} did not work.
I solved may problem. In project properties -> css prepocessor -> uncheck compile sass files on save:
Alright, so just a disclaimer I suspect this question will be a duplicate of another question however I'm not even sure what to search for.
I have never used Eclipse or Golang before and am attempting to get a basic hello world application to work.
I have installed the goclipse plugin, created a new go package and go command source file. From what I have read to run a project in Eclipse you right click the package, select Run as then set the run configurations. The problem occurs when I attempt to select the go package as none shows up and if I leave it blank it throws a 'Go package not found' exception.
Thank you for any help you can provide.
EDIT: Upon the answers advice I have decided to go with the basic command line, however a friend did also recommend LiteIDE. I will "assume" tmichels answer is correct in regards to getting Go to work within eclipse.
If you don't use the GOPATH environment variable and you don't put your project folder under $GOPATH/src the compiler won't find it. As I see it goclipse lets you skip the GOPATH entirely but in this case you have to put your code under the src directory that you can see in the Project Explorer. See the related section of the goclipe documentation.
Although I think you make your life harder by using a full-fetched IDE for go development. Just use the command line tools. And it has the added benefit that you will actually understand what's going on (IDEs hide this from you).
So for building you can use go build or go install. The latter will copy the binary to your $GOPATH/bin directory. For running test just call go test or go test path/to/package. There is a hidden gem in the go tool: when you are working with multiple packages in the same directory you can use go test ./... to test all of them at once. This also works with other go commands.
I am writing online help for my Eclipse plug-in. I want to create live help with command links to provide quick access to the Help->Install New Software in Eclipse. The 'Embedding commands in help' page in the Platform Plug-in Developer Guide suggests there are "a large number of useful commands already defined in the workbench".
Unfortunately, after a some search I seem to be unable to find documentation on the available commands I can use as parameters to executeCommand() in my link.
Can you please tell me what parameter to use to create a link to Help->Install New Software in Eclipse and also point me to the documentation of other available commands if such exists at all.
Kind regards
The command id for Install New Software is org.eclipse.equinox.p2.ui.sdk.install
I found this using the Eclipse Search / Plug-in Search and searching for the org.eclipse.ui.commands extension point (which is used to define commands). I then looked at the search results until I found the correct command.