×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I've seen this come up on the list a few times recently, and it happened
to me today too. I just so happened to have the source for the RSE
Extensions downloaded, so I thought I'd see if I could fix the problem. My
Eclipse plugin development skills are not quite there yet - but I hope
this info will help someone to fix this problem.
How to recreate bug:
On the System i, make sure you have an identical source PF member (MBRA)
in two different source files SRCFA and SRCFB. In my case, it was
QRPGLESRC in two different libraries.
Open WDSC.
Expand a source member filter including SRFA/MBRA or SRCB/MBRA.
Log in if necessary to connect to the System i.
Right-click MBRA.
RSE Extensions -> Compare.
The "No differences ..." dialogue will pop up.
Click OK
The source PF that contained the member you right-clicked will now be
locked *SHRRD by the RSE comm. job QRWTSRVR.
My attempts to debug this problem lead me to believe that the happens in
the CompareAction class. The part where the compare is set up contains
this code:
if (dialog.isOpenForEdit()) {
ExtensionsPlugin.getDefault
().getWorkbench().getActiveWorkbenchWindow().getActivePage().addPartListener(
new IPartListener() {
public void partClosed(IWorkbenchPart
part) {
if (part instanceof EditorPart) {
EditorPart editorPart =
(EditorPart)part;
if
(editorPart.getEditorInput() == fInput) {
fInput.removeIgnoreFile();
ExtensionsPlugin.
getDefault
().getWorkbench().getActiveWorkbenchWindow().getActivePage().removePartListener(
this);
}
}
}
public void
partActivated(IWorkbenchPart part) {}
public void
partBroughtToTop(IWorkbenchPart part) {}
public void
partDeactivated(IWorkbenchPart part) {}
public void partOpened(IWorkbenchPart
part) {}
});
}
It seems that when the actual comparison editor comes up (if there are
differences), the IPartListener.partClosed gets fired when the compare
editor is closed. However, if the "No differences ..." dialogue appears
instead, the IPartListener.partClosed method gets run when the workbench
is closed or when the connection to the System i is closed.
HTH,
Adam
Attention:
The information contained in this message and or attachments is
intended only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this message in error, please contact the sender
and
delete the material from any system and destroy any copies. Thank you for your
time and consideration.
Attention:
Le contenu de ce message et(ou) les fichiers ci-joints s?adressent
exclusivement à la personne ou -entité à laquelle ils sont destinés. Ils
peuvent
contenir de l?information confidentielle, protégée et(ou) classifiée. Il est
strictement interdit à toute personne ou entité autre que le(la) destinataire
prévu(e) de ce message d?examiner, de réviser, de retransmettre ou de diffuser
cette information, de prendre une quelconque action en fonction ou sur la base
de celle-ci, ou d?en faire tout autre usage. Si vous avez reçu ce message par
erreur, veuillez communiquer avec l?expéditeur(trice), supprimer ce message et
les fichiers ci-inclus de tout système, et en détruire toutes copies, qu?elles
soient électroniques ou imprimées. Nous vous remercions de votre entière
collaboration.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.