mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
[124456] - drag & drop looses argument, patch applied
This commit is contained in:
parent
dd74a6f0eb
commit
bd7f096c7c
1 changed files with 9 additions and 3 deletions
|
@ -109,9 +109,15 @@ public class TextTransferDragSourceListener extends AbstractSelectionDragAdapter
|
|||
buildCommand =makeTarget.getBuildAttribute(IMakeCommonBuildInfo.BUILD_COMMAND,
|
||||
MakeTargetDndUtil.DEFAULT_BUILD_COMMAND);
|
||||
}
|
||||
targetsText = targetsText
|
||||
+ buildCommand + ' '
|
||||
+ makeTarget.getBuildAttribute(IMakeTarget.BUILD_TARGET, "") //$NON-NLS-1$
|
||||
String buildCommandArguments = makeTarget.getBuildAttribute(IMakeCommonBuildInfo.BUILD_ARGUMENTS, "").trim(); //$NON-NLS-1$
|
||||
if (buildCommandArguments.length()>0) {
|
||||
buildCommandArguments = ' ' + buildCommandArguments;
|
||||
}
|
||||
String buildTarget = makeTarget.getBuildAttribute(IMakeTarget.BUILD_TARGET, "").trim(); //$NON-NLS-1$
|
||||
if (buildTarget.length()>0) {
|
||||
buildTarget = ' ' + buildTarget;
|
||||
}
|
||||
targetsText = targetsText + buildCommand + buildCommandArguments + buildTarget
|
||||
+ System.getProperty("line.separator"); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue