on 07-27-2005 7:50 AM
Hello,
I am trying to migrate local WebDynpro projects into the DTR.
The problem is that on each project I encounter classpath conflicts when I try to download the project to another client. Can someone please show me a step-by-step explanation of how to do this procedure?
Roy
Hi Roy
Try the follwoing steps
-> Create a new empty webdynpro DC in the inactive workspace
-> Create a project from the DC
-> Copy the following folders and files from your local webdynpro project into the new project folder
.dcdef
cfg
def
src
test
-> Go to the Java navigator view for Java , and do a refresh
-> This will prompt to you for an Activity , create an Activity
-> The new files will then associated under this Activity
-> Check in the Activity
Regards
Pran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roy,
If you still lokk for answers try this link which will definitely help you.
http://help.sap.com/saphelp_nw04/helpdata/en/9e/1c200ac164cf4a942f2dacdf3359e9/frameset.htm
Please close this thread if you are satisfied.
Regards,
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Guru,
I should have mentioned at the begining: I am already familiar with this link but the problem is that this tutorial explains how to migrate local DynPro projects into the DTR using the Component Model, I would like to do the migrate and stay at the "local world"...
But 10X anyway...
Roy
1. Create a DTR client
2. Create a workspace folder structure
3. Create a workspace in this structure
4. Create an activity for the workspace (rightclick it)
5. Show the workspace in Windows Explorer (rightclick it, select Show In -> Explorer (external)
6. If the Show In options are disabled, you need to Sync the workspace first
7. Copy all files and folders to the workspace using Windows Explorer
8. Refresh the Repository Browser
9. Rightclick all folders and select Add -> Subtree and select the activity you created earlier on
10. Check in the activity
For more information on creating workspaces see here: http://help.sap.com/saphelp_nw04/helpdata/en/aa/b6b314e7c74fb3a3fff3824d66d24f/content.htm
Hi Roy
From what you are trying to achieve I assume that you want to use the DTR to store your local project but need not adhere to the component model . In which case try the following steps assuming you have created the WORKSPACE and the WORKSPACE FOLDER.
-> Go the Java Navigator view
-> Right click your project
-> There will be an option there which says DTR - Share Project
-> This will open the a WORKSPACE navigator , create folder under the WORKSPACE folder (using New folder option)
-> Check option Add Resources to Repository
-> This will prompt for an Activity - create the Activity
-> Select the folders and files you want to add
-> Check in the Activity
Regards
Pran
Hey Pran,
I think you are keep missing the point.
The problem is not migrating the projects but a specific problem with the .classpath file. When I try to get the project from the DTR on another computer with the same NWDS version it doesn't recognize entries at the classpath even though these entries are relative to the NWDS installation. Try it yourself with a certain project...
Roy
No, the .classpath file is automatically generated by eclipse. You shouldn't need to modify it if you're performing team developments, so the autogenerated one should work fine.
I'm not sure about the .project file. When using CVS you need to check it in, but for the DTR I'm not sure, since it's all so tightly integrated. It could well we that some metadata will be stored in the DTR, that will allow NWDS to recreate the project itself. So, actually the question is which files do get imported when you use the DTR -> Share Project option (very good suggestion Pran). I think this is the way to go. What you're actually doing is a Scenario 1 setup, so it might be a good idea to go over the Scenario 1 docs once more.
You are correct...
I just checked the .classpath file for a local Web Dynpro project I created and that only contains relative paths. Relative paths should always work, so if your .classpath file is giving problems on other workstations this means that you probably have some absolute paths in there. Try to make these relative and your problems should be fixed.
Hi Roy,
Me to have ssame doubt!
In scenario-1 it is mentioned that
Choose Window ® Preferences ® Team ® Ignored Resources
A list of file types appears. By default, all types are selected, which means that they are not automatically added to activities and stored in the DTR.
Uncheck the following file types:
a. .project
b. .classpath
When creating projects, the unchecked file types are added to activities to be stored in the DTR.
what i did is i checked in only .java file in to DTR through an activity.
what actually the bold text means???
Regards,
RK
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.