FLORA2 v1.2 with Eclipse vizualizer plugin - prolog

Just start to play with http://flora.sf.net reasoning system.
Trying to configure
Window/Preferences/Flora-2 Preferences/Reasoner
pointing to installed D:\FLORA or D:\FLORA\flora2
have message box
Did you install Flora-2 with cygwin?
Eclipse was updated, and plugin was installed from http://flora.sourceforge.net/visualizer
and error
FLORA-2 Visualizer did not find a configured version of FLORA-2 at a default location.
Please specify the location of a configured FLORA-2 system using the following menu:
Window -> Preferences -> Flora Reasoner
PS: In real I don't need full plugin, it can be just set of flora scripts,
which can generate debugging information in visualizable form:
.dot files for GraphViz is the best variant, or some set of .svg.
PSS: maybe InterProlog Studio will be good IDE solution with some tunings.

Related

CVIRTE.dll Missing error?

I want to install a software on my PC but when i clicked to install it I got
CVIRTE.dll Missing error
I search for this error but unable to download this dll file. Please provide any link to download this file
Any help would be highly appreciated
I guess this is the CVI Runtime Engine. It is needed to run Applications that were made with LabWindows/CVI or MeasurementStudio by National Instruments ( http://www.ni.com/lwcvi/ ). Usually, programmers of such applications also generate a Windows Installer Package for the application, which also does the installation of the CVI Runtime Engine. So , once you installed a CVI application like that, you usually can run other CVI application just by copying them (as long as they do not need additional packages from Ni). So, either run an installer of another application made with CVI, or just install the RTE.
Be aware that there are new versions of the RTE with every new version of CVI, and the library is getting larger and larger. So maybe you can go for an older version of the RTE, it could be more compact.
The 2015 version of the RTE can be downloaded here :
http://www.ni.com/download/labwindowscvi-run-time-engine-2015/5374/en/
Good luck !

QtCreator: Configure default build types

(Disclaimer: I'm not sure if SO is the right place to ask this. If not I'd appreciate pointing me to a better place.)
Whenever I open a new cmake project in QtCreator (basically all newer versions, let's say 4.3+) my default kit is select with the following build types:
Default
Debug
Release
Release with Debug Information
Minimum Size Release
All these options are enabled by default and I have to manually disable them (I only want Debug and Release most of the time).
Is there a way to configure this?
(I've looked through the kit configuration pages and tried to consult google/qtcreator help topics.)

Android Development Tool (ADT) Plugin is not showing in Eclipse

The Android Development Tool (ADT) Plugin is not showing in Eclipse 4.4.0 on Ubuntu Linux, despite being installed.
I have tried:
sudo /opt/eclipse/eclipse -clean
and several complete re-installs of Eclipse.
On my several retries, the ADT sometimes did show up in the preferences, and asked for the SDK Location. Which I don't know, since I used Eclipse's Install new software interface. I've never been pointed to any install location. I can't find any file named android-sdk*.
1) How can I make the ADT show up?
2) When the ADT shows up in preferences, which directory is the SDK Location?
I've searched far and wide on Stackoverflow and elsewhere, but question 1) was always answered with 'un-install and re-install the ADT', which doesn't work, and question 2) was always considered a given; no actual directory was indicated in anything I found.
So much kudos to who can tell me!
One common problem is being in an Eclipse perspective other than Java. For example, if you are in perspective Java EE, Android ADT menu won't show.
Not sure about the SDK location when installed from ADT but it is probably an android directory in your home directory (/root/android or /home/user/android)

Aptana 3 and shell

