mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +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,
|
buildCommand =makeTarget.getBuildAttribute(IMakeCommonBuildInfo.BUILD_COMMAND,
|
||||||
MakeTargetDndUtil.DEFAULT_BUILD_COMMAND);
|
MakeTargetDndUtil.DEFAULT_BUILD_COMMAND);
|
||||||
}
|
}
|
||||||
targetsText = targetsText
|
String buildCommandArguments = makeTarget.getBuildAttribute(IMakeCommonBuildInfo.BUILD_ARGUMENTS, "").trim(); //$NON-NLS-1$
|
||||||
+ buildCommand + ' '
|
if (buildCommandArguments.length()>0) {
|
||||||
+ makeTarget.getBuildAttribute(IMakeTarget.BUILD_TARGET, "") //$NON-NLS-1$
|
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$
|
+ System.getProperty("line.separator"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue