cancel
Showing results for 
Search instead for 
Did you mean: 

DC conflicts

nikhil_bose
Active Contributor
0 Kudos

hi,

I have two DCs and one is calling another. Both are working fine still I changed my workspace. Now, it shows error on build. I have included the .jar files that where used in my DC.

I am creating Local DC without DTR and copied the entire folder under /documents and settings/user/.dtc/com/company/myproject folder

Can anyone tell me what is wrong ?

nikhiL

Accepted Solutions (0)

Answers (4)

Answers (4)

nikhil_bose
Active Contributor
0 Kudos

1) Place project under Local Development\DCs folder

2) Go to Development Configuration Perspective

3) Right click on Local Development and choose Synchronize DC Projects

- Component will be listed under MyComponents

4) choose create project from the context menu

5) Build and Deploy

snehal_kendre
Active Contributor
0 Kudos

HI Nikhil,

As your DCs are localdevelopment DCs .

So you need to copy whole localdevelopment folder.

Or least .confdef file... you can try to edit it manually

nikhil_bose
Active Contributor
0 Kudos

hi fistae, snehal

thanks for your response.

Let me be more clear on my requirement.

I created one DC and that directory strucute, I can see under current OS user/.dtc/Local Development directory. I copied whole project directory in to another place and now I delete delevelopment component from NWDS.

I tried placing the project under the same hierarchy structure. But after refreshing MyComponents, it is not listed there.

How can I restore the DC from the backup ?

nikhiL

former_member201361
Active Contributor
0 Kudos

hi Nikhil,

As u have copied the whole dirctory from the workspace to another Directory , u have change the workspace to the copied Directory and here go to the development Infrastructure click Local component --> my component --> Right click Buil all Contained Dcs .

and finally u have to create the Project . in the My Component select the required Dc and -->syncs Dcs or Create Project.

thanks and regards

Fistae

nikhil_bose
Active Contributor
0 Kudos

what to do with .confdef file ?

snehal_kendre
Active Contributor
0 Kudos

HI Nikhil,

Basically what you see in your NWDS is maintained in .confdef,.syncdb,buildvariant.config,.confdef-idx files..

e.g.

look at .syncdb file

	<entry>
		<key>MyComponents:ja_pvisynchlogdc:primavera.com</key>
		<data>
			<dirty/>
			<state>UPTODATE</state>
			<mode>LOCAL_ONLY</mode>
			<absolutepath>C:\CE workspace.jdi\LocalDevelopment\DCs\primavera.com\ja_pvisynchlogdc\_comp\</absolutepath>
		</data>
	</entry>

ja_pvisynclogdc is my local project in MyComponents.

in this way u have to edit these files. these are the main problems occur for localdevelopments.

P.S. not advised to edit these files. instead create a new local component and copy src folder.

Former Member
0 Kudos

Hi Nihil,

Have u given the correct .dtc path in development configuraration under JDI in preferences..

GS

nikhil_bose
Active Contributor
0 Kudos

I don't have a DTR server. I am doing Local development.

nikhiL

former_member201361
Active Contributor
0 Kudos

hi,

As u have changed the workspace the local developmnent component has to created agin in the new Workspace.

for this just switch to the development infrastructure and go to the LocalDevelopment --> my Component > ur project.>right click --> syncs Used Dcs or just give Create Project.

now u can see the project in the web dynpro explorer after doing syncs and create project in the development infrastructure.

thanks and regards

fistae

nikhil_bose
Active Contributor
0 Kudos

what if I changed current NWDS too ?

There is no DC in MyComponents and when I tried to create one with same name, it says already existing.

any idea to crack this?

former_member201361
Active Contributor
0 Kudos

hi,

First u have refresh the myComponent and then buid it.

Right Click on the MyComponent in the development Infrastructure -->Build Contailed local DCS.

thanks and regards

Fistae

Former Member
0 Kudos

Hi,

Try going to development infrastructure and select your dcs.

right click and select sync DCs. Then build. This may be helpfull. Because when you change workspace you have to synchronise with existing DCs.

Regards,

Srinivasan Subbiah