How config Aptana Studio 3 for running CakePHP bake shell script?
Several times I came up to this thread while searching Stack Overflow and Google for an answer too. I noticed that Aptana 3 doesn't have a "Tools --> External Tools" item anymore, although Aptana 2 had this great feature by default.
I couldn't find any solutions, so I started to find out myself. For all people having the same problem, here's the solution:
The feature is there, but not available on default.
Open the "Web" perspective
Right click the "Web" perspective (right upper part of the screen)
Click "Customize..."
Go to the tab "Command Groups Availability"
Enable "External Tools" by checking its checkbox
Go to the tab "Menu Visibility"
Expand "Run" and enable "External Tools" by checking its checkbox
Press "OK" and you're ready to go.
To complete the whole case, here is the configuration I use for the CakePHP Bake External Tools. It's a little bit different than suggestions elsewehere, but it makes it independent for each project.
CakePHP 1.x
Open Run -> External Tools -> External Tools Configurations
Create a program
Name: CakePHP Bake
Location:
Mac OSX: ${project_loc}/cake/console/cake
Windows: ${project_loc}/cake/console/cake.bat
Working Directory: ${project_loc}/app
Arguments: bake
Using ${project_loc} in the location (step 4) will locate the Cake console of your current project. While most projects in my case uses the latest version (currently 1.3 branche), older projects may still use the 1.2 or even the 1.1 branche. The bake console may differ from branche to branche.
UPDATE Aug 22nd 2014
As I've posted this solution in 2011 and people are still using this topic, here's how it works for the new CakePHP 2.x range.
Open Run -> External Tools -> External Tools Configurations
Create a program
Name: CakePHP 2.x Bake
Location:
Mac OSX: ${project_loc}/lib/Cake/Console/cake
Windows: ${project_loc}/lib/Cake/Console/cake.bat
Working Directory: ${project_loc}/app
Arguments: bake
LINK
Aptana is built on eclipse. Search for eclipse solution.

BlackBerry Java SDK < 6.0.0 on Mac

I have a brand new installation of Eclipse with BlackBerry Plugin for mac.
The Java SDK 6.0.0 is already installed, the only thing now is that I want to compile for minor version, like 4.5.0
I have tried :
Help -> Install New Sotftware... -> http://www.blackberry.com/go/eclipseUpdate/3.5/java
But it gives me an error.
"No repository found at http://www.blackberry.com/go/eclipseUpdate/3.5/java"
anyone had the same issue ?
It seems that it worked for some people.
I don't know if what you're trying is possible, I also couldn't get it to work. According to the RIM site, they don't support building apps on OS X for non-6.0 right now, and based on the workaround below, I think it might not be as simple as installing the packages from the Eclipse installer.
However, I found a great post on building BlackBerry apps on OS X, and since then I've been working on my MBP, and can't say I would turn back. Here's a summary of how I got it set up:
Install Eclipse (I am using 3.5, but it may not matter) and VirtualBox.
Create a new VM and install Windows (tested with XP SP3). This
would probably work using VMWare Fusion or Parallels too.
On the VM, install Java 6 and the version of the BlackBerry JDE
that matches your target OS.
In OS X, download
bb-ant-tools.jar and move it
to ~/.ant/lib.
Get an OS X version of preverify, which is included in the Sun
J2ME SDK 3.0 for OS
X.
Install it and either copy
/Applications/Java_ME_SDK_3.0.app/Contents/Resources/bin/preverify to
somewhere in your PATH or just add that directory to your PATH.
If you don't have one already, create the file ~/.MacOSX/environment.plist.
Edit this file with /Developer/Applications/Utilities/Property\
List\ Editor.app/.
Create a new variable called PATH and set it to the value of your
shell PATH, making sure that the directory containing preverify is
included. This allows Ant, via Eclipse, to see the preverify command
when Eclipse is launched from Eclipse.app and not from the command
line. See this
for more details.
In OS X, create a directory for the BlackBerry components
(something like "bb-components").
From the BlackBerry JDE installation in the VM, copy both "lib" and
"bin" directories to this directory.
In Eclipse, create a new Java project.
Choose "Use an execution environment JRE:" and select Java 1.3.
Right click the project in the "Package Explorer" and select "Build
Path" and then "Configure Build Path."
Add bb-components/lib/net_rim_api.jar as an "External JAR."
Remove the "JRE System Library." This is so that only BlackBerry
supported classes will be offered via autocompletion etc.
Copy the attached minimal
build.xml into the project.
Edit the build.xml to suit your environment (specifically the
jde.home property) and anything else you want to customise.
Right click and select "Run as" and then "Ant Build" (the first
one). You can also build using Ant on the command line, of course.
These were adapted from https://spin.atomicobject.com/2010/11/04/our-blackberry-development-environment
Good luck!
I develop all of my BB apps on Mac hardware but I'm running Windows through Parallels. Not better than having native Mac tools, but it works!

Resources