on 03-07-2008 4:17 PM
Hi,
I don 't know whether this is the right forum to post this problem in, but I have no idea where else I can do it.
We are currently developing our own customized MAM, based on MI 2.5, with an old Netweaver Developer Studio version (based on Eclipse 2.X).
Yesterday however I did find a Netweaver Developer Studio (NWDS) version based on Eclipse 3.3. It's version number is 7.1 (I think this is the most recent version). So I did install this one and I 've downloaded all plugins that SAP is offering for it after installation.
I 've also downloaded MDK for NWDS 7.0, cause I couldn 't find one for version 7.1, and I 've putted the included plugins and features into the NWDS IDE (Eclipse) folder.
Then I've made a CVS repository to our CVS server in NWDS, and I 've successfully checked out our MAM project. So far no problems.
I 've changed some settings in NWDS in order to let it use JDK 1.4 instead of 1.6 for MAM compatibility reasons. I 've also added some jar's to the class path that are needed to compile the project. Afterward I didn't get any compile error anymore, so far so good.
Then I decided to try to export the project to a war file via the MDK plugin. And here it went wrong. When exporting, first of all, the compiled java files are not included into the war file as far as I can see, and so when extracting the WAR file in the SAP Mobile Infrastructure folder, I don 't get the updated class files in it.
I 've also noticed that there is a folder created in NWDS, called $JSP, with nothing in it. I 'm not sure, but I thought in the previous version the compiled JSP files were stored here. Now it stays empty.
Then I 've tried to run the MAM via NWDS, so I've created a launch point exactly the same as in the previous version. But when launching this launch point, I get the following error:
An internal error occurred during: "Launching MAM25_CONFIG".
org.eclipse.jdt.internal.launching.LaunchingMessages.getString(Ljava/lang/String;)Ljava/lang/String;
Can anyone help me further with this? I would like to use this new MWDS version, cause Eclipse 3.X has many improvements over Eclipse 2.X.
If it can help you, I can send an overview of used software versions and Eclipse settings I 've made.
Thanks a lot!
ps: I can probably not answer before Monday.
Best regards,
Diederik
No one who can help me with the JSP¨Java classes generation and compilation?
Is MDK still supported, maintained and developed by SAP? If so, how can I contact them?
Best regards,
Diederik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Diederik,
I am not sure regarding the launchpoint error. But I have observed that the .war does not get updated with the new class files. To resolve this, what you can do is while exporting, provide a different name from current project name.
For eg: If project name is MAM2.5 export the new .war as MAM2.5_V1. Then open the .war file with WinRAR or Winzip and remove the older jar i.e MAM2.5.jar from WEN-INF/lib folder.
There should be a jar file called MAM2.5_V1.jar in same location which contains updated classes.
Save the changes to your war file, deploy this .war and check your application.
Hope this helps.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chintan,
Thanks for your feedback!
I 'was playing a bit around yesterday, and I finally could compile the classes to class-files, archived in a JAR file (included in the exported WAR file).
However I was not able to compile and export the JSP files. When I choose to compile the JSP files and keep the compiled JSP files after exporting , nothing happens (only the java classes are compiled, but no JSP file).
In the previous version I noticed that when selecting this options during export, a $JSP folder is created in Netweaver Developer Studio with in it the generated JAVA classes from the JSP files. When I do it with the new version, a $JSP folder is created too, but it seems that there are no JAVA classes generated from the JSP files! Maybe I did forget to put some option in order to generate the JAVA classes from the JSP files?...
Or maybe I am using an old MDK plugin version that is not completely compatible with the new NWDS? Where can I find the latest MDK version?
Thanks for your help!
Best regards,
Diederik
Hi Diederik,
I installed CE to check this error and experience the same error. Using the latest MDK from SDN. Funny is: when I open the project in old Eclipse installation, run the JSP compile there so the $JSP folder is filled with data, the complete compile in CE is fine and all works as expected. If I change a JSP in CE it is not taken to the new $JSP compilation in CE, if I delete the $JSP folder and run a new compile in CE - same error as you describe above.
As workaround I compile the JSP with ANT manually - but this looks like a bug in MDK, missing setting, wrong version??
Who has an idea here? Should work without manual steps!
Regards,
Oliver
Hi Oliver,
I 've used the same plugin versions in both the old NWDS (version 2.X I guess) and in the new NWDS (7.1). It works in the old version but not in the new version of NWDS, so I don 't think it 's really a problem with MDK (then I suppose it would also not work in the old NWDS).
I 've also tried the newest MDK version (that I know; it is actually for NWDS 7.0 following the release notes) with the new NWDS and the old NWDS, but with the same symptoms: working in NWDS 2.X, but no JSP JAVA classes generation and compilation in NWDS 7.1.
So maybe it 's just some wrong NWDS setting? Or maybe the plugin-interface of Eclipse 2.X differs from Eclipse 3.X in such a way that the MDK plugin doesn 't work completely?
Anyone an idea?
Best regards,
Diederik
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.