Integration Studio is the Agile Platform tool you should use when making low level integrations. This tool allows you to connect with entities from other databases (through Service Center defined Database Connections) and also to define Actions whose operation is determined in "low level" Java or .NET code.
In this post I will guide you through what configurations are needed to allow you to correctly compile and develop Java or .NET source code in Integration Studio.
In the Edit -> Options Menu you will find a tab for each framework (J2EE and .NET) where you can configure the following options for each:
In order to be able to compile extensions with a certain Application Server type, you'll need to correctly configure the Compiler Tool (and possibly the options). In order to be able to Edit the Source code of an extension with a certain Application Server type, you'll need to correctly configure the Integrated Development Environment for that Application Server type.
With these installed the default options in Integration Studio should work. You can always use Reset Settings to replace them.
In case the defaults don't work use the following:
Java SDK is installed normally; for ANT and Eclipse, simply download the ZIP file and extract them to a folder of your choice.
Regarding Eclipse, if you are using Windows Vista or 7 and have UAC enabled (the default) unzip eclipse to a folder outside "Program Files" - this will avoid privileges problems when writing to C:\Program Files\.
Suggestion: create a "C:\opt" folder and put both ANT and Eclipse in it (C:\opt\apache-ant-1.8.4 and C:\opt\eclipse).
To configure ANT and JAVA for Eclipse you need to create system environment variables for their installation paths.
The variables that need to be created are JAVA_HOME and ANT_HOME; for example, your JAVA_HOME could have a value of C:\Program Files\Java\jdk1.6.0_45 and your ANT_HOME could have a value of C:\opt\apache-ant-1.8.4.
After setting the environment variables, you need to perform the following configurations in Integration Studio (Edit -> Options):
Now you should be able to build .NET and Java extensions.
Happy Integrations !
If you have any questions related to this topic, feel free to ask them.
Is there an update for the newer versions of Integration Studio? I was able to figure it out again, but it looks like the inputs have been changing.
Nothing changed for .NET, and Java simply added the possibility to define the Java Home.
I'll update the original post to cover for that.
Hi, I'm trying to configure Integration Studio for Java/J2EE but a couple of problems ...
1) the link for creating system environment variables results in the error "Payment required"But I found another site that explained it to me.
2) skipping that part, the following error occurs after having installend ANT and Eclipse and trying to apply the configurtaion:
This is how my Eclipse installation directory looks like ...
By the way ... I had to choose which package of Eclipse to download ... I chose the first one, the Java EE version.
I deleted the (unpacked zip) installation of Eclipse, re-installed eclipse using the installer, and tried again to configure Integration Studio for J2EE / Oracle ... same result .., "Error copying Integration Plugin into Eclipse plugin directory".
Can you try by running Integration Studio as administrator to see if it helps?
Also, in this last installation does it also have a "plugins" folder there?
Hi Joao, thnx for replying.
Just solved the problem myself ... I had to specify the full path to eclipse, including eclipse.exe, and also the full path to the ant.bat file ... my first tries were the path names without the filenames themselves.
Working now, and successfully created my fist extension :-)
I have set everything up as said in the instruction but when I try to open the java code for editing, no project opens up in the eclipse, only eclipse shows up. I don't get any errors or anything and if I try to open the project directly from folder in eclipse, then after writing the code when I close the eclipse or publish the extension, all of the code that I have written gets deleted. Any Idea what could be causing this?
Note: I'm using Eclipse Neon and my Integration studio version is 9.1.6
So from what I tested and here are some problems that can cause the "plugin" problems and how to fix them.The differences depend on either: eclipse version, installation folder, what eclipse type installed or how it was installed (via installer or zip)
Cause 1: Eclipse is installed in the Program Files and integration Studio cannot install the plugin it needsSymptoms: There is no error closing the preferences window, but eclipse opens without a projectSolution: Run Integration studio in Administrator Mode and change the eclipse path in the preferences window. Check if inside the eclipse folder there is a "\plugins\outsystems.integration.plugin\" directory created after that
Cause 2: Eclipse is configured to not use its own folder as Data Folder.Symptoms: Either there is no "\plugins\" folder and Integration Studio gives an errorSolution: Create a "\plugins\" folder inside the eclipse directory, change the eclipse path in the preferences window. Check if inside the eclipse folder there is a "\plugins\outsystems.integration.plugin\" directory created after that
Regardless of what issue it was, if there is still no project inside eclipse after it opens, then go copy the "outsystems.integration.plugin" directory from "\plugins\" to "\dropins\"
Tell me if it any of these solutions works for you.