I've been re-arranging a number of projects, and with that I'm changing where the build r-code is to be stored.
However, PDS is still trying to use the old build target location instead of the new one, and as a result the build is failing.
How would I go about fixing this?
Looking in the PDS log I find this:
!ENTRY com.openedge.pdt.project 4 20001 2016-08-31 10:27:49.278
!MESSAGE An internal error occurred
!STACK 0
java.lang.IllegalArgumentException: The IFile must be a member of an openedge project
at com.openedge.pdt.project.builder.ResourceBuildTarget.<init>(ResourceBuildTarget.java:67)
at com.openedge.pdt.project.util.OEProjectUtil.resource2rcode(OEProjectUtil.java:295)
at com.openedge.pdt.project.codeinfo.reader.CodeReaderUtil.getResourceCodeContainer(CodeReaderUtil.java:284)
at com.openedge.pdt.project.codeinfo.CodeModelAddRemoveManager.addFileToLibrary(CodeModelAddRemoveManager.java:72)
at com.openedge.pdt.project.codeinfo.CodeModelBuildManager.excuteResourceOperation(CodeModelBuildManager.java:322)
at com.openedge.pdt.project.codeinfo.CodeModelBuildManager.excuteOperation(CodeModelBuildManager.java:249)
at com.openedge.pdt.project.codeinfo.CodeModelBuildManager.access$9(CodeModelBuildManager.java:246)
at com.openedge.pdt.project.codeinfo.CodeModelBuildManager$1$1.run(CodeModelBuildManager.java:113)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at com.openedge.pdt.project.codeinfo.CodeModelBuildManager$1.run(CodeModelBuildManager.java:109)
!ENTRY org.eclipse.ui 4 0 2016-08-31 10:28:00.084
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:4378)
at org.eclipse.swt.SWT.error(SWT.java:4312)
at org.eclipse.swt.SWT.error(SWT.java:4283)
at org.eclipse.swt.dnd.DND.error(DND.java:281)
at org.eclipse.swt.dnd.DND.error(DND.java:227)
at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:480)
at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:411)
at org.eclipse.ui.views.markers.internal.ActionCopyMarker.setClipboard(ActionCopyMarker.java:108)
at org.eclipse.ui.views.markers.internal.ActionCopyMarker.run(ActionCopyMarker.java:82)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Project settings > Progress OpenEdge > Build has been set multiple times to no avail.
I found a build destination setting in the source tab and changed that, and that seems to've fixed the problem.
I don't recall setting this field - what would set it?
When you set up a project and specify the rcode location as separate from the source location it gets created for you
Ok, good to know.