on 08-08-2007 8:35 PM
How do you view the code differences for .java files versioned in a web dynpro project? They are not in the src fiolder for either active or inactive DC. I do see they are under the gen_wdp folder but the version tools are disabled there.
This I am assuming as a very common practice but I see nothing in the SAP help. I am using release SP18 of dev studio.
All the xml files what you located are meta data files from which actual java files are generated. Look for the versions of the xml files if you want to compare, but i dont think that is easy to distingush the differences.
Regards
Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, I see now that the view code is included in the .wdcontroller file.
Thanks ....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, unless there's a parser tool or some other way to do this - it's not going to work.
This might explain why I did not find any SAP help docs on comparing java code in web dynpro. Thank for the reply ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike,
The files like TimeEntryView.wdcontroller also have java code in them. This is used while generation. You can use same tool to check differences here for the code also.
You can do one more thing. [ This is a bit tedious:) ]
Take the generated java file in gen_wdp folder and use tools like "WinMerge" to check the difference. [Not a gr8 idea but works ]
Regards,
Ashwani Kr Sharma
WebDynpro files are stored as meta data files from which NWDS generates java source files. Even in repository only meta data files are stored not .java files.
If you want to compare the versions of metadata files..do this..
- Go to Development Configuration Perspective
- Locate the file and right click - DTR -> Show in -> Version Graph.
If it is a Web or Java project you can directly view the versions.
Regards
Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, this is what I see in the InactiveDC window that looks like the files for the view I want. Under src/project/etc ... :
TimeEntryView.wdcontroller
TimeEntryView.wdcontroller.xlf
TimeEntryView.wdview
TimeEntryView.wdview.xlf
The contents are all XML - and look like the view properties, model, GUI settings, etc.
I looked under the DCMetaData folder but I see nothing that looks like a file. Where would the metadata file for the java source code be located?
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.