on 11-28-2008 11:30 AM
Hello all ,
I have to copy an Standard ESS/MSS component.e.g.ess/us/pdata then rename it with ess/sa/padata.
So that we can make the changes on ess/sa/padata. and our original copy remain unaffected.
To copy a standard one i follow below steps.
1.Create a new DC with the same name as the old DC.
2. Go to navigator and expand the structure of old DC.Copy the src folder from there.
3. Now Expand the structure of new DC.Paste the src folder from old DC to new one.
4.Close the DC and then re load +build.
But when copied dc contains lots of error and when i looked into DC there is lots of thing missing there .
e.g. proper mapping is missing component .
I want to know my approach was right or not.
if right is there anything else step that i need to do.
Or what will be the other approach to do it right way.
Thanks.
Punit
Hi Punit,
Assuming that you have set up NWDI, ESS track and imported configurations into NWDS.
Open DI perspective. Open 'Inactive' tab. Select the the project, right click and select "Create Project". If you want to copy the project or rename the project you can follow this [thread | ]to copy project.
For DC:
In step 1: Go to <Inst.Drive>:Documents and Settings<user>.dtcLocalDevelopmentDCssap.com<DC>\_comp
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I am talking about standard ESS/MSS DCs how may i make a copy of this standard component .
e.g.ess/us/pdata into ess/sa/pdata
To copy a standard one i follow below steps.
1.Create a new DC with the same name as the old DC.
2. Go to navigator and expand the structure of old DC.Copy the src folder from there.
3. Now Expand the structure of new DC.Paste the src folder from old DC to new one.
4.Close the DC and then re load +build.
But when copied dc contains lots of error and when i looked into DC there is lots of thing missing there .
e.g. proper mapping is missing component .
I want to know my approach was right or not.
if right is there anything else step that i need to do.
Or what will be the other approach to do it right way.
Please give me its solution
Thanks.
Punit
Hi Punit,
Your approach is correct. But at times, you may get class path errors. Try to re-build and repair project. Still if you have errors, try to remove and add the jar files.
Select your project-> right click and and select Properties -> Java Build Path --> Switch to the Libraries tab -> remove the the jar files which are showing warnings and add the new jar files.
Regards,
Siva
Hi,
Check the mapping, check the DC uses any jar / Used Dc's. If everything is fine. then...
in your NWDS, go to navigation view, expand your project structure... delete gen_wdp folder.
come to web dynpro explorer, do DC BUILD, then rebuild the entire project. this will solve the errors.
( this is because.... while you copy and paste the src, some code in the internal java file code may miss which exist in gen_wdp folder, if you delete it and rebuild it then new code will be generated).
PradeeP
Hi,
i tried to do it
Select your project-> right click and and select Properties -> Java Build Path --> Switch to the Libraries tab -> there is lots of jar files but there is very less jar files in amount in comparison to original component.
and lots of mapping get removed.
How may i made exact copy of original DC.
Thanks.
Punit
Hi Punit,
My guess is that the original DC has some additional used DCs.
Keep in mind though that you might have problems after deploying/running your application because your DCs use the same namespaces.
J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.