‎2013 Jul 28 12:25 PM
Let me start by saying that the setup process for ADT should be easier, SAP is trying to push this to developers but if it is hard to setup....forget it.
I'm trying to use ADT in a Mac with SAP Gui for Java, and when I try to create a new project (in Eclipse) I get the following error:
"Configuration not found in settings file '/Users/XXX/Library/Preferences/SAP/settings', with include 'null', and message server 'null'"
I'm a consultant so I don't have files for configuration setup by a system administrator (I work for multiple organizations), I just add servers directy in SAP Logon using expert mode and connection string. How can I get ADT to work?
Thank you
‎2013 Jul 28 12:46 PM
I got the solution, which is very sloppy indeed. I had to edit the settings file in /Users/XXX/Library/Preferences/SAP/ and add two lines:
@INCLUDE = file:///Users/joaosousa/Library/Preferences/SAP/connections
@MESSAGESERVER = file:///Users/joaosousa/Library/Preferences/SAP/messageservers.txt
I also had to create a dummy messageservers.txt which has garbage inside, so that Eclipse doesn't throw an error.
Why can't Eclipse just use the connections of SAP Logon instead of wasting everyone's time, forcing us to create dummy files and manually edit configuration files? Sloppy (let me just say it.... LAZY) development on SAP's behalf.
‎2013 Jul 28 12:46 PM
I got the solution, which is very sloppy indeed. I had to edit the settings file in /Users/XXX/Library/Preferences/SAP/ and add two lines:
@INCLUDE = file:///Users/joaosousa/Library/Preferences/SAP/connections
@MESSAGESERVER = file:///Users/joaosousa/Library/Preferences/SAP/messageservers.txt
I also had to create a dummy messageservers.txt which has garbage inside, so that Eclipse doesn't throw an error.
Why can't Eclipse just use the connections of SAP Logon instead of wasting everyone's time, forcing us to create dummy files and manually edit configuration files? Sloppy (let me just say it.... LAZY) development on SAP's behalf.
‎2013 Aug 07 6:22 PM
‎2013 Aug 12 9:32 AM
Sloppiness indeed. It's way too cumbersome.
I sort of have a similar problem. Trying to create an ABAP project in Eclipse 4.3 (Kepler!!!) on Ubuntu linux (x64) with SAPgui for Java (PlatinUI) 7.30 installed. (I see warnings about Kepler on the homepage of https://tools.hana.ondemand.com/ , but on the ADT page it states 4.2 or HIGHER and installation of plugins went ok.)
Your tip about @ directives basically made the errors ("Configuration not found in settings file") go away. However, when trying to create an ABAP project, and looking for a System Connection, nothing is shown.
I have a dummy messageservers.txt with textual garbage in it.
In my .SAPGUI/connections file I have 2 lines like "ER6:conn=/H/er6host.domain.local/S/3200" .
@INCLUDE = file:///home/userx/.SAPGUI/connections
@MESSAGESERVER = file:///home/userx/.SAPGUI/dummy.messageservers.txt
How does your connections file look like? Or am I missing something else?
Cheers, Wout
‎2013 Oct 29 11:06 PM
I ran into the same problem, and experienced a partial solution as well. Following the steps you and Joao mentioned makes the error go away, but the list of servers is still blank and there is no way to add a new server.
Since it's integrated with the same config file, I think the plugin should be designed to allow us to add a new entry, similar to how we can add a new server in other screens, or even how the old RFC model import worked for Java Web Dynpro. There was no need for SAP Gui integration with that perspective.
The frustrating part is that all of the servers appear and launch correctly in the Java SAP Gui on my linux machine. Something in the SAP delivered eclipse plugin is reading the configuration file differently than the way the java SAP Gui is reading the same file.
I'll let you know if I find a complete solution for this problem.
‎2014 Apr 04 8:16 PM
I found out that whenever I use parenthesis in the system's description the entry will not be recognized in eclipse.
After removing the parenthesis the servers appeared.
However, I ran into the next problem:
Only the server's IP is retrieved without the necessary router string
BR, Rainer
‎2014 Apr 27 6:00 AM
‎2013 Jul 29 2:27 PM
Dear Joao,
this seems to be a software bug. Thank you for your error analysis so far.
Please open a support ticket so we can pursue this issue.
Kind regards,
Marco
‎2013 Nov 04 1:32 PM
Hi guys,
thanks for your hints.
Unfortunately I get an error message by Eclipse: "Unhandled event loop exception" when I try to create a new ABAP Project because of the messageservers.txt which is filled with random strings? Do you have anything special in the messageservers.txt?
Thank you
Krishan
‎2013 Nov 06 11:14 AM
Sorry but I'm abroad and my mac is at home. I'll get back to you when I have my mac with me (about friday).
‎2014 Mar 26 9:12 PM
What do you mean by textual garbage?
I followed your instructions and put a few characters in the messageservers.txt file and am unable to get it to work.
‎2014 May 19 8:59 PM
BTW, I have found that although all the other directives in the file are not case-sensitive, the @INCLUDE and @MESSAGESERVER items are. Making them full caps allowed me to bypass this particular error.